update pom.xml
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
<!-- environment setting -->
|
||||
<java.version>1.7</java.version>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
<eclipse-plugin-download-sources>false</eclipse-plugin-download-sources>
|
||||
<eclipse-plugin-download-javadocs>false</eclipse-plugin-download-javadocs>
|
||||
|
||||
@@ -96,8 +97,8 @@
|
||||
<finalName>jeesite</finalName>
|
||||
<outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
|
||||
<includes>
|
||||
<include>com/thinkgem/jeesite/**</include>
|
||||
</includes> -->
|
||||
<include>com/thinkgem/jeesite/**</include>
|
||||
</includes> -->
|
||||
<archive>
|
||||
<manifest>
|
||||
<!-- Add directory entries -->
|
||||
@@ -110,7 +111,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
<!-- resource插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@@ -142,7 +143,7 @@
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
|
||||
<pluginManagement>
|
||||
|
||||
<plugins>
|
||||
@@ -198,6 +199,9 @@
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
@@ -297,7 +301,7 @@
|
||||
<snapshots><enabled>false</enabled></snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>sonatype-repos-s</id>
|
||||
<id>sonatype-repos-s</id>
|
||||
<name>Sonatype Repository</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
@@ -315,47 +319,51 @@
|
||||
<releases><enabled>true</enabled></releases>
|
||||
<snapshots><enabled>false</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
|
||||
|
||||
</pluginRepositories>
|
||||
|
||||
<profiles>
|
||||
|
||||
|
||||
<!-- 打包项目 -->
|
||||
<profile>
|
||||
<id>package</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Java Document Generate
|
||||
<id>javadoc</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Java Document Generate -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin> -->
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- 打包项目 -->
|
||||
<profile>
|
||||
<id>package</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- YUI Compressor (CSS/JS压缩) -->
|
||||
<plugin>
|
||||
<groupId>net.alchim31.maven</groupId>
|
||||
<artifactId>yuicompressor-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- 部署项目 -->
|
||||
<profile>
|
||||
<id>deploy</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Java Document Generate
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin> -->
|
||||
<id>deploy</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- YUI Compressor (CSS/JS压缩) -->
|
||||
<plugin>
|
||||
<groupId>net.alchim31.maven</groupId>
|
||||
<artifactId>yuicompressor-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>sonatype-repos</id>
|
||||
|
||||
Reference in New Issue
Block a user