Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
6d358949
Commit
6d358949
authored
Jan 10, 2020
by
ms group dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.0.0
parent
80372c87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
239 additions
and
45 deletions
+239
-45
pom.xml
pom.xml
+239
-45
No files found.
pom.xml
View file @
6d358949
...
@@ -5,40 +5,52 @@
...
@@ -5,40 +5,52 @@
<parent>
<parent>
<groupId>
net.mingsoft
</groupId>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-pom
</artifactId>
<artifactId>
ms-pom
</artifactId>
<version>
1.0.0-SNAPSHOT
</version>
<version>
1.0.0
</version>
<relativePath/>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
net.mingsoft
</groupId>
<groupId>
net.mingsoft
</groupId>
<artifactId>
mcms
</artifactId>
<artifactId>
ms-mcms
</artifactId>
<version>
5.0.0-SNAPSHOT
</version>
<version>
5.0.0
</version>
<name>
ms-mcms
</name>
<name>
${project.groupId}:${project.artifactId}
</name>
<properties>
<description>
ms-mcms tools Library
</description>
<java.version>
1.8
</java.version>
<url>
https://github.com/ming-soft/ms-mcms
</url>
</properties>
<licenses>
<repositories>
<license>
<repository>
<name>
The MIT License (MIT)
</name>
<url>
http://mit-license.org
</url>
</license>
</licenses>
<developers>
<developer>
<name>
mingsoft develop group
</name>
<email>
service@mingsoft.net
</email>
<organization>
mingsoft
</organization>
<organizationUrl>
http://www.mingsoft.net
</organizationUrl>
</developer>
</developers>
<scm>
<connection>
scm:git://github.com/ming-soft/ms-mcms.git
</connection>
<developerConnection>
scm:git@github.com:ming-soft/ms-mcms.git
</developerConnection>
<url>
https://github.com/ming-soft/ms-mcms
</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>
sonatype-nexus-snapshots
</id>
<id>
sonatype-nexus-snapshots
</id>
<name>
Sonatype Nexus Snapshots
</name>
<name>
Sonatype Nexus snapshot repository
</name>
<url>
http://repo1.maven.org/maven2/
</url>
<url>
https://oss.sonatype.org/content/repositories/snapshots
</url>
<releases>
</snapshotRepository>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</repository>
<repository>
<repository>
<id>
sonatype
</id>
<id>
sonatype-nexus-staging
</id>
<name>
Sonatype Snapshots
</name>
<name>
Sonatype Nexus release repository
</name>
<url>
https://oss.sonatype.org/content/groups/public/
</url>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</repository>
</repository>
</repositories>
</distributionManagement>
<properties>
<java.version>
1.8
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
<dependencies>
<dependencies>
<!-- <dependency>-->
<!-- <dependency>-->
<!-- <groupId>mysql</groupId>-->
<!-- <groupId>mysql</groupId>-->
...
@@ -55,8 +67,75 @@
...
@@ -55,8 +67,75 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<finalName>
ms-mcms
</finalName>
<resources>
<resource>
<directory>
src/main/java
</directory>
</resource>
<resource>
<directory>
src/main/webapp
</directory>
<excludes>
<exclude>
html/
</exclude>
<exclude>
static/
</exclude>
<exclude>
upload/
</exclude>
<exclude>
templets/
</exclude>
</excludes>
</resource>
<resource>
<directory>
src/main/resources
</directory>
</resource>
</resources>
<plugins>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
2.6
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<!--注意这玩意从编译结果目录开始算目录结构 -->
<exclude>
**/static/plugins/
</exclude>
<exclude>
**/static/skin/
</exclude>
<exclude>
**/application*.yml
</exclude>
<exclude>
**/Dockerfile
</exclude>
<exclude>
**/ehcache.xml
</exclude>
<exclude>
**/upgrade/
</exclude>
<exclude>
**/*.java
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
2.2.1
</version>
<configuration>
<excludes>
<exclude>
**/static/plugins/
</exclude>
<exclude>
**/static/skin/
</exclude>
<exclude>
**/application*.yml
</exclude>
<exclude>
**/Dockerfile
</exclude>
<exclude>
**/ehcache.xml
</exclude>
<exclude>
**/upgrade/
</exclude>
<exclude>
**/config/
</exclude>
<exclude>
**/MSApplication.java
</exclude>
<exclude>
**/MSServletInitializer.java
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
...
@@ -64,34 +143,148 @@
...
@@ -64,34 +143,148 @@
<configuration>
<configuration>
<source>
${java.version}
</source>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
<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>
</configuration>
<dependencies>
<dependency>
<groupId>
org.codehaus.plexus
</groupId>
<artifactId>
plexus-compiler-eclipse
</artifactId>
<version>
2.1
</version>
</dependency>
</dependencies>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<artifactId>
maven-eclipse-plugin
</artifactId>
<version>
2.8
</version>
<configuration>
<additionalConfig>
<file>
<name>
.settings/org.eclipse.core.resources.prefs
</name>
<content>
<![CDATA[
eclipse.preferences.version=1
encoding/<project>
=${project.build.sourceEncoding}
]]>
</content>
</file>
</additionalConfig>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<argLine>
-Xmx256m
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>
com.atlassian.maven.plugins
</groupId>
<artifactId>
maven-clover2-plugin
</artifactId>
<version>
2.6.3
</version>
<configuration>
<licenseLocation>
${clover.license.file}
</licenseLocation>
<encoding>
${project.build.sourceEncoding}
</encoding>
<generateXml>
true
</generateXml>
</configuration>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
findbugs-maven-plugin
</artifactId>
<version>
1.2
</version>
<configuration>
<findbugsXmlOutput>
true
</findbugsXmlOutput>
<findbugsXmlWithMessages>
true
</findbugsXmlWithMessages>
<xmlOutput>
true
</xmlOutput>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<version>
2.9.1
</version>
<configuration>
<charset>
UTF-8
</charset>
<encoding>
UTF-8
</encoding>
<docencoding>
UTF-8
</docencoding>
<javadocExecutable>
${java.home}/../bin/javadoc
</javadocExecutable>
<additionalparam>
-Xdoclint:none
</additionalparam>
</configuration>
<executions>
<executions>
<execution>
<execution>
<id>
attach-javadocs
</id>
<goals>
<goals>
<goal>
repackage
</goal>
<goal>
jar
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.6
</version>
<configuration>
<webResources>
<resource>
<directory>
src/main/webapp/WEB-INF
</directory>
<targetPath>
WEB-INF
</targetPath>
<filtering>
true
</filtering>
<includes>
<include>
**/*.xml
</include>
</includes>
<excludes>
<exclude>
web.xml
</exclude>
</excludes>
</resource>
</webResources>
<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>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-release-plugin
</artifactId>
<configuration>
<configuration>
<
fork>
true
</fork
>
<
arguments>
-Dgpg.passphrase=${gpg.passphrase}
</arguments
>
</configuration>
</configuration>
</plugin>
</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>
</plugins>
<resources>
<resource>
<directory>
src/main/webapp
</directory>
</resource>
<resource>
<directory>
src/main/resources
</directory>
</resource>
<resource>
<directory>
src/main/java
</directory>
</resource>
</resources>
<defaultGoal>
compile
</defaultGoal>
<defaultGoal>
compile
</defaultGoal>
<finalName>
ms-mcms
</finalName>
</build>
</build>
</project>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment