File tree 3 files changed +68
-2
lines changed
3 files changed +68
-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 -s ../settings.xml -Pwith-preview-repos,with-commercial-repos - DskipResolution=true -DparentVersion=${{ matrix.version }}
43
+ ../mvnw -B clean verify -s ../settings.xml - 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/artifactory/spring-commercial-release-local</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/artifactory/spring-commercial-snapshot-local</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 >
Original file line number Diff line number Diff line change 29
29
<spring-boot .version>3.3.0</spring-boot .version>
30
30
</properties >
31
31
32
+ <profiles >
33
+ <profile >
34
+ <id >with-preview-repos</id >
35
+ <repositories >
36
+ <repository >
37
+ <id >spring-milestone</id >
38
+ <url >https://repo.spring.io/milestone</url >
39
+ <snapshots >
40
+ <enabled >false</enabled >
41
+ </snapshots >
42
+ </repository >
43
+ <repository >
44
+ <id >spring-snapshot</id >
45
+ <url >https://repo.spring.io/snapshot</url >
46
+ <releases >
47
+ <enabled >false</enabled >
48
+ </releases >
49
+ </repository >
50
+ </repositories >
51
+ </profile >
52
+
53
+ <profile >
54
+ <id >with-commercial-repos</id >
55
+ <repositories >
56
+ <repository >
57
+ <id >spring-commercial-releases</id >
58
+ <url >https://repo.spring.vmware.com/artifactory/spring-commercial-release-local</url >
59
+ <snapshots >
60
+ <enabled >false</enabled >
61
+ </snapshots >
62
+ </repository >
63
+ <repository >
64
+ <id >spring-commercial-snapshots</id >
65
+ <url >https://repo.spring.vmware.com/artifactory/spring-commercial-snapshot-local</url >
66
+ <releases >
67
+ <enabled >false</enabled >
68
+ </releases >
69
+ </repository >
70
+ </repositories >
71
+ </profile >
72
+
73
+ </profiles >
74
+
32
75
<build >
33
76
<defaultGoal >verify</defaultGoal >
34
77
143
186
</releases >
144
187
</pluginRepository >
145
188
</pluginRepositories >
189
+
146
190
</project >
You can’t perform that action at this time.
0 commit comments