This commit is contained in:
parent
a819c0179d
commit
c8ad808a0b
@ -31,10 +31,10 @@
|
|||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<!--<plugin>-->
|
||||||
<groupId>com.github.github</groupId>
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
<artifactId>site-maven-plugin</artifactId>
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
</plugin>
|
<!--</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
@ -45,10 +45,10 @@
|
|||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<!--<plugin>-->
|
||||||
<groupId>com.github.github</groupId>
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
<artifactId>site-maven-plugin</artifactId>
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
</plugin>
|
<!--</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
84
pom.xml
84
pom.xml
@ -56,10 +56,10 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>2.8.2</version>
|
<version>2.8.2</version>
|
||||||
<configuration>
|
<!--<configuration>-->
|
||||||
<altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo
|
<!-- <altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo-->
|
||||||
</altDeploymentRepository>
|
<!-- </altDeploymentRepository>-->
|
||||||
</configuration>
|
<!--</configuration>-->
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -90,46 +90,54 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<!--<plugin>-->
|
||||||
<!-- Deploy the web site -->
|
<!-- <!– Deploy the web site –>-->
|
||||||
<groupId>com.github.github</groupId>
|
<!-- <groupId>com.github.github</groupId>-->
|
||||||
<artifactId>site-maven-plugin</artifactId>
|
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||||
<version>0.12</version>
|
<!-- <version>0.12</version>-->
|
||||||
<executions>
|
<!-- <executions>-->
|
||||||
<execution>
|
<!-- <execution>-->
|
||||||
<goals>
|
<!-- <goals>-->
|
||||||
<goal>site</goal>
|
<!-- <goal>site</goal>-->
|
||||||
</goals>
|
<!-- </goals>-->
|
||||||
<!-- select the Maven phase in which the plugin will be executed -->
|
<!-- <!– select the Maven phase in which the plugin will be executed –>-->
|
||||||
<phase>deploy</phase>
|
<!-- <phase>deploy</phase>-->
|
||||||
<configuration>
|
<!-- <configuration>-->
|
||||||
<!-- Plugin configuration goes here -->
|
<!-- <!– Plugin configuration goes here –>-->
|
||||||
<server>github</server>
|
<!-- <server>github</server>-->
|
||||||
<!-- The commit message -->
|
<!-- <!– The commit message –>-->
|
||||||
<message>init git maven repository</message>
|
<!-- <message>init git maven repository</message>-->
|
||||||
<!-- The location where the site is uploaded -->
|
<!-- <!– The location where the site is uploaded –>-->
|
||||||
<repositoryName>mvn-repository</repositoryName> <!-- github repo name -->
|
<!-- <repositoryName>mvn-repository</repositoryName> <!– github repo name –>-->
|
||||||
<repositoryOwner>ehlxr</repositoryOwner> <!-- organization or user name -->
|
<!-- <repositoryOwner>ehlxr</repositoryOwner> <!– organization or user name –>-->
|
||||||
<!-- Use merge or override the content -->
|
<!-- <!– Use merge or override the content –>-->
|
||||||
<merge>true</merge>
|
<!-- <merge>true</merge>-->
|
||||||
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
|
<!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>-->
|
||||||
<branch>refs/heads/mvn-repo</branch>
|
<!-- <branch>refs/heads/mvn-repo</branch>-->
|
||||||
<!--<includes>-->
|
<!-- <!–<includes>–>-->
|
||||||
<!-- <include>**/*</include>-->
|
<!-- <!– <include>**/*</include>–>-->
|
||||||
<!--</includes>-->
|
<!-- <!–</includes>–>-->
|
||||||
</configuration>
|
<!-- </configuration>-->
|
||||||
</execution>
|
<!-- </execution>-->
|
||||||
</executions>
|
<!-- </executions>-->
|
||||||
</plugin>
|
<!--</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>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven.repo</id>
|
<id>github</id>
|
||||||
<name>Local Staging Repository</name>
|
<name>GitHub Apache Maven Packages</name>
|
||||||
<url>file://${project.build.directory}/mvn-repo</url>
|
<url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user