Skip to content

Commit 4491bd1

Browse files
authored
2.1.0 fixes (#14)
* pom.xml * Bumped pom to 2.1.0 * pom.xml, publish-maven-package.yml * Added profiles
1 parent 9afc4e7 commit 4491bd1

2 files changed

Lines changed: 32 additions & 13 deletions

File tree

.github/workflows/publish-maven-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
4343
mkdir -p repository/com/eficode/devstack
4444
echo Compiling, Packaging and Installing Groovy 3.0 version of library to local m2 directory
45-
mvn install -f pom.xml -DcreateChecksum=true
45+
mvn install -P groovy-3 -DcreateChecksum=true -Drevision=3.0
4646
4747
4848
4949
- name: Installing Groovy 2.5 Version
5050
run: |
5151
5252
echo Compiling, Packaging and Installing Groovy 2.5 version of library to local m2 directory
53-
mvn install -f pom.xml -DcreateChecksum=true -Dgroovy.major.version=2.5 -Dgroovy.version=2.5.18 -Dspock-core.version=2.2-groovy-2.5 -DjiraShortcuts.version=2.0.1-SNAPSHOT-groovy-2.5 -Dbitbucketinstancemanager.version=0.0.3-SNAPSHOT-groovy-2.5
53+
mvn install -P groovy-2.5 -DcreateChecksum=true -Drevision=2.5
5454
5555
5656
- name: Copying JAR files

pom.xml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.eficode</groupId>
88
<artifactId>devstack</artifactId>
9-
<version>2.0.1-SNAPSHOT-groovy-${groovy.major.version}</version>
9+
<version>2.1.0-SNAPSHOT-groovy-${revision}</version>
1010
<packaging>jar</packaging>
1111

1212
<name>DevStack - Parent pom</name>
@@ -39,7 +39,7 @@
3939
</dependency>
4040

4141
<dependency>
42-
<groupId>com.eficode.atlassian.jira</groupId>
42+
<groupId>com.eficode.atlassian</groupId>
4343
<artifactId>jiraShortcuts</artifactId>
4444
<version>${jiraShortcuts.version}</version>
4545
</dependency>
@@ -252,15 +252,34 @@
252252
</plugins>
253253
</build>
254254

255+
<profiles>
256+
<profile>
257+
<id>groovy-3</id>
258+
<properties>
259+
<maven.compiler.source>11</maven.compiler.source>
260+
<maven.compiler.target>11</maven.compiler.target>
261+
<groovy.major.version>3.0</groovy.major.version>
262+
<groovy.version>3.0.11</groovy.version>
263+
<spock-core.version>2.2-groovy-3.0</spock-core.version>
264+
<jiraShortcuts.version>2.0.3-SNAPSHOT-groovy-3.0</jiraShortcuts.version>
265+
<bitbucketinstancemanager.version>0.0.3-SNAPSHOT-groovy-3.0</bitbucketinstancemanager.version>
266+
</properties>
267+
</profile>
268+
<profile>
269+
<id>groovy-2.5</id>
270+
<properties>
271+
<maven.compiler.source>11</maven.compiler.source>
272+
<maven.compiler.target>11</maven.compiler.target>
273+
<groovy.major.version>2.5</groovy.major.version>
274+
<groovy.version>2.5.18</groovy.version>
275+
<spock-core.version>2.2-groovy-2.5</spock-core.version>
276+
<jiraShortcuts.version>2.0.3-SNAPSHOT-groovy-2.5</jiraShortcuts.version>
277+
<bitbucketinstancemanager.version>0.0.3-SNAPSHOT-groovy-2.5</bitbucketinstancemanager.version>
278+
</properties>
279+
</profile>
280+
281+
</profiles>
282+
255283

256-
<properties>
257-
<maven.compiler.source>11</maven.compiler.source>
258-
<maven.compiler.target>11</maven.compiler.target>
259-
<groovy.major.version>3.0</groovy.major.version>
260-
<groovy.version>3.0.11</groovy.version>
261-
<spock-core.version>2.2-groovy-3.0</spock-core.version>
262-
<jiraShortcuts.version>2.0.1-SNAPSHOT-groovy-3.0</jiraShortcuts.version>
263-
<bitbucketinstancemanager.version>0.0.3-SNAPSHOT-groovy-3.0</bitbucketinstancemanager.version>
264-
</properties>
265284

266285
</project>

0 commit comments

Comments
 (0)