From 6878c34787f868c90d346d94556720697c3f9b75 Mon Sep 17 00:00:00 2001 From: Ben Yarger Date: Tue, 13 Dec 2022 11:42:12 -0800 Subject: [PATCH] Flattening pom for nstest. --- .github/workflows/deploy.yml | 2 +- .gitignore | 1 + NST/pom.xml | 28 ++++++++++++++++++++++++++++ pom.xml | 2 +- 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 22bd501..9387905 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: uses: ncipollo/release-action@v1 with: allowUpdates: true - artifacts: "${{ github.workspace }}/NST/target/*.jar,${{ github.workspace }}/pom.xml" + artifacts: "${{ github.workspace }}/NST/target/*.jar" token: ${{ secrets.GITHUB_TOKEN }} - name: Publish to the Maven Central Repository run: mvn --no-transfer-progress --batch-mode deploy -pl com.ebay.nst:nstest diff --git a/.gitignore b/.gitignore index e5154cf..28ee960 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ test-output/ target/ BreezeTestsStats/ TestReport.csv +.flattened-pom.xml diff --git a/NST/pom.xml b/NST/pom.xml index 5e22fbe..9450670 100644 --- a/NST/pom.xml +++ b/NST/pom.xml @@ -40,6 +40,34 @@ + + + org.codehaus.mojo + flatten-maven-plugin + 1.3.0 + + oss + + + + + flatten + process-resources + + flatten + + + + + flatten.clean + clean + + clean + + + + + org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index dfba500..2f6cde3 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ 3.6.0 2.9 UTF-8 - 1.0.3 + 1.0.4 7.5 true