From 2963ef604cf854e7d2e90025f36792b1b7e20dc5 Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <jwalto@essex.ac.uk> Date: Fri, 28 Oct 2016 16:17:50 +0100 Subject: [PATCH] use fossgalaxy properties to populate urls --- pom.xml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 79dda4f..64a58ce 100644 --- a/pom.xml +++ b/pom.xml @@ -9,29 +9,32 @@ <name>FOSS Galaxy POM</name> <description>A super POM for FOSS Galaxy projects.</description> - <url>https://git.fossgalaxy.com/infrastructure/maven-parent</url> + <url>https://pages.fossgalaxy.com/${fossgalaxy.owner.id}/${fossgalaxy.repo.id}</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Require java 1.8 --> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> + <!-- fossgalaxy specific --> + <fossgalaxy.owner.id>infrastructure</fossgalaxy.owner.id> + <fossgalaxy.repo.id>${project.artifactId}</fossgalaxy.repo.id> </properties> -<!-- by default, we assume GPLv3 --> -<licenses> - <license> - <name>GNU General Public License, Version 3.0</name> - <url>https://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> -</licenses> + <!-- by default, we assume GPLv3 --> + <licenses> + <license> + <name>GNU General Public License, Version 3.0</name> + <url>https://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> -<!-- FOSS Galaxy Git SCM settings --> -<scm> - <connection>scm:git:git://git@git.fossgalaxy.com:infrastructure/maven-parent.git</connection> - <developerConnection>scm:git:ssh://git@git.fossgalaxy.com:infrastructure/maven-parent.git</developerConnection> - <url>https://git.fossgalaxy.com/infrastructure/maven-parent</url> -</scm> + <!-- FOSS Galaxy Git SCM settings --> + <scm> + <connection>scm:git:git://git@git.fossgalaxy.com:${fossgalaxy.owner.id}/${fossgalaxy.repo.id}.git</connection> + <developerConnection>scm:git:ssh://git@git.fossgalaxy.com:${fossgalaxy.owner.id}/${fossgalaxy.repo.id}.git</developerConnection> + <url>https://git.fossgalaxy.com/${fossgalaxy.owner.id}/${fossgalaxy.repo.id}</url> + </scm> <!-- tag FossGalaxy projects --> <organization> @@ -60,7 +63,6 @@ </repository> <site> <id>fossgalaxy.website.static</id> - <name>Mojo Website</name> <url>scp://docs.fossgalaxy.com/srv/public_sites/${project.artifactId}</url> </site> </distributionManagement> -- GitLab