Skip to content

Commit 7a12813

Browse files
committed
noticket: Revert publish workflow to using explicit profiles
1 parent e964aeb commit 7a12813

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Publish package
7979
run: |
80-
mvn $MAVEN_ARGS -DyojRelease -DskipTests -Dgpg.passphrase=${{ secrets.MAVEN_OSSRH_GPG_PASSWORD }} clean deploy
80+
mvn $MAVEN_ARGS -Possrh-s01 -Plombok -Pjavadoc-and-source -DskipTests -Dgpg.passphrase=${{ secrets.MAVEN_OSSRH_GPG_PASSWORD }} clean deploy
8181
env:
8282
MAVEN_USERNAME: ${{ secrets.MAVEN_OSSRH_USERNAME }}
8383
MAVEN_PASSWORD: ${{ secrets.MAVEN_OSSRH_TOKEN }}

pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@
160160
<profile>
161161
<activation>
162162
<activeByDefault>true</activeByDefault>
163-
<property>
164-
<name>yojRelease</name>
165-
</property>
166163
</activation>
167164
<id>lombok</id>
168165
<dependencies>
@@ -204,9 +201,6 @@
204201
<id>javadoc-and-source</id>
205202
<activation>
206203
<activeByDefault>false</activeByDefault>
207-
<property>
208-
<name>yojRelease</name>
209-
</property>
210204
</activation>
211205
<build>
212206
<plugins>
@@ -253,9 +247,6 @@
253247
<id>ossrh-s01</id>
254248
<activation>
255249
<activeByDefault>false</activeByDefault>
256-
<property>
257-
<name>yojRelease</name>
258-
</property>
259250
</activation>
260251

261252
<build>

0 commit comments

Comments
 (0)