I saw the umbrella POM of the Java projects has an outdated test-data version: <devicemap.testdata.version>1.0.0</devicemap.testdata.version> will change it there, the right place to do, but why didn't Jenkins flag that by throwing an error??
Is there some repository the 1.0.0 versions are deployed to after all?[?] test-data was tagged once, but not officially released, that's left to a DDR release, sice the other clients do not use it in their unit tests, so it could not have been released as. Werner On Thu, Jul 31, 2014 at 3:52 PM, Werner Keil <[email protected]> wrote: > The "Reactor" POM calls them in the right order, and artifacts like > test-data are temporarily deployed: > > [INFO] Installing > /home/jenkins/jenkins-slave/workspace/devicemap-java6/trunk/data/test-data/pom.xml > to > /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/devicemap/devicemap-test-data/1.0.1-SNAPSHOT/devicemap-test-data-1.0.1-SNAPSHOT.pom > > > but I doubt the next Jenkins job picks them up if they were unchanged, so > calling the same locally as Jenkins should work. > > Ultimately we should ensure, released artifacts aren't just on the > download page http://incubator.apache.org/devicemap/download/ but Maven > repositories, at least that by Apache. > > Werner > > On Thu, Jul 31, 2014 at 3:42 PM, Werner Keil <[email protected]> > wrote: > >> Did you try the same as the public Jenkins build?[?] >> AFAIK that does not do any caching or store things in local repo, so why >> isn't the Jenkins build broken? >> >> Werner >> >> >> On Thu, Jul 31, 2014 at 3:37 PM, Bertrand Delacretaz < >> [email protected]> wrote: >> >>> On Thu, Jul 31, 2014 at 3:31 PM, Werner Keil <[email protected]> >>> wrote: >>> > ...you must check out >>> > the entire "java" hierarchy and build the parent POM at least once... >>> >>> I tried that from the top level of a >>> https://svn.apache.org/repos/asf/incubator/devicemap/trunk checkout >>> and it didn't work for me, starting with an empty local Maven >>> repository, see below. >>> >>> I would suggest changing that dependency to a snapshot for now, so >>> that the build is self-contained and tests the latest stuff. >>> >>> $ rm -rf ~/.m2/repository/org/apache/devicemap/ >>> $ mvn clean install >>> >>> [ERROR] Failed to execute goal on project devicemap-simpleddr: Could >>> not resolve dependencies for project >>> org.apache.devicemap:devicemap-simpleddr:jar:1.0.0: Could not find >>> artifact org.apache.devicemap:devicemap-test-data:jar:1.0.0 in central >>> (http://repo.maven.apache.org/maven2) -> [Help 1] >>> >>> -Bertrand >>> >> >> >
