Updated pom.xml and Jenkinsfile for deploying to packages.libreccm.org

Former-commit-id: 10bc88c319
pull/2/head
Jens Pelzetter 2019-12-22 16:03:19 +01:00
parent 7181197b82
commit 25657a5e4b
2 changed files with 28 additions and 0 deletions

7
Jenkinsfile vendored
View File

@ -24,6 +24,13 @@ pipeline {
} }
} }
} }
stage("Deploy") {
steps {
dir('') {
sh 'mvn deploy'
}
}
}
} }
post { post {
success { success {

21
pom.xml
View File

@ -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>