Compare commits
2 Commits
014249228b
...
c8ad808a0b
Author | SHA1 | Date | |
---|---|---|---|
c8ad808a0b | |||
a819c0179d |
@ -23,4 +23,18 @@
|
|||||||
<artifactId>logback-classic</artifactId>
|
<artifactId>logback-classic</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<!--<plugin>-->
|
||||||
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
|
<!--</plugin>-->
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
@ -39,10 +39,16 @@
|
|||||||
</artifactSet>
|
</artifactSet>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!--<plugin>-->
|
||||||
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
|
<!--</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
@ -30,7 +30,8 @@
|
|||||||
<execution>
|
<execution>
|
||||||
<configuration>
|
<configuration>
|
||||||
<transformers>
|
<transformers>
|
||||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
<transformer
|
||||||
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||||
<mainClass>cn.ceres.did.ServerStarter</mainClass>
|
<mainClass>cn.ceres.did.ServerStarter</mainClass>
|
||||||
</transformer>
|
</transformer>
|
||||||
</transformers>
|
</transformers>
|
||||||
@ -38,6 +39,14 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skip>true</skip>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
85
pom.xml
85
pom.xml
@ -52,6 +52,30 @@
|
|||||||
<build>
|
<build>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>2.8.2</version>
|
||||||
|
<!--<configuration>-->
|
||||||
|
<!-- <altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo-->
|
||||||
|
<!-- </altDeploymentRepository>-->
|
||||||
|
<!--</configuration>-->
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.1.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-sources</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
@ -65,21 +89,56 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<!--<plugin>-->
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<!-- <!– Deploy the web site –>-->
|
||||||
<version>2.2.1</version>
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
<executions>
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
<execution>
|
<!-- <version>0.12</version>-->
|
||||||
<id>attach-sources</id>
|
<!-- <executions>-->
|
||||||
<goals>
|
<!-- <execution>-->
|
||||||
<goal>jar-no-fork</goal>
|
<!-- <goals>-->
|
||||||
</goals>
|
<!-- <goal>site</goal>-->
|
||||||
</execution>
|
<!-- </goals>-->
|
||||||
</executions>
|
<!-- <!– select the Maven phase in which the plugin will be executed –>-->
|
||||||
</plugin>
|
<!-- <phase>deploy</phase>-->
|
||||||
|
<!-- <configuration>-->
|
||||||
|
<!-- <!– Plugin configuration goes here –>-->
|
||||||
|
<!-- <server>github</server>-->
|
||||||
|
<!-- <!– The commit message –>-->
|
||||||
|
<!-- <message>init git maven repository</message>-->
|
||||||
|
<!-- <!– The location where the site is uploaded –>-->
|
||||||
|
<!-- <repositoryName>mvn-repository</repositoryName> <!– github repo name –>-->
|
||||||
|
<!-- <repositoryOwner>ehlxr</repositoryOwner> <!– organization or user name –>-->
|
||||||
|
<!-- <!– Use merge or override the content –>-->
|
||||||
|
<!-- <merge>true</merge>-->
|
||||||
|
<!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>-->
|
||||||
|
<!-- <branch>refs/heads/mvn-repo</branch>-->
|
||||||
|
<!-- <!–<includes>–>-->
|
||||||
|
<!-- <!– <include>**/*</include>–>-->
|
||||||
|
<!-- <!–</includes>–>-->
|
||||||
|
<!-- </configuration>-->
|
||||||
|
<!-- </execution>-->
|
||||||
|
<!-- </executions>-->
|
||||||
|
<!--</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<!--<distributionManagement>-->
|
||||||
|
<!-- <repository>-->
|
||||||
|
<!-- <id>maven.repo</id>-->
|
||||||
|
<!-- <name>Local Staging Repository</name>-->
|
||||||
|
<!-- <url>file://${project.build.directory}/mvn-repo</url>-->
|
||||||
|
<!-- </repository>-->
|
||||||
|
<!--</distributionManagement>-->
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>github</id>
|
||||||
|
<name>GitHub Apache Maven Packages</name>
|
||||||
|
<url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user