Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Issues #54

Closed
bmottin opened this issue Oct 10, 2019 · 7 comments
Closed

Build Issues #54

bmottin opened this issue Oct 10, 2019 · 7 comments

Comments

@bmottin
Copy link

bmottin commented Oct 10, 2019

image

Today I downloaded and attempted to compile and got the error you see in the screenshot I took. Following the advice of the admin here:

#48

I am able to compile without issue using the following commands...

git clone https://github.com/dma-dk/dma-developers.git
cd dma-developers/rootpom/
mvn clean install -DskipTests
cd ../..
git clone https://github.com/dma-enav/e-Navigation.git
cd e-Navigation/
mvn clean install -DskipTests
cd ..
git clone https://github.com/dma-dk/dma-commons.git
cd dma-commons/
mvn clean install -DskipTests
cd ..
git clone https://github.com/kaspernielsen/codegen.git
cd codegen
mvn clean install -DskipTests
cd ..
git clone https://github.com/MaritimeConnectivityPlatform/MaritimeCloud.git
cd MaritimeCloud
sed -i 's/0.1/0.8-SNAPSHOT/' mc-msdl/mc-msdl-javagenerator/pom.xml
mvn clean install -DskipTests
cd ..
git clone https://github.com/dma-ais/AisLib.git
cd AisLib/
mvn clean install -DskipTests

Is there still an issue with the artifacts for this project? I'm on Centos 7.6 and I'm running maven v3.6.2.

@borchsenius
Copy link
Contributor

borchsenius commented Oct 25, 2019

The dependencies needed for building AisLib have been added to maven central.
Everybody should be able to build AisLib with $ mvn clean install now
@bmottin try pulling the latest changes and rebuild. Please share your results

@bmottin
Copy link
Author

bmottin commented Oct 25, 2019

I believe the issue still remains. I did a fresh git clone from the repo and it built fine. Then I deleted the .m2 repo dir in my home directory and tried to rebuild with a clean system. The same issue persists.

image

@borchsenius
Copy link
Contributor

According to this public build https://travis-ci.org/dma-ais/AisLib it should be possible to do a clean build.
Build Status
Can you provide the complete build log? (more than the screenshot)

@bmottin
Copy link
Author

bmottin commented Oct 25, 2019

Absolutely!

AisLib_build.log

@borchsenius
Copy link
Contributor

Thank you!
I have just committed a change that allows snapshots version from the oss.sonatype.org's staging repository.
Try pulling the latest version and do a clean build again

@bmottin
Copy link
Author

bmottin commented Oct 25, 2019

Build succeeded! Thank you!

@borchsenius
Copy link
Contributor

great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants