File tree 4 files changed +48
-2
lines changed
aws-lambda-java-runtime-interface-client
4 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 1
1
compile-flags.txt
2
+ ric-dev-environment /dev-maven-repo.mk
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ ARCHITECTURE := $(shell arch)
4
4
ARCHITECTURE_ALIAS := $($(shell echo "$(ARCHITECTURE ) _ALIAS") )
5
5
ARCHITECTURE_ALIAS := $(or $(ARCHITECTURE_ALIAS ) ,amd64) # on any other archs defaulting to amd64
6
6
7
+ # This optional module exports MAVEN_REPO_URL, MAVEN_REPO_USERNAME and MAVEN_REPO_PASSWORD environment variables
8
+ # making it possible to publish resulting artifacts to a development maven repository
9
+ -include ric-dev-environment/dev-maven-repo.mk
10
+
7
11
.PHONY : target
8
12
target :
9
13
$(info ${HELP_MESSAGE})
@@ -42,6 +46,10 @@ pr: test test-smoke
42
46
build :
43
47
mvn clean install
44
48
49
+ .PHONY : publish
50
+ publish :
51
+ mvn deploy --settings ric-dev-environment/settings.xml
52
+
45
53
define HELP_MESSAGE
46
54
47
55
Usage: $ make [TARGETS]
Original file line number Diff line number Diff line change 36
36
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
37
37
<maven .compiler.source>1.8</maven .compiler.source>
38
38
<maven .compiler.target>1.8</maven .compiler.target>
39
- <jacoco .maven.plugin.version>0.8.7 </jacoco .maven.plugin.version>
39
+ <jacoco .maven.plugin.version>0.8.8 </jacoco .maven.plugin.version>
40
40
<!--
41
41
The test/integration/codebuild/buildspec.*.yml files will set -DmultiArch=false
42
42
as a workaround for executing within Github Actions. At time of writing (2022-04-08) the
115
115
<plugin >
116
116
<groupId >org.apache.maven.plugins</groupId >
117
117
<artifactId >maven-compiler-plugin</artifactId >
118
- <version >3.8 .1</version >
118
+ <version >3.10 .1</version >
119
119
<configuration >
120
120
<encoding >UTF-8</encoding >
121
121
<source >${maven.compiler.source} </source >
125
125
<plugin >
126
126
<groupId >org.apache.maven.plugins</groupId >
127
127
<artifactId >maven-jar-plugin</artifactId >
128
+ <version >3.3.0</version >
128
129
<configuration >
129
130
<archive >
130
131
<manifest >
183
184
<profiles >
184
185
<profile >
185
186
<id >dev</id >
187
+ <activation >
188
+ <file >
189
+ <exists >ric-dev-environment/dev-maven-repo.mk</exists >
190
+ </file >
191
+ </activation >
192
+ <distributionManagement >
193
+ <snapshotRepository >
194
+ <id >dev-snapshot-repo</id >
195
+ <url >${env.MAVEN_REPO_URL} </url >
196
+ </snapshotRepository >
197
+ </distributionManagement >
186
198
<build >
187
199
<plugins >
188
200
<plugin >
Original file line number Diff line number Diff line change
1
+ <settings >
2
+ <profiles >
3
+ <profile >
4
+ <id >dev</id >
5
+ <activation >
6
+ <file >
7
+ <exists >dev-maven-repo.mk</exists >
8
+ </file >
9
+ </activation >
10
+ <repositories >
11
+ <repository >
12
+ <id >dev-snapshot-repo</id >
13
+ <url >${env.MAVEN_REPO_URL}</url >
14
+ </repository >
15
+ </repositories >
16
+ </profile >
17
+ </profiles >
18
+ <servers >
19
+ <server >
20
+ <id >dev-snapshot-repo</id >
21
+ <username >${env.MAVEN_REPO_USERNAME}</username >
22
+ <password >${env.MAVEN_REPO_PASSWORD}</password >
23
+ </server >
24
+ </servers >
25
+ </settings >
You can’t perform that action at this time.
0 commit comments