Skip to content

Commit e3ee306

Browse files
authored
Minor fixes to publish workflow
* add settings.xml path to deploy command Signed-off-by: Sam Spycher <samspycher@users.noreply.github.com> * update project to reasonable version and homogenize slf4j version Signed-off-by: Sam Spycher <samspycher@users.noreply.github.com> --------- Signed-off-by: Sam Spycher <samspycher@users.noreply.github.com>
1 parent f9b3f4b commit e3ee306

File tree

8 files changed

+23
-13
lines changed

8 files changed

+23
-13
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
echo "Project version $PROJECT_VERSION is a valid release version. Proceeding..."
4848
4949
- name: Publish package
50-
run: mvn --batch-mode deploy -DskipTests=true
50+
run: mvn --batch-mode deploy -DskipTests=true -s ${{ github.workspace }}/settings.xml
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Provided by Actions, used for authentication

parsec-client-java/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.parallaxsecond</groupId>
88
<artifactId>parsec-java</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.1.0-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>parsec-client-java</artifactId>
1212
<properties>
@@ -21,7 +21,6 @@
2121
<dependency>
2222
<groupId>org.slf4j</groupId>
2323
<artifactId>slf4j-api</artifactId>
24-
<version>${slf4j.version}</version>
2524
</dependency>
2625
<dependency>
2726
<groupId>net.java.dev.jna</groupId>

parsec-interface-java/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.parallaxsecond</groupId>
88
<artifactId>parsec-java</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.1.0-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>parsec-interface-java</artifactId>
1212
<properties>
@@ -22,7 +22,6 @@
2222
<dependency>
2323
<groupId>org.slf4j</groupId>
2424
<artifactId>slf4j-api</artifactId>
25-
<version>${slf4j.version}</version>
2625
</dependency>
2726
</dependencies>
2827

parsec-jca-java-test/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.parallaxsecond</groupId>
77
<artifactId>parsec-java</artifactId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>0.1.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>parsec-jca-java-test</artifactId>
1111
<properties>
@@ -61,6 +61,13 @@
6161
<parallel>none</parallel>
6262
</configuration>
6363
</plugin>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-deploy-plugin</artifactId>
67+
<configuration>
68+
<skip>true</skip>
69+
</configuration>
70+
</plugin>
6471
</plugins>
6572
</build>
6673

parsec-jca-java/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
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">
54
<modelVersion>4.0.0</modelVersion>
65

76
<parent>
87
<groupId>org.parallaxsecond</groupId>
98
<artifactId>parsec-java</artifactId>
10-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.1.0-SNAPSHOT</version>
1110
</parent>
1211
<artifactId>parsec-jca-java</artifactId>
1312
<properties>
@@ -25,7 +24,6 @@
2524
<dependency>
2625
<groupId>org.slf4j</groupId>
2726
<artifactId>slf4j-api</artifactId>
28-
<version>${slf4j.version}</version>
2927
</dependency>
3028

3129

parsec-protobuf-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.parallaxsecond</groupId>
88
<artifactId>parsec-java</artifactId>
9-
<version>1.0.0-SNAPSHOT</version>
9+
<version>0.1.0-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>parsec-protobuf-java</artifactId>
1212

parsec-testcontainers/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.parallaxsecond</groupId>
77
<artifactId>parsec-java</artifactId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>0.1.0-SNAPSHOT</version>
99
<relativePath>..</relativePath>
1010
</parent>
1111
<artifactId>parsec-testcontainers</artifactId>
@@ -52,6 +52,13 @@
5252
</execution>
5353
</executions>
5454
</plugin>
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-deploy-plugin</artifactId>
58+
<configuration>
59+
<skip>true</skip>
60+
</configuration>
61+
</plugin>
5562
</plugins>
5663
</build>
5764
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<packaging>pom</packaging>
66
<groupId>org.parallaxsecond</groupId>
77
<artifactId>parsec-java</artifactId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>0.1.0-SNAPSHOT</version>
99
<distributionManagement>
1010
<repository>
1111
<id>github</id> <!-- MUST match the server-id in the workflow -->

0 commit comments

Comments
 (0)