Skip to content

Commit f46114f

Browse files
deploy to github instead of central
1 parent 3711361 commit f46114f

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

pom.xml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<version>5</version>
1616
</parent>
1717

18+
<properties>
19+
<github.global.server>github</github.global.server>
20+
</properties>
21+
1822
<developers>
1923
<developer>
2024
<id>fernandezpablo85</id>
@@ -37,6 +41,14 @@
3741
<url>http://github.com/fernandezpablo85/scribe-java.git</url>
3842
</scm>
3943

44+
<distributionManagement>
45+
<repository>
46+
<id>internal.repo</id>
47+
<name>Temporary Staging Repository</name>
48+
<url>file://${project.build.directory}/mvn-repo</url>
49+
</repository>
50+
</distributionManagement>
51+
4052
<dependencies>
4153
<dependency>
4254
<groupId>junit</groupId>
@@ -63,19 +75,27 @@
6375
</configuration>
6476
</plugin>
6577
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-gpg-plugin</artifactId>
68-
<version>1.4</version>
78+
<groupId>com.github.github</groupId>
79+
<artifactId>site-maven-plugin</artifactId>
80+
<version>0.9</version>
81+
<configuration>
82+
<message>Maven artifacts for ${project.version}</message>
83+
<noJekyll>true</noJekyll>
84+
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
85+
<branch>refs/heads/mvn-repo</branch>
86+
<includes><include>**/*</include></includes>
87+
<repositoryName>scribe-java</repositoryName>
88+
<repositoryOwner>fernandezpablo85</repositoryOwner>
89+
</configuration>
6990
<executions>
7091
<execution>
71-
<id>sign-artifacts</id>
72-
<phase>verify</phase>
7392
<goals>
74-
<goal>sign</goal>
93+
<goal>site</goal>
7594
</goals>
95+
<phase>deploy</phase>
7696
</execution>
7797
</executions>
78-
</plugin>
98+
</plugin>
7999
<plugin>
80100
<groupId>org.codehaus.mojo</groupId>
81101
<artifactId>findbugs-maven-plugin</artifactId>
@@ -95,4 +115,4 @@
95115
</plugin>
96116
</plugins>
97117
</build>
98-
</project>
118+
</project>

0 commit comments

Comments
 (0)