BUILD FAILURE - websnapshot-api
Opened this issue · 6 comments
I have done this :
git clone https://github.com/Asqatasun/Web-Snapshot.git
cd Web-Snapshot
maven clean install
and I have seen the following error :
Failed to execute goal on project websnapshot-api: Could not resolve dependencies for project org.opens:websnapshot-api:jar:1.0-RC1: Failure to find org.opens:commons-entity:jar:3.0.0-beta8 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
There are dependencies to asqatasun-commons-entities (all that deal with CRUD on entities).
So we need to have an archiva or a nexus to host our artificats and then use them as dependencies for other projects.
OK, I'm dealing with the install. There is a Docker image for Archiva that seems to do the job. Stay tuned (but first, let's finish the 4.0.0 release :) )
That could be great to have an archiva to push the artifacts of the 4.0.0. Could and can be done now.
It's painless !!
OK, this may be accountable in beers :)
[INFO] websnapshot ....................................... SUCCESS [0.317s]
[INFO] websnapshot-api ................................... SUCCESS [1.468s]
[INFO] websnapshot-service ............................... FAILURE [20.624s]
[INFO] websnapshot-impl .................................. SKIPPED
now, it's ok for websnapshot-api
but not for websnapshot-service #2
Waiting for an archiva, asqatasun must have previously been built on the machine, in its 4.0.0-SNAPSHOT version (current develop branch).
Once built, the dependencies will be copied in your local maven repository and then, you'll be able to build the websnapshot.
I know it's a bit dirty, but by now, it works