Added maven project.
This commit is contained in:
parent
b175ad4f4c
commit
927919b18b
2 changed files with 76 additions and 9 deletions
17
examples/java/.gitignore
vendored
17
examples/java/.gitignore
vendored
|
@ -1,16 +1,16 @@
|
||||||
**/.idea/dictionaries
|
|
||||||
**/.idea/gradle.xml
|
|
||||||
**/.idea/libraries
|
|
||||||
**/.idea/tasks.xml
|
|
||||||
**/.idea/workspace.xml
|
|
||||||
*.iws
|
|
||||||
.DS_Store
|
|
||||||
.classpath
|
.classpath
|
||||||
|
.DS_Store
|
||||||
.gradle
|
.gradle
|
||||||
.kobalt
|
.kobalt
|
||||||
.nb-gradle
|
.nb-gradle
|
||||||
.project
|
.project
|
||||||
.settings
|
.settings
|
||||||
|
*.iws
|
||||||
|
**/.idea/dictionaries
|
||||||
|
**/.idea/gradle.xml
|
||||||
|
**/.idea/libraries
|
||||||
|
**/.idea/tasks.xml
|
||||||
|
**/.idea/workspace.xml
|
||||||
/bin
|
/bin
|
||||||
/build
|
/build
|
||||||
/deploy
|
/deploy
|
||||||
|
@ -23,6 +23,7 @@
|
||||||
/proguard-project.txt
|
/proguard-project.txt
|
||||||
/project.properties
|
/project.properties
|
||||||
/test-output
|
/test-output
|
||||||
Thumbs.db
|
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
kobaltBuild
|
kobaltBuild
|
||||||
|
target
|
||||||
|
Thumbs.db
|
||||||
|
|
66
examples/java/pom.xml
Normal file
66
examples/java/pom.xml
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||||
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.example</groupId>
|
||||||
|
<artifactId>Example</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<name>Example</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<semver>1.2.0</semver>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.8.0</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.8</source>
|
||||||
|
<target>1.8</target>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<generatedSourcesDirectory>src/generated/java</generatedSourcesDirectory>
|
||||||
|
<annotationProcessorPaths>
|
||||||
|
<annotationProcessorPath>
|
||||||
|
<groupId>net.thauvin.erik</groupId>
|
||||||
|
<artifactId>semver</artifactId>
|
||||||
|
<version>${semver}</version>
|
||||||
|
</annotationProcessorPath>
|
||||||
|
</annotationProcessorPaths>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>1.6.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>my-execution</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>java</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>com.example.Example</mainClass>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.thauvin.erik</groupId>
|
||||||
|
<artifactId>semver</artifactId>
|
||||||
|
<version>${semver}</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
Loading…
Add table
Add a link
Reference in a new issue