Commit 2e3eeb4f by Jessica Hawkwell

starting works

1 parent ce1e8374
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.felinewith</groupId>
<artifactId>lang-toolkit</artifactId>
<packaging>jar</packaging>
<name>ConLang Toolkit</name>
<version>1.0-SNAPSHOT</version>
<inceptionYear>2017</inceptionYear>
<description>Tools for language construction.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<tag>master</tag>
<rev>~${env.USER}</rev>
<fulltag>${tag}/${rev}</fulltag>
<fullver>${project.name} ${project.version} (${fulltag})</fullver>
<gl.group>LadySerenaKitty</gl.group>
<gl.group-url>ladyserenakitty</gl.group-url>
<gl.name>lang-toolkit</gl.name>
<gl.url>https://felinewith.me/${gl.group-url}/${gl.name}</gl.url>
<gl.pages>https://${gl.group-url}.felinewith.me/${gl.name}/</gl.pages>
</properties>
<url>${gl.pages}</url>
<prerequisites>
<maven>3.3.0</maven>
</prerequisites>
<distributionManagement>
<repository>
<id>releases</id>
<name>SPM Releases</name>
<url>https://mvn.felinewith.me/repository/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>SPM Snapshots</name>
<url>https://mvn.felinewith.me/repository/snapshots/</url>
</snapshotRepository>
<site>
<id>Main</id>
<name>Candle POS</name>
<url>https://ladyserenakitty.felinewith.me/candle-pos/</url>
</site>
</distributionManagement>
<issueManagement>
<system>GitLab</system>
<url>${gl.url}/issues</url>
</issueManagement>
<ciManagement>
<system>GitLab CI</system>
<url>${gl.url}/pipelines</url>
</ciManagement>
<scm>
<connection>scm:git:${gl.url}.git</connection>
<developerConnection>scm:git:[email protected]:${gl.group-url}/${gl.name}.git</developerConnection>
<tag>${tag}</tag>
<url>${gl.url}/blob/${tag}/</url>
</scm>
<modules>
</modules>
<developers>
<developer>
<id>[email protected]</id>
<name>Jessica Hawkwell</name>
<organization>StarPhoenix Media</organization>
<organizationUrl>http://starphoenixmedia.com/</organizationUrl>
<timezone>-5</timezone>
</developer>
</developers>
<repositories>
<repository>
<id>releases</id>
<name>SPM Releases</name>
<url>https://mvn.felinewith.me/repository/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<name>SPM Snapshots</name>
<url>https://mvn.felinewith.me/repository/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>internal</id>
<name>SPM Internal</name>
<url>https://mvn.felinewith.me/repository/internal/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
</dependencies>
<build>
<defaultGoal>clean test package site</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>
</plugins>
<!-- MAVEN BUILD DEPENDENCIES ************************************************************* MAVEN BUILD DEPENDENCIES -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<classpathLayoutType>repository</classpathLayoutType>
<packageName></packageName>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
</plugin>
<!-- MAVEN SITE BUILDER ************************************************************************* MAVEN SITE BUILDER -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>
<executions>
<execution>
<id>attach-site</id>
<configuration>
<classifier>site</classifier>
</configuration>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
<configuration>
<range>30</range>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<configuration>
<configLocation>https://dev.vocasystem.net/checkstyle.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<noqualifier>all</noqualifier>
<show>public</show>
<sourcetab>4</sourcetab>
<splitindex>true</splitindex>
<detectLinks>true</detectLinks>
<nodeprecated>true</nodeprecated>
<stylesheet>maven</stylesheet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.5</version>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<configuration>
<targetJdk>1.8</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.20</version>
</plugin>
</plugins>
</reporting>
<dependencyManagement>
<dependencies>
<!-- PROJECT DEPENDENCIES ********************************************************************* PROJECT DEPENDENCIES -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.7</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>ci</id>
<activation>
<property>
<name>env.CI_COMMIT_REF_NAME</name>
</property>
</activation>
<properties>
<!-- Override only if necessary -->
<tag>${env.CI_COMMIT_REF_NAME}</tag>
</properties>
</profile>
<profile>
<id>rev-env</id>
<activation>
<property>
<name>env.GIT_REV</name>
</property>
</activation>
<properties>
<!-- Override only if necessary -->
<rev>${env.GIT_REV}</rev>
</properties>
</profile>
<profile>
<id>rev-cli</id>
<activation>
<property>
<name>git-rev</name>
</property>
</activation>
<properties>
<!-- Override only if necessary -->
<rev>${git-rev}</rev>
</properties>
</profile>
<profile>
<id>debug</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-g</compilerArgument>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>release</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-g:none</compilerArgument>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>
package me.felinewtih.lang_toolkit;
/**
*
* @author jlhawkwell
*/
public class Installer
{
Runtime rt;
public Installer(Runtime runtime)
{
rt = runtime;
}
public boolean downloadMaven()
{
return false;
}
public boolean installMaven()
{
return false;
}
}
package me.felinewtih.lang_toolkit;
import java.io.File;
/**
*
* @author jlhawkwell
*/
public class LangToolkit
{
public static void main(String[] args)
{
StringBuilder sb = new StringBuilder(System.getProperty("user.home"));
sb.append(File.separator);
sb.append(".m2");
File f = new File(sb.toString());
if ( !f.exists() )
{
Installer in = new Installer(Runtime.getRuntime());
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.6</version>
</skin>
<custom>
<fluidoSkin>
<sideBarEnabled>true</sideBarEnabled>
<topBarEnabled>true</topBarEnabled>
<navBarStyle>navbar-inverse</navBarStyle>
<copyrightClass>pull-right</copyrightClass>
<breadcrumbDivider>&raquo;</breadcrumbDivider>
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
</fluidoSkin>
</custom>
<version position="right" />
<publishDate position="right" format="yyyy-mm-dd'T'HH:mm:ssZ" />
<!-- poweredBy>
<logo name="VOCASystem.Net" href="https://dev.vocasystem.net/" alt="VOCASystem.Net"
img="http://static.vocasystem.net/vocasystem.net/images/vocasystem.net-black.png" />
</poweredBy -->
<body>
<breadcrumbs>
<item name="${project.name} (${project.fulltag})" href="${project.url}" />
</breadcrumbs>
<menu name="Project Information" ref="reports" inherit="bottom" />
<menu ref="modules" inherit="bottom" />
</body>
</project>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!