You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2013/06/02 09:25:30 UTC

Re: git commit: CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar

Did this work for others?

I get this error now building from master in the root dir I execute
mvn clean install -Dtest=false

And then I get this:

[INFO] Camel :: Integration Tests :: Non OSGi ............ FAILURE [1.745s]
...

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project camel-itest: Could not
resolve dependencies for project
org.apache.camel:camel-itest:jar:2.12-SNAPSHOT: Could not find
artifact org.apache.camel:camel-validator-test-resources:jar:1.0.0 in
maven-restlet (http://maven.restlet.org) -> [Help 1]


On Sun, Jun 2, 2013 at 12:11 AM,  <bv...@apache.org> wrote:
> Updated Branches:
>   refs/heads/master bdf64e05c -> 6ca055d39
>
>
> CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar
>
> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6ca055d3
> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6ca055d3
> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6ca055d3
>
> Branch: refs/heads/master
> Commit: 6ca055d399b7528175f0192f5d948350e1ee7258
> Parents: bdf64e0
> Author: Babak Vahdat <bv...@apache.org>
> Authored: Sun Jun 2 00:11:18 2013 +0200
> Committer: Babak Vahdat <bv...@apache.org>
> Committed: Sun Jun 2 00:11:18 2013 +0200
>
> ----------------------------------------------------------------------
>  .../1.0.0/camel-validator-test-resources.jar       |  Bin 0 -> 17660 bytes
>  tests/camel-itest/pom.xml                          |   13 +++++++++----
>  .../test/lib/camel-validator-test-resources.jar    |  Bin 17660 -> 0 bytes
>  3 files changed, 9 insertions(+), 4 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-validator-test-resources.jar
> ----------------------------------------------------------------------
> diff --git a/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-validator-test-resources.jar b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-validator-test-resources.jar
> new file mode 100644
> index 0000000..b9b3144
> Binary files /dev/null and b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-validator-test-resources.jar differ
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-itest/pom.xml
> ----------------------------------------------------------------------
> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
> index 78a943a..47d2748 100644
> --- a/tests/camel-itest/pom.xml
> +++ b/tests/camel-itest/pom.xml
> @@ -35,6 +35,13 @@
>        <name>Public online Restlet repository</name>
>        <url>http://maven.restlet.org</url>
>      </repository>
> +
> +    <!-- required for validator tests -->
> +    <repository>
> +      <id>camel-validator-test-repo</id>
> +      <name>This project repository contains camel-validator-test-resources-1.0.0.jar</name>
> +      <url>file://${basedir}/lib</url>
> +    </repository>
>    </repositories>
>
>    <dependencies>
> @@ -176,7 +183,7 @@
>        <scope>test</scope>
>      </dependency>
>
> -         <dependency>
> +    <dependency>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>camel-ftp</artifactId>
>        <scope>test</scope>
> @@ -327,13 +334,11 @@
>        <scope>test</scope>
>      </dependency>
>
> -    <!-- for validator tests -->
> +    <!-- for validator tests, the artifact itself is included inside the project repository 'camel-validator-test-repo' above -->
>      <dependency>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>camel-validator-test-resources</artifactId>
>        <version>1.0.0</version>
> -      <scope>system</scope>
> -      <systemPath>${basedir}/src/test/lib/camel-validator-test-resources.jar</systemPath>
>      </dependency>
>
>      <!-- atomikos XA TX manager -->
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
> ----------------------------------------------------------------------
> diff --git a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar b/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
> deleted file mode 100644
> index b9b3144..0000000
> Binary files a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar and /dev/null differ
>



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: git commit: CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar

Posted by Babak Vahdat <ba...@swissonline.ch>.
Hi

Yes it works perfectly for me but apparently not on the CI server as well
as for others. No idea what the problem is but I'm looking into it right
now to find the root cause of the problem. Sorry!

Babak

Am 02.06.13 09:25 schrieb "Claus Ibsen" unter <cl...@gmail.com>:

>Did this work for others?
>
>I get this error now building from master in the root dir I execute
>mvn clean install -Dtest=false
>
>And then I get this:
>
>[INFO] Camel :: Integration Tests :: Non OSGi ............ FAILURE
>[1.745s]
>...
>
>[INFO] 
>------------------------------------------------------------------------
>[ERROR] Failed to execute goal on project camel-itest: Could not
>resolve dependencies for project
>org.apache.camel:camel-itest:jar:2.12-SNAPSHOT: Could not find
>artifact org.apache.camel:camel-validator-test-resources:jar:1.0.0 in
>maven-restlet (http://maven.restlet.org) -> [Help 1]
>
>
>On Sun, Jun 2, 2013 at 12:11 AM,  <bv...@apache.org> wrote:
>> Updated Branches:
>>   refs/heads/master bdf64e05c -> 6ca055d39
>>
>>
>> CAMEL-6412: Fixed the Maven build warning about
>>camel-validator-test-resources.jar
>>
>> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6ca055d3
>> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6ca055d3
>> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6ca055d3
>>
>> Branch: refs/heads/master
>> Commit: 6ca055d399b7528175f0192f5d948350e1ee7258
>> Parents: bdf64e0
>> Author: Babak Vahdat <bv...@apache.org>
>> Authored: Sun Jun 2 00:11:18 2013 +0200
>> Committer: Babak Vahdat <bv...@apache.org>
>> Committed: Sun Jun 2 00:11:18 2013 +0200
>>
>> ----------------------------------------------------------------------
>>  .../1.0.0/camel-validator-test-resources.jar       |  Bin 0 -> 17660
>>bytes
>>  tests/camel-itest/pom.xml                          |   13 +++++++++----
>>  .../test/lib/camel-validator-test-resources.jar    |  Bin 17660 -> 0
>>bytes
>>  3 files changed, 9 insertions(+), 4 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-valid
>>ator-test-resources.jar
>> ----------------------------------------------------------------------
>> diff --git 
>>a/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar
>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar
>> new file mode 100644
>> index 0000000..b9b3144
>> Binary files /dev/null and
>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar differ
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
>> index 78a943a..47d2748 100644
>> --- a/tests/camel-itest/pom.xml
>> +++ b/tests/camel-itest/pom.xml
>> @@ -35,6 +35,13 @@
>>        <name>Public online Restlet repository</name>
>>        <url>http://maven.restlet.org</url>
>>      </repository>
>> +
>> +    <!-- required for validator tests -->
>> +    <repository>
>> +      <id>camel-validator-test-repo</id>
>> +      <name>This project repository contains
>>camel-validator-test-resources-1.0.0.jar</name>
>> +      <url>file://${basedir}/lib</url>
>> +    </repository>
>>    </repositories>
>>
>>    <dependencies>
>> @@ -176,7 +183,7 @@
>>        <scope>test</scope>
>>      </dependency>
>>
>> -         <dependency>
>> +    <dependency>
>>        <groupId>org.apache.camel</groupId>
>>        <artifactId>camel-ftp</artifactId>
>>        <scope>test</scope>
>> @@ -327,13 +334,11 @@
>>        <scope>test</scope>
>>      </dependency>
>>
>> -    <!-- for validator tests -->
>> +    <!-- for validator tests, the artifact itself is included inside
>>the project repository 'camel-validator-test-repo' above -->
>>      <dependency>
>>        <groupId>org.apache.camel</groupId>
>>        <artifactId>camel-validator-test-resources</artifactId>
>>        <version>1.0.0</version>
>> -      <scope>system</scope>
>> -      
>><systemPath>${basedir}/src/test/lib/camel-validator-test-resources.jar</s
>>ystemPath>
>>      </dependency>
>>
>>      <!-- atomikos XA TX manager -->
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/src/test/lib/camel-validator-test-resources.jar
>> ----------------------------------------------------------------------
>> diff --git 
>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>b/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>> deleted file mode 100644
>> index b9b3144..0000000
>> Binary files 
>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar and
>>/dev/null differ
>>
>
>
>
>-- 
>Claus Ibsen
>-----------------
>www.camelone.org: The open source integration conference.
>
>Red Hat, Inc.
>FuseSource is now part of Red Hat
>Email: cibsen@redhat.com
>Web: http://fusesource.com
>Twitter: davsclaus
>Blog: http://davsclaus.com
>Author of Camel in Action: http://www.manning.com/ibsen



Re: git commit: CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah it works now. I had to force an update, as I guess it was a
side-effect of running with that partial fix before

mvn clean install -Dtest=false -U


On Sun, Jun 2, 2013 at 1:10 PM, Babak Vahdat
<ba...@swissonline.ch> wrote:
>
>
> Am 02.06.13 11:23 schrieb "Babak Vahdat" unter
> <ba...@swissonline.ch>:
>
>>
>>
>>Am 02.06.13 09:25 schrieb "Claus Ibsen" unter <cl...@gmail.com>:
>>
>>>Did this work for others?
>>>
>>>I get this error now building from master in the root dir I execute
>>>mvn clean install -Dtest=false
>>>
>>>And then I get this:
>>
>>Could you please pull and try to build again?
>>
>>Babak
>
> O.K. Now it seems to be betterŠ
>
> https://builds.apache.org/job/Camel.trunk.notest/1892/
>
> Babak
>
>>
>>>
>>>[INFO] Camel :: Integration Tests :: Non OSGi ............ FAILURE
>>>[1.745s]
>>>...
>>>
>>>[INFO]
>>>------------------------------------------------------------------------
>>>[ERROR] Failed to execute goal on project camel-itest: Could not
>>>resolve dependencies for project
>>>org.apache.camel:camel-itest:jar:2.12-SNAPSHOT: Could not find
>>>artifact org.apache.camel:camel-validator-test-resources:jar:1.0.0 in
>>>maven-restlet (http://maven.restlet.org) -> [Help 1]
>>>
>>>
>>>On Sun, Jun 2, 2013 at 12:11 AM,  <bv...@apache.org> wrote:
>>>> Updated Branches:
>>>>   refs/heads/master bdf64e05c -> 6ca055d39
>>>>
>>>>
>>>> CAMEL-6412: Fixed the Maven build warning about
>>>>camel-validator-test-resources.jar
>>>>
>>>> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
>>>> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6ca055d3
>>>> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6ca055d3
>>>> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6ca055d3
>>>>
>>>> Branch: refs/heads/master
>>>> Commit: 6ca055d399b7528175f0192f5d948350e1ee7258
>>>> Parents: bdf64e0
>>>> Author: Babak Vahdat <bv...@apache.org>
>>>> Authored: Sun Jun 2 00:11:18 2013 +0200
>>>> Committer: Babak Vahdat <bv...@apache.org>
>>>> Committed: Sun Jun 2 00:11:18 2013 +0200
>>>>
>>>> ----------------------------------------------------------------------
>>>>  .../1.0.0/camel-validator-test-resources.jar       |  Bin 0 -> 17660
>>>>bytes
>>>>  tests/camel-itest/pom.xml                          |   13
>>>>+++++++++----
>>>>  .../test/lib/camel-validator-test-resources.jar    |  Bin 17660 -> 0
>>>>bytes
>>>>  3 files changed, 9 insertions(+), 4 deletions(-)
>>>> ----------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>>t
>>>>est/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-vali
>>>>d
>>>>ator-test-resources.jar
>>>> ----------------------------------------------------------------------
>>>> diff --git
>>>>a/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>>1
>>>>.0.0/camel-validator-test-resources.jar
>>>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>>1
>>>>.0.0/camel-validator-test-resources.jar
>>>> new file mode 100644
>>>> index 0000000..b9b3144
>>>> Binary files /dev/null and
>>>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>>1
>>>>.0.0/camel-validator-test-resources.jar differ
>>>>
>>>>
>>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>>t
>>>>est/pom.xml
>>>> ----------------------------------------------------------------------
>>>> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
>>>> index 78a943a..47d2748 100644
>>>> --- a/tests/camel-itest/pom.xml
>>>> +++ b/tests/camel-itest/pom.xml
>>>> @@ -35,6 +35,13 @@
>>>>        <name>Public online Restlet repository</name>
>>>>        <url>http://maven.restlet.org</url>
>>>>      </repository>
>>>> +
>>>> +    <!-- required for validator tests -->
>>>> +    <repository>
>>>> +      <id>camel-validator-test-repo</id>
>>>> +      <name>This project repository contains
>>>>camel-validator-test-resources-1.0.0.jar</name>
>>>> +      <url>file://${basedir}/lib</url>
>>>> +    </repository>
>>>>    </repositories>
>>>>
>>>>    <dependencies>
>>>> @@ -176,7 +183,7 @@
>>>>        <scope>test</scope>
>>>>      </dependency>
>>>>
>>>> -         <dependency>
>>>> +    <dependency>
>>>>        <groupId>org.apache.camel</groupId>
>>>>        <artifactId>camel-ftp</artifactId>
>>>>        <scope>test</scope>
>>>> @@ -327,13 +334,11 @@
>>>>        <scope>test</scope>
>>>>      </dependency>
>>>>
>>>> -    <!-- for validator tests -->
>>>> +    <!-- for validator tests, the artifact itself is included inside
>>>>the project repository 'camel-validator-test-repo' above -->
>>>>      <dependency>
>>>>        <groupId>org.apache.camel</groupId>
>>>>        <artifactId>camel-validator-test-resources</artifactId>
>>>>        <version>1.0.0</version>
>>>> -      <scope>system</scope>
>>>> -
>>>><systemPath>${basedir}/src/test/lib/camel-validator-test-resources.jar</
>>>>s
>>>>ystemPath>
>>>>      </dependency>
>>>>
>>>>      <!-- atomikos XA TX manager -->
>>>>
>>>>
>>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>>t
>>>>est/src/test/lib/camel-validator-test-resources.jar
>>>> ----------------------------------------------------------------------
>>>> diff --git
>>>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>>>b/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>>> deleted file mode 100644
>>>> index b9b3144..0000000
>>>> Binary files
>>>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar and
>>>>/dev/null differ
>>>>
>>>
>>>
>>>
>>>--
>>>Claus Ibsen
>>>-----------------
>>>www.camelone.org: The open source integration conference.
>>>
>>>Red Hat, Inc.
>>>FuseSource is now part of Red Hat
>>>Email: cibsen@redhat.com
>>>Web: http://fusesource.com
>>>Twitter: davsclaus
>>>Blog: http://davsclaus.com
>>>Author of Camel in Action: http://www.manning.com/ibsen
>
>



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: git commit: CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar

Posted by Babak Vahdat <ba...@swissonline.ch>.

Am 02.06.13 11:23 schrieb "Babak Vahdat" unter
<ba...@swissonline.ch>:

>
>
>Am 02.06.13 09:25 schrieb "Claus Ibsen" unter <cl...@gmail.com>:
>
>>Did this work for others?
>>
>>I get this error now building from master in the root dir I execute
>>mvn clean install -Dtest=false
>>
>>And then I get this:
>
>Could you please pull and try to build again?
>
>Babak

O.K. Now it seems to be betterŠ

https://builds.apache.org/job/Camel.trunk.notest/1892/

Babak

>
>>
>>[INFO] Camel :: Integration Tests :: Non OSGi ............ FAILURE
>>[1.745s]
>>...
>>
>>[INFO] 
>>------------------------------------------------------------------------
>>[ERROR] Failed to execute goal on project camel-itest: Could not
>>resolve dependencies for project
>>org.apache.camel:camel-itest:jar:2.12-SNAPSHOT: Could not find
>>artifact org.apache.camel:camel-validator-test-resources:jar:1.0.0 in
>>maven-restlet (http://maven.restlet.org) -> [Help 1]
>>
>>
>>On Sun, Jun 2, 2013 at 12:11 AM,  <bv...@apache.org> wrote:
>>> Updated Branches:
>>>   refs/heads/master bdf64e05c -> 6ca055d39
>>>
>>>
>>> CAMEL-6412: Fixed the Maven build warning about
>>>camel-validator-test-resources.jar
>>>
>>> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
>>> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6ca055d3
>>> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6ca055d3
>>> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6ca055d3
>>>
>>> Branch: refs/heads/master
>>> Commit: 6ca055d399b7528175f0192f5d948350e1ee7258
>>> Parents: bdf64e0
>>> Author: Babak Vahdat <bv...@apache.org>
>>> Authored: Sun Jun 2 00:11:18 2013 +0200
>>> Committer: Babak Vahdat <bv...@apache.org>
>>> Committed: Sun Jun 2 00:11:18 2013 +0200
>>>
>>> ----------------------------------------------------------------------
>>>  .../1.0.0/camel-validator-test-resources.jar       |  Bin 0 -> 17660
>>>bytes
>>>  tests/camel-itest/pom.xml                          |   13
>>>+++++++++----
>>>  .../test/lib/camel-validator-test-resources.jar    |  Bin 17660 -> 0
>>>bytes
>>>  3 files changed, 9 insertions(+), 4 deletions(-)
>>> ----------------------------------------------------------------------
>>>
>>>
>>> 
>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>t
>>>est/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-vali
>>>d
>>>ator-test-resources.jar
>>> ----------------------------------------------------------------------
>>> diff --git 
>>>a/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>1
>>>.0.0/camel-validator-test-resources.jar
>>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>1
>>>.0.0/camel-validator-test-resources.jar
>>> new file mode 100644
>>> index 0000000..b9b3144
>>> Binary files /dev/null and
>>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/
>>>1
>>>.0.0/camel-validator-test-resources.jar differ
>>>
>>> 
>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>t
>>>est/pom.xml
>>> ----------------------------------------------------------------------
>>> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
>>> index 78a943a..47d2748 100644
>>> --- a/tests/camel-itest/pom.xml
>>> +++ b/tests/camel-itest/pom.xml
>>> @@ -35,6 +35,13 @@
>>>        <name>Public online Restlet repository</name>
>>>        <url>http://maven.restlet.org</url>
>>>      </repository>
>>> +
>>> +    <!-- required for validator tests -->
>>> +    <repository>
>>> +      <id>camel-validator-test-repo</id>
>>> +      <name>This project repository contains
>>>camel-validator-test-resources-1.0.0.jar</name>
>>> +      <url>file://${basedir}/lib</url>
>>> +    </repository>
>>>    </repositories>
>>>
>>>    <dependencies>
>>> @@ -176,7 +183,7 @@
>>>        <scope>test</scope>
>>>      </dependency>
>>>
>>> -         <dependency>
>>> +    <dependency>
>>>        <groupId>org.apache.camel</groupId>
>>>        <artifactId>camel-ftp</artifactId>
>>>        <scope>test</scope>
>>> @@ -327,13 +334,11 @@
>>>        <scope>test</scope>
>>>      </dependency>
>>>
>>> -    <!-- for validator tests -->
>>> +    <!-- for validator tests, the artifact itself is included inside
>>>the project repository 'camel-validator-test-repo' above -->
>>>      <dependency>
>>>        <groupId>org.apache.camel</groupId>
>>>        <artifactId>camel-validator-test-resources</artifactId>
>>>        <version>1.0.0</version>
>>> -      <scope>system</scope>
>>> -      
>>><systemPath>${basedir}/src/test/lib/camel-validator-test-resources.jar</
>>>s
>>>ystemPath>
>>>      </dependency>
>>>
>>>      <!-- atomikos XA TX manager -->
>>>
>>> 
>>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-i
>>>t
>>>est/src/test/lib/camel-validator-test-resources.jar
>>> ----------------------------------------------------------------------
>>> diff --git 
>>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>>b/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>> deleted file mode 100644
>>> index b9b3144..0000000
>>> Binary files 
>>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar and
>>>/dev/null differ
>>>
>>
>>
>>
>>-- 
>>Claus Ibsen
>>-----------------
>>www.camelone.org: The open source integration conference.
>>
>>Red Hat, Inc.
>>FuseSource is now part of Red Hat
>>Email: cibsen@redhat.com
>>Web: http://fusesource.com
>>Twitter: davsclaus
>>Blog: http://davsclaus.com
>>Author of Camel in Action: http://www.manning.com/ibsen



Re: git commit: CAMEL-6412: Fixed the Maven build warning about camel-validator-test-resources.jar

Posted by Babak Vahdat <ba...@swissonline.ch>.

Am 02.06.13 09:25 schrieb "Claus Ibsen" unter <cl...@gmail.com>:

>Did this work for others?
>
>I get this error now building from master in the root dir I execute
>mvn clean install -Dtest=false
>
>And then I get this:

Could you please pull and try to build again?

Babak

>
>[INFO] Camel :: Integration Tests :: Non OSGi ............ FAILURE
>[1.745s]
>...
>
>[INFO] 
>------------------------------------------------------------------------
>[ERROR] Failed to execute goal on project camel-itest: Could not
>resolve dependencies for project
>org.apache.camel:camel-itest:jar:2.12-SNAPSHOT: Could not find
>artifact org.apache.camel:camel-validator-test-resources:jar:1.0.0 in
>maven-restlet (http://maven.restlet.org) -> [Help 1]
>
>
>On Sun, Jun 2, 2013 at 12:11 AM,  <bv...@apache.org> wrote:
>> Updated Branches:
>>   refs/heads/master bdf64e05c -> 6ca055d39
>>
>>
>> CAMEL-6412: Fixed the Maven build warning about
>>camel-validator-test-resources.jar
>>
>> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6ca055d3
>> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6ca055d3
>> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6ca055d3
>>
>> Branch: refs/heads/master
>> Commit: 6ca055d399b7528175f0192f5d948350e1ee7258
>> Parents: bdf64e0
>> Author: Babak Vahdat <bv...@apache.org>
>> Authored: Sun Jun 2 00:11:18 2013 +0200
>> Committer: Babak Vahdat <bv...@apache.org>
>> Committed: Sun Jun 2 00:11:18 2013 +0200
>>
>> ----------------------------------------------------------------------
>>  .../1.0.0/camel-validator-test-resources.jar       |  Bin 0 -> 17660
>>bytes
>>  tests/camel-itest/pom.xml                          |   13 +++++++++----
>>  .../test/lib/camel-validator-test-resources.jar    |  Bin 17660 -> 0
>>bytes
>>  3 files changed, 9 insertions(+), 4 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/lib/org/apache/camel/camel-validator-test-resources/1.0.0/camel-valid
>>ator-test-resources.jar
>> ----------------------------------------------------------------------
>> diff --git 
>>a/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar
>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar
>> new file mode 100644
>> index 0000000..b9b3144
>> Binary files /dev/null and
>>b/tests/camel-itest/lib/org/apache/camel/camel-validator-test-resources/1
>>.0.0/camel-validator-test-resources.jar differ
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
>> index 78a943a..47d2748 100644
>> --- a/tests/camel-itest/pom.xml
>> +++ b/tests/camel-itest/pom.xml
>> @@ -35,6 +35,13 @@
>>        <name>Public online Restlet repository</name>
>>        <url>http://maven.restlet.org</url>
>>      </repository>
>> +
>> +    <!-- required for validator tests -->
>> +    <repository>
>> +      <id>camel-validator-test-repo</id>
>> +      <name>This project repository contains
>>camel-validator-test-resources-1.0.0.jar</name>
>> +      <url>file://${basedir}/lib</url>
>> +    </repository>
>>    </repositories>
>>
>>    <dependencies>
>> @@ -176,7 +183,7 @@
>>        <scope>test</scope>
>>      </dependency>
>>
>> -         <dependency>
>> +    <dependency>
>>        <groupId>org.apache.camel</groupId>
>>        <artifactId>camel-ftp</artifactId>
>>        <scope>test</scope>
>> @@ -327,13 +334,11 @@
>>        <scope>test</scope>
>>      </dependency>
>>
>> -    <!-- for validator tests -->
>> +    <!-- for validator tests, the artifact itself is included inside
>>the project repository 'camel-validator-test-repo' above -->
>>      <dependency>
>>        <groupId>org.apache.camel</groupId>
>>        <artifactId>camel-validator-test-resources</artifactId>
>>        <version>1.0.0</version>
>> -      <scope>system</scope>
>> -      
>><systemPath>${basedir}/src/test/lib/camel-validator-test-resources.jar</s
>>ystemPath>
>>      </dependency>
>>
>>      <!-- atomikos XA TX manager -->
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/camel/blob/6ca055d3/tests/camel-it
>>est/src/test/lib/camel-validator-test-resources.jar
>> ----------------------------------------------------------------------
>> diff --git 
>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>>b/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar
>> deleted file mode 100644
>> index b9b3144..0000000
>> Binary files 
>>a/tests/camel-itest/src/test/lib/camel-validator-test-resources.jar and
>>/dev/null differ
>>
>
>
>
>-- 
>Claus Ibsen
>-----------------
>www.camelone.org: The open source integration conference.
>
>Red Hat, Inc.
>FuseSource is now part of Red Hat
>Email: cibsen@redhat.com
>Web: http://fusesource.com
>Twitter: davsclaus
>Blog: http://davsclaus.com
>Author of Camel in Action: http://www.manning.com/ibsen