109 lines
4.7 KiB
XML
109 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.nanoboot.utils</groupId>
|
|
<artifactId>time-calc</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<name>time-calc</name>
|
|
<description>time-calc</description>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<lib.dir>${basedir}/lib</lib.dir>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<lombok.version>1.18.22</lombok.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>org.nanoboot.utils.timecalc.main.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<!-- Here come other details
|
|
...
|
|
-->
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
|
|
<!-- <configuration>-->
|
|
<!-- <archive>-->
|
|
<!-- <manifest>-->
|
|
<!-- <mainClass>Main</mainClass>-->
|
|
<!-- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
|
|
<!-- </manifest>-->
|
|
<!-- <manifestEntries>-->
|
|
<!-- <Build-Date>${timestamp}</Build-Date>-->
|
|
<!-- </manifestEntries>-->
|
|
<!-- </archive>-->
|
|
<!-- <!– <descriptorRefs>–>-->
|
|
<!-- <!– <descriptorRef>jar-with-dependencies</descriptorRef>–>-->
|
|
<!-- <!– </descriptorRefs>–>-->
|
|
<!-- <descriptors>-->
|
|
<!-- <descriptor>./src/main/resources/install.xml</descriptor>-->
|
|
<!-- </descriptors>-->
|
|
<!-- </configuration>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>make-assembly</id> <!– this is used for inheritance merges –>-->
|
|
<!-- <phase>package</phase> <!– bind to the packaging phase –>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>single</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<!--<compilerArgs>
|
|
-|-enable-preview
|
|
</compilerArgs>-->
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.20</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |