Updating for format
Showing
with
71 additions
and
8 deletions
... | ... | @@ -8,7 +8,7 @@ |
<version>1.0-SNAPSHOT</version> | ||
<description>Point-of-sale purpose built for candle makers.</description> | ||
<url>https://ladyserenakitty.felinewith.me/candle-pos/</url> | ||
<url>${gl.pages}</url> | ||
<organization> | ||
<name>StarPhoenix Media</name> | ||
<url>http://starphoenixmedia.com/</url> | ||
... | ... | @@ -22,8 +22,15 @@ |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<rev>${git-rev}</rev> | ||
<tag>master</tag> | ||
<rev>~${env.USER}</rev> | ||
<fulltag>${tag}/${rev}</fulltag> | ||
<fullver>${project.name} ${project.version} (${fulltag})</fullver> | ||
<gl.group>LadySerenaKitty</gl.group> | ||
<gl.group-url>ladyserenakitty</gl.group-url> | ||
<gl.name>server-management</gl.name> | ||
<gl.url>https://felinewith.me/${gl.group-url}/${gl.name}</gl.url> | ||
<gl.pages>https://${gl.group-url}.felinewith.me/${gl.name}/</gl.pages> | ||
</properties> | ||
<distributionManagement> | ||
... | ... | @@ -46,19 +53,19 @@ |
<issueManagement> | ||
<system>GitLab</system> | ||
<url>https://felinewith.me/LadySerenaKitty/candle-pos/issues</url> | ||
<url>${gl.url}/issues</url> | ||
</issueManagement> | ||
<ciManagement> | ||
<system>GitLab CI</system> | ||
<url>https://felinewith.me/LadySerenaKitty/candle-pos/pipelines</url> | ||
<url>${gl.url}/pipelines</url> | ||
</ciManagement> | ||
<scm> | ||
<connection>scm:git:https://felinewith.me/LadySerenaKitty/candle-pos.git</connection> | ||
<developerConnection>scm:git:[email protected]:LadySerenaKitty/candle-pos.git</developerConnection> | ||
<connection>scm:git:${gl.url}.git</connection> | ||
<developerConnection>scm:git:[email protected]:${gl.group-url}/${gl.name}.git</developerConnection> | ||
<tag>${tag}</tag> | ||
<url>https://felinewith.me/LadySerenaKitty/candle-pos/blob/${tag}/</url> | ||
<url>${gl.url}/blob/${tag}/</url> | ||
</scm> | ||
<developers> | ||
... | ... | @@ -187,11 +194,21 @@ |
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-changelog-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<providerImplementations> | ||
<git>jgit</git> | ||
</providerImplementations> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-changes-plugin</artifactId> | ||
<version>2.12.1</version> | ||
<configuration> | ||
<providerImplementations> | ||
<git>jgit</git> | ||
</providerImplementations> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
... | ... | @@ -243,6 +260,28 @@ |
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>3.0.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-scm-plugin</artifactId> | ||
<version>1.9.5</version> | ||
<configuration> | ||
<providerImplementations> | ||
<git>jgit</git> | ||
</providerImplementations> | ||
</configuration> | ||
<!-- dependencies> | ||
<dependency> | ||
<groupId>org.apache.maven.scm</groupId> | ||
<artifactId>maven-scm-provider-jgit</artifactId> | ||
<version>1.9.5</version> | ||
</dependency> | ||
</dependencies --> | ||
</plugin> | ||
<!-- plugin> | ||
<groupId>org.apache.maven.scm</groupId> | ||
<artifactId>maven-scm-provider-jgit</artifactId> | ||
<version>1.9.5</version> | ||
</plugin --> | ||
</plugins> | ||
</reporting> | ||
... | ... | @@ -363,6 +402,30 @@ |
<tag>${env.CI_COMMIT_REF_NAME}</tag> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>rev-env</id> | ||
<activation> | ||
<property> | ||
<name>env.GIT_REV</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<!-- Override only if necessary --> | ||
<rev>${env.GIT_REV}</rev> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>rev-cli</id> | ||
<activation> | ||
<property> | ||
<name>git-rev</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<!-- Override only if necessary --> | ||
<rev>${git-rev}</rev> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</project> |
-
Please register or sign in to post a comment