adjust the pom to make project can be compile

This commit is contained in:
YuCheng Hu
2021-04-15 12:15:45 -04:00
parent 43c81ad3d4
commit a228fa25f3
9 changed files with 47 additions and 112 deletions
+3 -34
View File
@@ -2,12 +2,12 @@
<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>com.ossez</groupId>
<artifactId>lang-tutorial</artifactId>
<artifactId>java-tutorials</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
<properties>
<!-- Generic properties -->
@@ -16,10 +16,9 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Logging -->
<slf4j.version>1.7.12</slf4j.version>
<slf4j.version>1.7.30</slf4j.version>
<log4j2.version>2.2</log4j2.version>
<!-- Hibernate / JPA -->
<hibernate.version>4.3.5.Final</hibernate.version>
@@ -236,37 +235,7 @@
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptor>src/assembly/zipAssembly.xml</descriptor>
<finalName>reoc-rets</finalName>
<archive>
<manifest>
<mainClass>com.ossez.reoc.rets.Main</mainClass>
</manifest>
<manifestEntries>
<Class-Path>./</Class-Path>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>