File tree 6 files changed +77
-17
lines changed
6 files changed +77
-17
lines changed Original file line number Diff line number Diff line change
1
+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0"
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
4
+ http://maven.apache.org/xsd/settings-1.0.0.xsd" >
5
+ <servers >
6
+ <server >
7
+ <id >ossrh</id >
8
+ <username >{env.MCR_USERTOKEN}</username >
9
+ <password >{env.MCR_PASSTOKEN}</password >
10
+ </server >
11
+ </servers >
12
+ </settings >
Original file line number Diff line number Diff line change 17
17
script : " mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report org.eluder.coveralls:coveralls-maven-plugin:report -B"
18
18
after_success :
19
19
- bash <(curl -s https://codecov.io/bash)
20
- - stage : integration-
20
+ - stage : integration
21
21
jdk : oraclejdk8
22
22
script : mvn integration-test -B
23
+ - stage : deploy
24
+ if : type = push
25
+ provider : script
26
+ script : " cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
27
+ skip_cleanup : true
Original file line number Diff line number Diff line change 34
34
<url >https://github.com/ChargeTimeEU/Java-OCA-OCPP.git</url >
35
35
</scm >
36
36
37
+ <distributionManagement >
38
+ <snapshotRepository >
39
+ <id >ossrh</id >
40
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
41
+ </snapshotRepository >
42
+ <repository >
43
+ <id >ossrh</id >
44
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
45
+ </repository >
46
+ </distributionManagement >
47
+
37
48
<dependencies >
38
49
39
50
<!-- Logging -->
Original file line number Diff line number Diff line change 34
34
<url >https://github.com/ChargeTimeEU/Java-OCA-OCPP.git</url >
35
35
</scm >
36
36
37
+ <distributionManagement >
38
+ <snapshotRepository >
39
+ <id >ossrh</id >
40
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
41
+ </snapshotRepository >
42
+ <repository >
43
+ <id >ossrh</id >
44
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
45
+ </repository >
46
+ </distributionManagement >
47
+
37
48
<dependencies >
38
49
<dependency >
39
50
<groupId >eu.chargetime.ocpp</groupId >
Original file line number Diff line number Diff line change 7
7
<groupId >eu.chargetime.ocpp</groupId >
8
8
<artifactId >v1_6</artifactId >
9
9
<version >0.5-SNAPSHOT</version >
10
+ <packaging >jar</packaging >
10
11
11
12
<name >Java-OCA-OCPP v1.6</name >
12
13
<description >Implementation of Open Charge-Point Protocol version 1.6.</description >
34
35
<url >https://github.com/ChargeTimeEU/Java-OCA-OCPP.git</url >
35
36
</scm >
36
37
38
+ <distributionManagement >
39
+ <snapshotRepository >
40
+ <id >ossrh</id >
41
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
42
+ </snapshotRepository >
43
+ <repository >
44
+ <id >ossrh</id >
45
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
46
+ </repository >
47
+ </distributionManagement >
48
+
37
49
<dependencies >
38
50
<dependency >
39
51
<groupId >eu.chargetime.ocpp</groupId >
109
121
</execution >
110
122
</executions >
111
123
</plugin >
112
- <!--
113
- <plugin>
114
- <groupId>org.apache.maven.plugins</groupId>
115
- <artifactId>maven-gpg-plugin</artifactId>
116
- <version>1.5</version>
117
- <executions>
118
- <execution>
119
- <id>sign-artifacts</id>
120
- <phase>verify</phase>
121
- <goals>
122
- <goal>sign</goal>
123
- </goals>
124
- </execution>
125
- </executions>
126
- </plugin>
127
- -->
124
+ <!-- <plugin>
125
+ <groupId>org.apache.maven.plugins</groupId>
126
+ <artifactId>maven-gpg-plugin</artifactId>
127
+ <version>1.5</version>
128
+ <executions>
129
+ <execution>
130
+ <id>sign-artifacts</id>
131
+ <phase>verify</phase>
132
+ <goals>
133
+ <goal>sign</goal>
134
+ </goals>
135
+ </execution>
136
+ </executions>
137
+ </plugin> -->
128
138
</plugins >
129
139
</build >
130
140
Original file line number Diff line number Diff line change 41
41
<module >ocpp-v1_6-test</module >
42
42
</modules >
43
43
44
+ <distributionManagement >
45
+ <snapshotRepository >
46
+ <id >ossrh</id >
47
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
48
+ </snapshotRepository >
49
+ <repository >
50
+ <id >ossrh</id >
51
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
52
+ </repository >
53
+ </distributionManagement >
54
+
44
55
<build >
45
56
<plugins >
46
57
<plugin >
You can’t perform that action at this time.
0 commit comments