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
>>
>
>

Reply via email to