|
|
|
|
@ -103,7 +103,6 @@ |
|
|
|
|
<!--注意这玩意从编译结果目录开始算目录结构 --> |
|
|
|
|
<exclude>**/static/plugins/</exclude> |
|
|
|
|
<exclude>**/static/skin/</exclude> |
|
|
|
|
<exclude>**/application*.yml</exclude> |
|
|
|
|
<exclude>**/Dockerfile</exclude> |
|
|
|
|
<exclude>**/ehcache.xml</exclude> |
|
|
|
|
<exclude>**/upgrade/</exclude> |
|
|
|
|
@ -137,6 +136,10 @@ |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
@ -145,21 +148,7 @@ |
|
|
|
|
<source>${java.version}</source> |
|
|
|
|
<target>${java.version}</target> |
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding> |
|
|
|
|
<showDeprecation>true</showDeprecation> |
|
|
|
|
<showWarnings>true</showWarnings> |
|
|
|
|
<compilerArguments> |
|
|
|
|
<verbose /> |
|
|
|
|
<bootclasspath>${java.home}/lib/rt.jar:${java.home}/lib/jce.jar</bootclasspath> |
|
|
|
|
</compilerArguments> |
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument> |
|
|
|
|
</configuration> |
|
|
|
|
<dependencies> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>org.codehaus.plexus</groupId> |
|
|
|
|
<artifactId>plexus-compiler-eclipse</artifactId> |
|
|
|
|
<version>2.1</version> |
|
|
|
|
</dependency> |
|
|
|
|
</dependencies> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
@ -248,7 +237,9 @@ |
|
|
|
|
<attachClasses>true</attachClasses> |
|
|
|
|
<warSourceExcludes>*/web.xml,static</warSourceExcludes> |
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml> |
|
|
|
|
<packagingExcludes>ms.install,html/,static/,temp,upgrader,WEB-INF/web.xml,WEB-INF/lib/,templets/,upload/,WEB-INF/classes/*.xml,WEB-INF/classes/*.properties,*.sh,WEB-INF/classes/net/mingsoft/config/,WEB-INF/classes/net/mingsoft/*.class</packagingExcludes> |
|
|
|
|
<packagingExcludes> |
|
|
|
|
ms.install,html/,static/,temp,upgrader,WEB-INF/web.xml,WEB-INF/lib/,templets/,upload/,WEB-INF/classes/*.xml,WEB-INF/classes/*.properties,*.sh,WEB-INF/classes/net/mingsoft/config/,WEB-INF/classes/net/mingsoft/*.class |
|
|
|
|
</packagingExcludes> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
@ -258,31 +249,7 @@ |
|
|
|
|
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.sonatype.plugins</groupId> |
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId> |
|
|
|
|
<version>1.6.7</version> |
|
|
|
|
<extensions>true</extensions> |
|
|
|
|
<configuration> |
|
|
|
|
<serverId>sonatype-nexus-staging</serverId> |
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl> |
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId> |
|
|
|
|
<version>1.5</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>sign-artifacts</id> |
|
|
|
|
<phase>verify</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>sign</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
</plugins> |
|
|
|
|
<defaultGoal>compile</defaultGoal> |
|
|
|
|
|
|
|
|
|
|