|
@@ -220,63 +220,63 @@
|
|
|
|
|
|
|
|
|
<build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-dependency-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>copy</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-dependencies</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>copy-resources</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-resources</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <excludes>
|
|
|
- <exclude>mapper</exclude>
|
|
|
- <exclude>*.**</exclude>
|
|
|
- <exclude>**/*.xml</exclude>
|
|
|
- <exclude>**/*.yml</exclude>
|
|
|
- </excludes>
|
|
|
- <archive>
|
|
|
- <manifest>
|
|
|
- <mainClass>${main-class}</mainClass>
|
|
|
- <addClasspath>true</addClasspath>
|
|
|
- <classpathPrefix>lib/</classpathPrefix>
|
|
|
- <useUniqueVersions>false</useUniqueVersions>
|
|
|
- </manifest>
|
|
|
- </archive>
|
|
|
- <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-resources</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-resources</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <excludes>
|
|
|
+ <exclude>mapper</exclude>
|
|
|
+ <exclude>*.**</exclude>
|
|
|
+ <exclude>**/*.xml</exclude>
|
|
|
+ <exclude>**/*.yml</exclude>
|
|
|
+ </excludes>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>${main-class}</mainClass>
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
+ <classpathPrefix>lib/</classpathPrefix>
|
|
|
+ <useUniqueVersions>false</useUniqueVersions>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+</build>
|
|
|
|
|
|
</project>
|