This commit is contained in:
parent
a819c0179d
commit
c8ad808a0b
@ -31,10 +31,10 @@
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.github.github</groupId>
|
||||
<artifactId>site-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!--<plugin>-->
|
||||
<!-- <groupId>com.github.github</groupId>-->
|
||||
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||
<!--</plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
@ -45,10 +45,10 @@
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.github.github</groupId>
|
||||
<artifactId>site-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!--<plugin>-->
|
||||
<!-- <groupId>com.github.github</groupId>-->
|
||||
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||
<!--</plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
84
pom.xml
84
pom.xml
@ -56,10 +56,10 @@
|
||||
<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>
|
||||
<!--<configuration>-->
|
||||
<!-- <altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo-->
|
||||
<!-- </altDeploymentRepository>-->
|
||||
<!--</configuration>-->
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
@ -90,46 +90,54 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<!-- Deploy the web site -->
|
||||
<groupId>com.github.github</groupId>
|
||||
<artifactId>site-maven-plugin</artifactId>
|
||||
<version>0.12</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>site</goal>
|
||||
</goals>
|
||||
<!-- select the Maven phase in which the plugin will be executed -->
|
||||
<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>
|
||||
<!--<plugin>-->
|
||||
<!-- <!– Deploy the web site –>-->
|
||||
<!-- <groupId>com.github.github</groupId>-->
|
||||
<!-- <artifactId>site-maven-plugin</artifactId>-->
|
||||
<!-- <version>0.12</version>-->
|
||||
<!-- <executions>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>site</goal>-->
|
||||
<!-- </goals>-->
|
||||
<!-- <!– select the Maven phase in which the plugin will be executed –>-->
|
||||
<!-- <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>
|
||||
</pluginManagement>
|
||||
</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>maven.repo</id>
|
||||
<name>Local Staging Repository</name>
|
||||
<url>file://${project.build.directory}/mvn-repo</url>
|
||||
<id>github</id>
|
||||
<name>GitHub Apache Maven Packages</name>
|
||||
<url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user