felleslosninger/efm-integrasjonspunkt

Not possible to build the code with a clean checkout

nixx opened this issue · 2 comments

nixx commented
12:12 $ mvn install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Failure to find no.difi.move-common:move-dependencies:pom:1.0.20 in http://aurora/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ line 89, column 25
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 275, column 21
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project no.difi.meldingsutveksling:parent-pom:1.7.71-SNAPSHOT (/home/k72950/src/move-integrasjonspunkt/pom.xml) has 2 errors
[ERROR]     Non-resolvable import POM: Failure to find no.difi.move-common:move-dependencies:pom:1.0.20 in http://aurora/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ line 89, column 25 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ line 275, column 21
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I guess there are some artifacts in a private repository.

no.difi.move-common:move-dependencies is in the repository located here: https://beta-meldingsutveksling.difi.no/content/repositories/releases/

The repo is defined in the parent pom of the project. I assume this is a problem with your nexus.

The build is also passing in travis.

https://travis-ci.org/difi/move-integrasjonspunkt