config deploy to github
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c8ad808a0b
commit
d968f97d68
@ -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>
|
@ -47,6 +47,15 @@
|
|||||||
<skip>true</skip>
|
<skip>true</skip>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.github</groupId>
|
||||||
|
<artifactId>site-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skip>true</skip>
|
||||||
|
<message/>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
101
pom.xml
101
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,55 +90,64 @@
|
|||||||
</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>-->
|
<userName>ehlxr</userName>
|
||||||
<!-- <!– The commit message –>-->
|
<!--suppress UnresolvedMavenProperty -->
|
||||||
<!-- <message>init git maven repository</message>-->
|
<password>${env.GITHUB_MVN_TOKEN}</password>
|
||||||
<!-- <!– The location where the site is uploaded –>-->
|
<!-- The commit message -->
|
||||||
<!-- <repositoryName>mvn-repository</repositoryName> <!– github repo name –>-->
|
<message>init git maven repository</message>
|
||||||
<!-- <repositoryOwner>ehlxr</repositoryOwner> <!– organization or user name –>-->
|
<!-- The location where the site is uploaded -->
|
||||||
<!-- <!– Use merge or override the content –>-->
|
<repositoryName>mvn-repository</repositoryName> <!-- github repo name -->
|
||||||
<!-- <merge>true</merge>-->
|
<repositoryOwner>ehlxr</repositoryOwner> <!-- organization or user name -->
|
||||||
<!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>-->
|
<!-- Use merge or override the content -->
|
||||||
<!-- <branch>refs/heads/mvn-repo</branch>-->
|
<merge>true</merge>
|
||||||
<!-- <!–<includes>–>-->
|
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
|
||||||
<!-- <!– <include>**/*</include>–>-->
|
<branch>refs/heads/mvn-repo</branch>
|
||||||
<!-- <!–</includes>–>-->
|
<!--<includes>-->
|
||||||
<!-- </configuration>-->
|
<!-- <include>**/*</include>-->
|
||||||
<!-- </execution>-->
|
<!--</includes>-->
|
||||||
<!-- </executions>-->
|
</configuration>
|
||||||
<!--</plugin>-->
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
|
||||||
|
|
||||||
<!--<distributionManagement>-->
|
<plugins>
|
||||||
<!-- <repository>-->
|
<plugin>
|
||||||
<!-- <id>maven.repo</id>-->
|
<groupId>com.github.github</groupId>
|
||||||
<!-- <name>Local Staging Repository</name>-->
|
<artifactId>site-maven-plugin</artifactId>
|
||||||
<!-- <url>file://${project.build.directory}/mvn-repo</url>-->
|
</plugin>
|
||||||
<!-- </repository>-->
|
</plugins>
|
||||||
<!--</distributionManagement>-->
|
</build>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github</id>
|
<id>maven.repo</id>
|
||||||
<name>GitHub Apache Maven Packages</name>
|
<name>Local Staging Repository</name>
|
||||||
<url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>
|
<url>file://${project.build.directory}/mvn-repo</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</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