Skip to content

Commit b303690

Browse files
Artem LabazinArtem Labazin
Artem Labazin
authored and
Artem Labazin
committed
Fix build issue
1 parent d9dfe9b commit b303690

File tree

14 files changed

+86
-108
lines changed

14 files changed

+86
-108
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ before_deploy:
2727
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
2828
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
2929
- sed -i -- "s/\${env.SONATYPE_PASSWORD}/$SONATYPE_PASSWORD/g" .settings.xml
30-
- mvn --settings .settings.xml clean deploy -DskipTests=true -Dmaven.javadoc.skip=false -B -U
30+
- mvn --settings .settings.xml clean deploy -DskipTests=true -Dfindbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip -Dmaven.javadoc.skip=false -B -U
3131

3232
deploy:
3333
provider: releases

benchmark/pom.xml

-22
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,6 @@ limitations under the License.
7575

7676
<build>
7777
<plugins>
78-
<plugin>
79-
<groupId>org.apache.maven.plugins</groupId>
80-
<artifactId>maven-deploy-plugin</artifactId>
81-
<configuration>
82-
<skip>true</skip>
83-
</configuration>
84-
</plugin>
85-
<plugin>
86-
<groupId>org.sonatype.plugins</groupId>
87-
<artifactId>nexus-staging-maven-plugin</artifactId>
88-
<configuration>
89-
<skipStaging>true</skipStaging>
90-
</configuration>
91-
</plugin>
92-
<plugin>
93-
<groupId>org.apache.maven.plugins</groupId>
94-
<artifactId>maven-gpg-plugin</artifactId>
95-
<configuration>
96-
<skip>true</skip>
97-
</configuration>
98-
</plugin>
99-
10078
<plugin>
10179
<groupId>org.apache.maven.plugins</groupId>
10280
<artifactId>maven-compiler-plugin</artifactId>

encon-common/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ limitations under the License.
7272
<groupId>org.apache.maven.plugins</groupId>
7373
<artifactId>maven-javadoc-plugin</artifactId>
7474
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-source-plugin</artifactId>
78+
</plugin>
7579

7680
<plugin>
7781
<groupId>org.codehaus.mojo</groupId>

encon-config/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ limitations under the License.
8282
<groupId>org.apache.maven.plugins</groupId>
8383
<artifactId>maven-javadoc-plugin</artifactId>
8484
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-source-plugin</artifactId>
88+
</plugin>
8589

8690
<plugin>
8791
<groupId>org.codehaus.mojo</groupId>

encon-databind/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ limitations under the License.
8282
<groupId>org.apache.maven.plugins</groupId>
8383
<artifactId>maven-javadoc-plugin</artifactId>
8484
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-source-plugin</artifactId>
88+
</plugin>
8589

8690
<plugin>
8791
<groupId>org.codehaus.mojo</groupId>

encon-handler/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ limitations under the License.
8484
<groupId>org.apache.maven.plugins</groupId>
8585
<artifactId>maven-javadoc-plugin</artifactId>
8686
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-source-plugin</artifactId>
90+
</plugin>
8791

8892
<plugin>
8993
<groupId>org.codehaus.mojo</groupId>

encon-spring/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ limitations under the License.
8989
<groupId>org.apache.maven.plugins</groupId>
9090
<artifactId>maven-javadoc-plugin</artifactId>
9191
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-source-plugin</artifactId>
95+
</plugin>
9296

9397
<plugin>
9498
<groupId>org.codehaus.mojo</groupId>

encon-terms/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ limitations under the License.
7979
<groupId>org.apache.maven.plugins</groupId>
8080
<artifactId>maven-javadoc-plugin</artifactId>
8181
</plugin>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-source-plugin</artifactId>
85+
</plugin>
8286

8387
<plugin>
8488
<groupId>org.codehaus.mojo</groupId>

encon-terms/src/main/java/io/appulse/encon/terms/type/ErlangInteger.java

+6-10
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class ErlangInteger extends ErlangTerm {
6969
/**
7070
* Creates cached {@link ErlangInteger} value.
7171
*
72-
* @param number integer value
72+
* @param value integer value
7373
*
7474
* @return new or cached {@link ErlangInteger} object
7575
*/
@@ -88,7 +88,7 @@ public static ErlangInteger cached (byte value) {
8888
/**
8989
* Creates cached {@link ErlangInteger} value.
9090
*
91-
* @param number integer value
91+
* @param value integer value
9292
*
9393
* @return new or cached {@link ErlangInteger} object
9494
*/
@@ -108,7 +108,7 @@ public static ErlangInteger cached (char value) {
108108
/**
109109
* Creates cached {@link ErlangInteger} value.
110110
*
111-
* @param number integer value
111+
* @param value integer value
112112
*
113113
* @return new or cached {@link ErlangInteger} object
114114
*/
@@ -128,7 +128,7 @@ public static ErlangInteger cached (short value) {
128128
/**
129129
* Creates cached {@link ErlangInteger} value.
130130
*
131-
* @param number integer value
131+
* @param value integer value
132132
*
133133
* @return new or cached {@link ErlangInteger} object
134134
*/
@@ -150,7 +150,7 @@ public static ErlangInteger cached (int value) {
150150
/**
151151
* Creates cached {@link ErlangInteger} value.
152152
*
153-
* @param number integer value
153+
* @param value integer value
154154
*
155155
* @return new or cached {@link ErlangInteger} object
156156
*/
@@ -176,18 +176,14 @@ public static ErlangInteger cached (long value) {
176176
/**
177177
* Creates cached {@link ErlangInteger} value.
178178
*
179-
* @param number integer value
179+
* @param value integer value
180180
*
181181
* @return new or cached {@link ErlangInteger} object
182182
*/
183183
public static ErlangInteger cached (BigInteger value) {
184184
if (value.bitLength() < Long.BYTES) {
185185
return cached(value.longValue());
186186
}
187-
// int hashCode = value.signum() == -1
188-
// ? 32
189-
// : 31;
190-
// return CACHE.computeIfAbsent(hashCode, key -> new ErlangInteger(value));
191187
return new ErlangInteger(value);
192188
}
193189

encon/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ limitations under the License.
122122
<groupId>org.apache.maven.plugins</groupId>
123123
<artifactId>maven-javadoc-plugin</artifactId>
124124
</plugin>
125+
<plugin>
126+
<groupId>org.apache.maven.plugins</groupId>
127+
<artifactId>maven-source-plugin</artifactId>
128+
</plugin>
125129

126130
<plugin>
127131
<groupId>org.codehaus.mojo</groupId>

examples/echo-server-spring/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ limitations under the License.
9494
<plugin>
9595
<groupId>org.springframework.boot</groupId>
9696
<artifactId>spring-boot-maven-plugin</artifactId>
97+
<version>2.0.4.RELEASE</version>
9798
</plugin>
9899
</plugins>
99100
</build>

examples/load-config-spring/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ limitations under the License.
9494
<plugin>
9595
<groupId>org.springframework.boot</groupId>
9696
<artifactId>spring-boot-maven-plugin</artifactId>
97+
<version>2.0.4.RELEASE</version>
9798
</plugin>
9899
</plugins>
99100
</build>

examples/pom.xml

-26
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,4 @@ limitations under the License.
4242
<module>load-config</module>
4343
<module>load-config-spring</module>
4444
</modules>
45-
46-
<build>
47-
<plugins>
48-
<plugin>
49-
<groupId>org.apache.maven.plugins</groupId>
50-
<artifactId>maven-deploy-plugin</artifactId>
51-
<configuration>
52-
<skip>true</skip>
53-
</configuration>
54-
</plugin>
55-
<plugin>
56-
<groupId>org.sonatype.plugins</groupId>
57-
<artifactId>nexus-staging-maven-plugin</artifactId>
58-
<configuration>
59-
<skipStaging>true</skipStaging>
60-
</configuration>
61-
</plugin>
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-gpg-plugin</artifactId>
65-
<configuration>
66-
<skip>true</skip>
67-
</configuration>
68-
</plugin>
69-
</plugins>
70-
</build>
7145
</project>

pom.xml

+49-49
Original file line numberDiff line numberDiff line change
@@ -333,24 +333,59 @@ limitations under the License.
333333
</execution>
334334
</executions>
335335
</plugin>
336+
337+
<plugin>
338+
<groupId>org.apache.maven.plugins</groupId>
339+
<artifactId>maven-source-plugin</artifactId>
340+
<version>3.0.1</version>
341+
<executions>
342+
<execution>
343+
<id>attach-sources</id>
344+
<goals>
345+
<goal>jar</goal>
346+
</goals>
347+
</execution>
348+
</executions>
349+
</plugin>
350+
351+
<plugin>
352+
<groupId>org.apache.maven.plugins</groupId>
353+
<artifactId>maven-deploy-plugin</artifactId>
354+
<version>2.8.2</version>
355+
<configuration>
356+
<skip>true</skip>
357+
</configuration>
358+
</plugin>
359+
<plugin>
360+
<groupId>org.sonatype.plugins</groupId>
361+
<artifactId>nexus-staging-maven-plugin</artifactId>
362+
<version>1.6.8</version>
363+
<extensions>true</extensions>
364+
<configuration>
365+
<serverId>ossrh</serverId>
366+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
367+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
368+
</configuration>
369+
</plugin>
370+
371+
<plugin>
372+
<groupId>org.apache.maven.plugins</groupId>
373+
<artifactId>maven-gpg-plugin</artifactId>
374+
<version>1.6</version>
375+
<executions>
376+
<execution>
377+
<id>sign-artifacts</id>
378+
<phase>verify</phase>
379+
<goals>
380+
<goal>sign</goal>
381+
</goals>
382+
</execution>
383+
</executions>
384+
</plugin>
336385
</plugins>
337386
</pluginManagement>
338387

339388
<plugins>
340-
<plugin>
341-
<groupId>org.apache.maven.plugins</groupId>
342-
<artifactId>maven-source-plugin</artifactId>
343-
<version>3.0.1</version>
344-
<executions>
345-
<execution>
346-
<id>attach-sources</id>
347-
<goals>
348-
<goal>jar</goal>
349-
</goals>
350-
</execution>
351-
</executions>
352-
</plugin>
353-
354389
<plugin>
355390
<groupId>org.apache.maven.plugins</groupId>
356391
<artifactId>maven-surefire-plugin</artifactId>
@@ -388,41 +423,6 @@ limitations under the License.
388423
</execution>
389424
</executions>
390425
</plugin>
391-
392-
<plugin>
393-
<groupId>org.apache.maven.plugins</groupId>
394-
<artifactId>maven-deploy-plugin</artifactId>
395-
<version>2.8.2</version>
396-
<configuration>
397-
<skip>true</skip>
398-
</configuration>
399-
</plugin>
400-
<plugin>
401-
<groupId>org.sonatype.plugins</groupId>
402-
<artifactId>nexus-staging-maven-plugin</artifactId>
403-
<version>1.6.8</version>
404-
<extensions>true</extensions>
405-
<configuration>
406-
<serverId>ossrh</serverId>
407-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
408-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
409-
</configuration>
410-
</plugin>
411-
412-
<plugin>
413-
<groupId>org.apache.maven.plugins</groupId>
414-
<artifactId>maven-gpg-plugin</artifactId>
415-
<version>1.6</version>
416-
<executions>
417-
<execution>
418-
<id>sign-artifacts</id>
419-
<phase>verify</phase>
420-
<goals>
421-
<goal>sign</goal>
422-
</goals>
423-
</execution>
424-
</executions>
425-
</plugin>
426426
</plugins>
427427
</build>
428428
</project>

0 commit comments

Comments
 (0)