Added several improvements XV
This commit is contained in:
parent
aaf9e29aef
commit
c5e3366ef8
@ -1,3 +1,3 @@
|
||||
mvn clean package
|
||||
mv target/*.jar C:/Users/Robert/Desktop/rv
|
||||
mv target/*jar-with-all-dependencies*.jar C:/Users/Robert/Desktop/rv
|
||||
rm -r target
|
BIN
lib/jtoaster-1.0.5.jar
Normal file
BIN
lib/jtoaster-1.0.5.jar
Normal file
Binary file not shown.
41
pom.xml
41
pom.xml
@ -17,6 +17,8 @@
|
||||
<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>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@ -45,6 +47,45 @@
|
||||
...
|
||||
-->
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>rvc.timecalc.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>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<!--tfcConfUtils-3.4.jar-->
|
||||
<dependency>
|
||||
<groupId>jtoaster</groupId>
|
||||
<artifactId>jtoaster</artifactId>
|
||||
<version>1.0.5</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${lib.dir}/jtoaster-1.0.5.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
File diff suppressed because one or more lines are too long
24
src/main/resources/install.xml
Normal file
24
src/main/resources/install.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<assembly
|
||||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
||||
<id>jar-with-all-dependencies</id>
|
||||
<formats>
|
||||
<format>jar</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<useProjectArtifact>true</useProjectArtifact>
|
||||
<unpack>true</unpack>
|
||||
<scope>runtime</scope>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<unpack>true</unpack>
|
||||
<scope>system</scope>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
||||
</assembly>
|
Loading…
x
Reference in New Issue
Block a user