-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b51750
commit 4558c4a
Showing
1 changed file
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>world.bentobox</groupId> | ||
|
@@ -14,12 +14,20 @@ | |
<inceptionYear>2019</inceptionYear> | ||
|
||
<developers> | ||
<developer> | ||
<id>tastybento</id> | ||
<email>[email protected]</email> | ||
<timezone>-8</timezone> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<id>Poslovitch</id> | ||
<email>[email protected]</email> | ||
<timezone>1</timezone> | ||
<roles> | ||
<role>Lead Developer</role> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
@@ -71,8 +79,9 @@ | |
<!-- Profiles will allow to automatically change build version. --> | ||
<profiles> | ||
<profile> | ||
<!-- ci profile is activated if exist environment variable BUILD_NUMBER. --> | ||
<!-- It replaces ${build.number} that is currently '-LOCAL' with correct build number from JENKINS machine. --> | ||
<!-- ci profile is activated if exist environment variable BUILD_NUMBER. --> | ||
<!-- It replaces ${build.number} that is currently '-LOCAL' with | ||
correct build number from JENKINS machine. --> | ||
<id>ci</id> | ||
<activation> | ||
<property> | ||
|
@@ -85,10 +94,14 @@ | |
</properties> | ||
</profile> | ||
<profile> | ||
<!-- Master profile is activated if exist environment variable GIT_BRANCH and its value is origin/master. --> | ||
<!-- It will replace 'revision' with '${build.version}' so it removes '-SNAPSHOT' string at the end. --> | ||
<!-- Also, as this is release build, build number can be set to empty string. --> | ||
<!-- This profile will be used only if exist environment variable GIT_BRANCH with value origin/master. --> | ||
<!-- Master profile is activated if exist environment variable | ||
GIT_BRANCH and its value is origin/master. --> | ||
<!-- It will replace 'revision' with '${build.version}' so it | ||
removes '-SNAPSHOT' string at the end. --> | ||
<!-- Also, as this is release build, build number can be set | ||
to empty string. --> | ||
<!-- This profile will be used only if exist environment variable | ||
GIT_BRANCH with value origin/master. --> | ||
<id>master</id> | ||
<activation> | ||
<property> | ||
|
@@ -99,7 +112,7 @@ | |
<properties> | ||
<!-- Override only if necessary --> | ||
<revision>${build.version}</revision> | ||
<!-- Empties build number variable.--> | ||
<!-- Empties build number variable. --> | ||
<build.number></build.number> | ||
</properties> | ||
</profile> | ||
|
@@ -157,11 +170,13 @@ | |
|
||
<build> | ||
<!-- By default ${revision} is ${build.version}-SNAPSHOT --> | ||
<!-- If GIT_BRANCH variable is set to origin/master, then it will be only ${build.version}. --> | ||
<!-- If GIT_BRANCH variable is set to origin/master, then it will | ||
be only ${build.version}. --> | ||
|
||
<!-- By default ${build.number} is -LOCAL. --> | ||
<!-- If the BUILD_NUMBER variable is set, then it will be -b[number]. --> | ||
<!-- If GIT_BRANCH variable is set to origin/master, then it will be the empty string. --> | ||
<!-- If GIT_BRANCH variable is set to origin/master, then it will | ||
be the empty string. --> | ||
<finalName>${project.name}-${revision}${build.number}</finalName> | ||
|
||
<defaultGoal>clean package</defaultGoal> | ||
|