Open apupier opened 7 years ago
hum I have a different exception when I don't skip tests:
Tests in error: AtlasUtilTest.testFindClassesForPackage:105 » IllegalArgument Unable to detect...
I'm on Windows, maybe this test is failing on Windows?
Would nice to have the build working when skipTest is used anyway.
See https://github.com/atlasmap/atlasmap/issues/23 for a duplicate (and resolution) of this.
this is a different issue.
i'm using java 1.8.0_112
Sorry, my fault. The issue is that you have to run it with -Pfull
on the first time launch. Should be documented somewhere, though. See also https://github.com/atlasmap/atlasmap/blob/master/.circleci/config.yml for how the CI does it.
i think that it is another issue again because "full" profile is active by default: https://github.com/atlasmap/atlasmap/blob/master/pom.xml#L138
there are 2 different issues:
@mattrpav could you please have a look ?
@apupier i'm wondering if the atlas-model isn't built so the test is failing to find the classes. The test looks for 'io.atlasmap.v2' classes, which are from the atlas-model module.
Can you delete your ~/.m2/repository/io/atlasmap/* and rebuild from scratch? I'll try to catch up w/ you on IRC as well
Recap of IRC discussion.. @apupier is dedicated to Fuse projects and may not have time to capture full build output. @mattrpav to hunt down an alternative windows systen to test the build.
@apupier please retest with the fixes applied! Thanks =)
Is this still a problem? I tried 'rm -rf ~/.m2/repository/io/atlasmap' and mvn clean install just succeeded.
Discussed.. don't use -DskipTests b/c it causes the jar plugin to not build the -tests jars which contain test modules used in itests projects.
Use -Dmaven.test.skip=true instead
[ERROR] Failed to execute goal on project atlas-java-module: Could not resolve dependencies for project io.atlasmap:atlas-java-module:bundle:1.15.0-SNAPSHOT: Failure to find io.atlasmap:atlas-core:jar:tests:1.15.0-SNAPSHOT in http://maven.restlet.com was cached in the local repository, resolution will not be reattempted until the update interval of maven-restlet has elapsed or updates are forced -> [Help 1]
I tried:
I'm using Maven 3.3.9