File tree 2 files changed +24
-2
lines changed 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,12 @@ jobs:
32
32
33
33
- name : Build with Maven
34
34
env :
35
+ COMMERCIAL_USERNAME : ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
36
+ COMMERCIAL_PASSWORD : ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_PASSWORD }}
35
37
GRADLE_ENTERPRISE_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
36
38
GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
37
39
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
38
40
run : |
39
41
cd spring-modulith-examples
40
- ../mvnw -B versions:update-parent -DskipResolution=true -DparentVersion=${{ matrix.version }}
41
- ../mvnw -B clean verify -Pwith-preview-repos -Dspring-boot.version=${{ matrix.version }}
42
+ ../mvnw -B versions:update-parent -Pwith-preview-repos,with-commercial-repos - DskipResolution=true -DparentVersion=${{ matrix.version }}
43
+ ../mvnw -B clean verify -Pwith-preview-repos,with-commercial-repos -Dspring-boot.version=${{ matrix.version }}
Original file line number Diff line number Diff line change @@ -123,6 +123,26 @@ limitations under the License.
123
123
</repositories >
124
124
</profile >
125
125
126
+ <profile >
127
+ <id >with-commercial-repos</id >
128
+ <repositories >
129
+ <repository >
130
+ <id >spring-commercial-releases</id >
131
+ <url >https://repo.spring.vmware.com/spring-commercial-release</url >
132
+ <snapshots >
133
+ <enabled >false</enabled >
134
+ </snapshots >
135
+ </repository >
136
+ <repository >
137
+ <id >spring-commercial-snapshots</id >
138
+ <url >https://repo.spring.vmware.com/spring-commercial-snapshot</url >
139
+ <releases >
140
+ <enabled >false</enabled >
141
+ </releases >
142
+ </repository >
143
+ </repositories >
144
+ </profile >
145
+
126
146
<profile >
127
147
128
148
<id >prepare-release</id >
You can’t perform that action at this time.
0 commit comments