Skip to content

Commit 16382a5

Browse files
committed
Point at core pom.xml instead of plugin pom.xml for building josm and josm-unittest
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
1 parent ab9710a commit 16382a5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ant.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
if: ${{ hashFiles(format('josm/plugins/{0}/pom.xml', inputs.plugin-directory)) != '' }}
160160
run: |
161161
cd $GITHUB_WORKSPACE/josm/plugins/${{ inputs.plugin-directory }}
162-
mvn --file ../pom.xml package install --projects org.openstreetmap.josm:josm,org.openstreetmap.josm:josm-unittest -DskipTests
162+
mvn --file ../../core/pom.xml package install -DskipTests
163163
mvn --file pom.xml package javadoc:jar source:jar -DskipTests -Dplugin.dist.dir=../../dist -Dplugin.version=${{ steps.version.outputs.version }}
164164
mv target/${{ inputs.plugin-jar-name }}-*-sources.jar ../../dist/${{ inputs.plugin-jar-name }}-sources.jar
165165
mv target/${{ inputs.plugin-jar-name }}-*-javadoc.jar ../../dist/${{ inputs.plugin-jar-name }}-javadoc.jar

.github/workflows/internal_ant.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
if: ${{ hashFiles(format('josm/plugins/{0}/pom.xml', inputs.plugin-directory)) != '' }}
160160
run: |
161161
cd $GITHUB_WORKSPACE/josm/plugins/${{ inputs.plugin-directory }}
162-
mvn --file ../pom.xml package install --projects org.openstreetmap.josm:josm,org.openstreetmap.josm:josm-unittest -DskipTests
162+
mvn --file ../../core/pom.xml package install -DskipTests
163163
mvn --file pom.xml package javadoc:jar source:jar -DskipTests -Dplugin.dist.dir=../../dist -Dplugin.version=${{ steps.version.outputs.version }}
164164
mv target/${{ inputs.plugin-jar-name }}-*-sources.jar ../../dist/${{ inputs.plugin-jar-name }}-sources.jar
165165
mv target/${{ inputs.plugin-jar-name }}-*-javadoc.jar ../../dist/${{ inputs.plugin-jar-name }}-javadoc.jar

0 commit comments

Comments
 (0)