Comments (5)
If update dependecy in pom.xml from service, works !
<properties>
<kafka.version>1.0.0</kafka.version>
<!--<config-bootstrapper.version>0.0.2</config-bootstrapper.version>-->
<config-bootstrapper.version>0.0.8</config-bootstrapper.version>
<httpclient.version>4.3.4</httpclient.version>
<commons-io.version>2.4</commons-io.version>
<metrics-library.version>0.0.6</metrics-library.version>
<!--<metrics-library.version>0.0.2</metrics-library.version>-->
</properties>
With Open JDK-8 -- > Bug in surefire (https://stackoverflow.com/a/50661649/545127)
Workaround:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
Mave with Docker:
docker run -it --rm --name otx-build -v c:/opt/otx-reputation/:/usr/src/app -w /usr/src/app maven:3.6-jdk-8 mvn -X clean package -P dist
Now, I'm going to test--
Don't forget, remove reposity AWS Dependency
from otx-reputation.
Results of package with Maven
[INFO] Building jar: /usr/src/app/distribution/target/reputation-otx.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for reputation-otx 0.0.3-SNAPSHOT:
[INFO]
[INFO] reputation-otx ..................................... SUCCESS [ 16.130 s]
[INFO] reputation-otx-service ............................. SUCCESS [01:17 min]
[INFO] distribution ....................................... SUCCESS [ 1.591 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:42 min
[INFO] Finished at: 2018-11-08T10:16:54Z
[INFO] ------------------------------------------------------------------------
Once you update dependency !
from otx-reputation.
Yeah, I am working on that. Thanks
from otx-reputation.
@ST2Labs Could you check to build master, now?
from otx-reputation.
@ST2Labs Could you check to build master, now?
Yes ... With add workaround in "maven" plugins, to work properly with dockerized maven ...
Results:
[INFO] Building jar: /usr/src/app/distribution/target/reputation-otx.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for reputation-otx 0.0.3-SNAPSHOT:
[INFO]
[INFO] reputation-otx ..................................... SUCCESS [ 11.926 s]
[INFO] reputation-otx-service ............................. SUCCESS [01:14 min]
[INFO] distribution ....................................... SUCCESS [ 1.965 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2018-11-08T10:44:00Z
[INFO] ------------------------------------------------------------------------
Thanks !
from otx-reputation.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otx-reputation.