Updated pom.xml and Jenkinsfile for deploying to packages.libreccm.org
parent
9cd8c708b0
commit
e099285ff1
|
|
@ -24,6 +24,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage("Deploy") {
|
||||||
|
steps {
|
||||||
|
dir('') {
|
||||||
|
sh 'mvn deploy'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
|
|
|
||||||
21
pom.xml
21
pom.xml
|
|
@ -25,6 +25,14 @@
|
||||||
<name>LibreCCM</name>
|
<name>LibreCCM</name>
|
||||||
<url>http://www.libreccm.org/project-sites/</url>
|
<url>http://www.libreccm.org/project-sites/</url>
|
||||||
</site>
|
</site>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>libreccm-snapshots</id>
|
||||||
|
<url>https://packages.libreccm.org/repository/maven-snapshots/</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
<repository>
|
||||||
|
<id>libreccm-releases</id>
|
||||||
|
<url>https://packages.libreccm.org/repository/maven-releases/</url>
|
||||||
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<organization>
|
<organization>
|
||||||
|
|
@ -159,6 +167,11 @@
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>3.0.0-M1</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-ear-plugin</artifactId>
|
<artifactId>maven-ear-plugin</artifactId>
|
||||||
|
|
@ -369,6 +382,14 @@
|
||||||
<tagBase>https://svn.libreccm.org/ccm/ccm_ng-releases</tagBase>
|
<tagBase>https://svn.libreccm.org/ccm/ccm_ng-releases</tagBase>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue