You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2010/02/11 15:25:19 UTC

svn commit: r908990 - in /servicemix/smx4/features/trunk: assembly/pom.xml assembly/src/main/filtered-resources/features.xml pom.xml

Author: lhein
Date: Thu Feb 11 14:25:16 2010
New Revision: 908990

URL: http://svn.apache.org/viewvc?rev=908990&view=rev
Log:
added antlr 2.7.7 to assembly (see SMX4-477)

Modified:
    servicemix/smx4/features/trunk/assembly/pom.xml
    servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
    servicemix/smx4/features/trunk/pom.xml

Modified: servicemix/smx4/features/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/assembly/pom.xml (original)
+++ servicemix/smx4/features/trunk/assembly/pom.xml Thu Feb 11 14:25:16 2010
@@ -317,6 +317,11 @@
         <dependency>
             <groupId>org.apache.servicemix.bundles</groupId>
             <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
+            <version>${antlr2.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.bundles</groupId>
+            <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
             <version>${antlr.version}</version>
         </dependency>
         <dependency>

Modified: servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml?rev=908990&r1=908989&r2=908990&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml (original)
+++ servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml Thu Feb 11 14:25:16 2010
@@ -274,7 +274,7 @@
         <feature version="${servicemix-shared-version}">servicemix-shared</feature>
         <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${servicemix.specs.version}</bundle>
         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/${asm.version}</bundle>
-        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr.version}</bundle>
+        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr2.version}</bundle>
         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/${groovy.version}</bundle>
         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.rhino/${rhino.version}</bundle>
         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jruby/${jruby.version}</bundle>

Modified: servicemix/smx4/features/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/pom.xml (original)
+++ servicemix/smx4/features/trunk/pom.xml Thu Feb 11 14:25:16 2010
@@ -65,6 +65,7 @@
       <activemq.version>5.3.0</activemq.version>
       <acegi.version>1.0.0</acegi.version>
       <ant.version>1.7.0_3</ant.version>
+      <antlr2.version>2.7.7_2</antlr2.version>
       <antlr.version>3.0.1_1</antlr.version>
       <antlr-runtime.version>3.0.1_1</antlr-runtime.version>
       <aopalliance.version>1.0_3</aopalliance.version>



Re: svn commit: r908990 - in /servicemix/smx4/features/trunk: assembly/pom.xml assembly/src/main/filtered-resources/features.xml pom.xml

Posted by Freeman Fang <fr...@gmail.com>.
I just create FELIX-2193[1] to track this issue.

[1]https://issues.apache.org/jira/browse/FELIX-2193

Regards
Freeman
On 2010-2-11, at 下午10:41, Gert Vanthienen wrote:

> The quick hack around that is to add the dependency elsewhere to
> ensure it's downloaded up-front.  In the long run, we probably want to
> make sure the add-features-to-repo goal tries to download stuff itself
> or else use the validate goal on the same plugin to validate the
> features.xml (which will also try to get all the required bundles in
> the local repo.
>
> Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
>
>
> On 11 February 2010 15:33, Guillaume Nodet <gn...@gmail.com> wrote:
>> FWIW, I don't think having the same groupId / artifactId dependency
>> with two different versions works.
>> Maven flatten the list of dependencies and one keeps one, so my guess
>> is that this will fail in an empty repository.
>>
>> On Thu, Feb 11, 2010 at 15:25,  <lh...@apache.org> wrote:
>>> Author: lhein
>>> Date: Thu Feb 11 14:25:16 2010
>>> New Revision: 908990
>>>
>>> URL: http://svn.apache.org/viewvc?rev=908990&view=rev
>>> Log:
>>> added antlr 2.7.7 to assembly (see SMX4-477)
>>>
>>> Modified:
>>>    servicemix/smx4/features/trunk/assembly/pom.xml
>>>    servicemix/smx4/features/trunk/assembly/src/main/filtered- 
>>> resources/features.xml
>>>    servicemix/smx4/features/trunk/pom.xml
>>>
>>> Modified: servicemix/smx4/features/trunk/assembly/pom.xml
>>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> ====================================================================
>>> --- servicemix/smx4/features/trunk/assembly/pom.xml (original)
>>> +++ servicemix/smx4/features/trunk/assembly/pom.xml Thu Feb 11  
>>> 14:25:16 2010
>>> @@ -317,6 +317,11 @@
>>>         <dependency>
>>>             <groupId>org.apache.servicemix.bundles</groupId>
>>>             <artifactId>org.apache.servicemix.bundles.antlr</ 
>>> artifactId>
>>> +            <version>${antlr2.version}</version>
>>> +        </dependency>
>>> +        <dependency>
>>> +            <groupId>org.apache.servicemix.bundles</groupId>
>>> +            <artifactId>org.apache.servicemix.bundles.antlr</ 
>>> artifactId>
>>>             <version>${antlr.version}</version>
>>>         </dependency>
>>>         <dependency>
>>>
>>> Modified: servicemix/smx4/features/trunk/assembly/src/main/ 
>>> filtered-resources/features.xml
>>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml?rev=908990&r1=908989&r2=908990&view=diff
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> ====================================================================
>>> --- servicemix/smx4/features/trunk/assembly/src/main/filtered- 
>>> resources/features.xml (original)
>>> +++ servicemix/smx4/features/trunk/assembly/src/main/filtered- 
>>> resources/features.xml Thu Feb 11 14:25:16 2010
>>> @@ -274,7 +274,7 @@
>>>         <feature version="${servicemix-shared-version}">servicemix- 
>>> shared</feature>
>>>         <bundle>mvn:org.apache.servicemix.specs/ 
>>> org.apache.servicemix.specs.scripting-api-1.0/$ 
>>> {servicemix.specs.version}</bundle>
>>>         <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.asm/${asm.version}</bundle>
>>> -        <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.antlr/${antlr.version}</bundle>
>>> +        <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.antlr/${antlr2.version}</bundle>
>>>         <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.groovy/${groovy.version}</bundle>
>>>         <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.rhino/${rhino.version}</bundle>
>>>         <bundle>mvn:org.apache.servicemix.bundles/ 
>>> org.apache.servicemix.bundles.jruby/${jruby.version}</bundle>
>>>
>>> Modified: servicemix/smx4/features/trunk/pom.xml
>>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> = 
>>> ====================================================================
>>> --- servicemix/smx4/features/trunk/pom.xml (original)
>>> +++ servicemix/smx4/features/trunk/pom.xml Thu Feb 11 14:25:16 2010
>>> @@ -65,6 +65,7 @@
>>>       <activemq.version>5.3.0</activemq.version>
>>>       <acegi.version>1.0.0</acegi.version>
>>>       <ant.version>1.7.0_3</ant.version>
>>> +      <antlr2.version>2.7.7_2</antlr2.version>
>>>       <antlr.version>3.0.1_1</antlr.version>
>>>       <antlr-runtime.version>3.0.1_1</antlr-runtime.version>
>>>       <aopalliance.version>1.0_3</aopalliance.version>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Re: svn commit: r908990 - in /servicemix/smx4/features/trunk: assembly/pom.xml assembly/src/main/filtered-resources/features.xml pom.xml

Posted by Gert Vanthienen <ge...@gmail.com>.
The quick hack around that is to add the dependency elsewhere to
ensure it's downloaded up-front.  In the long run, we probably want to
make sure the add-features-to-repo goal tries to download stuff itself
or else use the validate goal on the same plugin to validate the
features.xml (which will also try to get all the required bundles in
the local repo.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 11 February 2010 15:33, Guillaume Nodet <gn...@gmail.com> wrote:
> FWIW, I don't think having the same groupId / artifactId dependency
> with two different versions works.
> Maven flatten the list of dependencies and one keeps one, so my guess
> is that this will fail in an empty repository.
>
> On Thu, Feb 11, 2010 at 15:25,  <lh...@apache.org> wrote:
>> Author: lhein
>> Date: Thu Feb 11 14:25:16 2010
>> New Revision: 908990
>>
>> URL: http://svn.apache.org/viewvc?rev=908990&view=rev
>> Log:
>> added antlr 2.7.7 to assembly (see SMX4-477)
>>
>> Modified:
>>    servicemix/smx4/features/trunk/assembly/pom.xml
>>    servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
>>    servicemix/smx4/features/trunk/pom.xml
>>
>> Modified: servicemix/smx4/features/trunk/assembly/pom.xml
>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
>> ==============================================================================
>> --- servicemix/smx4/features/trunk/assembly/pom.xml (original)
>> +++ servicemix/smx4/features/trunk/assembly/pom.xml Thu Feb 11 14:25:16 2010
>> @@ -317,6 +317,11 @@
>>         <dependency>
>>             <groupId>org.apache.servicemix.bundles</groupId>
>>             <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
>> +            <version>${antlr2.version}</version>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>org.apache.servicemix.bundles</groupId>
>> +            <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
>>             <version>${antlr.version}</version>
>>         </dependency>
>>         <dependency>
>>
>> Modified: servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml?rev=908990&r1=908989&r2=908990&view=diff
>> ==============================================================================
>> --- servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml (original)
>> +++ servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml Thu Feb 11 14:25:16 2010
>> @@ -274,7 +274,7 @@
>>         <feature version="${servicemix-shared-version}">servicemix-shared</feature>
>>         <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${servicemix.specs.version}</bundle>
>>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/${asm.version}</bundle>
>> -        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr.version}</bundle>
>> +        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr2.version}</bundle>
>>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/${groovy.version}</bundle>
>>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.rhino/${rhino.version}</bundle>
>>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jruby/${jruby.version}</bundle>
>>
>> Modified: servicemix/smx4/features/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
>> ==============================================================================
>> --- servicemix/smx4/features/trunk/pom.xml (original)
>> +++ servicemix/smx4/features/trunk/pom.xml Thu Feb 11 14:25:16 2010
>> @@ -65,6 +65,7 @@
>>       <activemq.version>5.3.0</activemq.version>
>>       <acegi.version>1.0.0</acegi.version>
>>       <ant.version>1.7.0_3</ant.version>
>> +      <antlr2.version>2.7.7_2</antlr2.version>
>>       <antlr.version>3.0.1_1</antlr.version>
>>       <antlr-runtime.version>3.0.1_1</antlr-runtime.version>
>>       <aopalliance.version>1.0_3</aopalliance.version>
>>
>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: svn commit: r908990 - in /servicemix/smx4/features/trunk: assembly/pom.xml assembly/src/main/filtered-resources/features.xml pom.xml

Posted by Guillaume Nodet <gn...@gmail.com>.
FWIW, I don't think having the same groupId / artifactId dependency
with two different versions works.
Maven flatten the list of dependencies and one keeps one, so my guess
is that this will fail in an empty repository.

On Thu, Feb 11, 2010 at 15:25,  <lh...@apache.org> wrote:
> Author: lhein
> Date: Thu Feb 11 14:25:16 2010
> New Revision: 908990
>
> URL: http://svn.apache.org/viewvc?rev=908990&view=rev
> Log:
> added antlr 2.7.7 to assembly (see SMX4-477)
>
> Modified:
>    servicemix/smx4/features/trunk/assembly/pom.xml
>    servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
>    servicemix/smx4/features/trunk/pom.xml
>
> Modified: servicemix/smx4/features/trunk/assembly/pom.xml
> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
> ==============================================================================
> --- servicemix/smx4/features/trunk/assembly/pom.xml (original)
> +++ servicemix/smx4/features/trunk/assembly/pom.xml Thu Feb 11 14:25:16 2010
> @@ -317,6 +317,11 @@
>         <dependency>
>             <groupId>org.apache.servicemix.bundles</groupId>
>             <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
> +            <version>${antlr2.version}</version>
> +        </dependency>
> +        <dependency>
> +            <groupId>org.apache.servicemix.bundles</groupId>
> +            <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
>             <version>${antlr.version}</version>
>         </dependency>
>         <dependency>
>
> Modified: servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml
> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml?rev=908990&r1=908989&r2=908990&view=diff
> ==============================================================================
> --- servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml (original)
> +++ servicemix/smx4/features/trunk/assembly/src/main/filtered-resources/features.xml Thu Feb 11 14:25:16 2010
> @@ -274,7 +274,7 @@
>         <feature version="${servicemix-shared-version}">servicemix-shared</feature>
>         <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${servicemix.specs.version}</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/${asm.version}</bundle>
> -        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr.version}</bundle>
> +        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/${antlr2.version}</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/${groovy.version}</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.rhino/${rhino.version}</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jruby/${jruby.version}</bundle>
>
> Modified: servicemix/smx4/features/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=908990&r1=908989&r2=908990&view=diff
> ==============================================================================
> --- servicemix/smx4/features/trunk/pom.xml (original)
> +++ servicemix/smx4/features/trunk/pom.xml Thu Feb 11 14:25:16 2010
> @@ -65,6 +65,7 @@
>       <activemq.version>5.3.0</activemq.version>
>       <acegi.version>1.0.0</acegi.version>
>       <ant.version>1.7.0_3</ant.version>
> +      <antlr2.version>2.7.7_2</antlr2.version>
>       <antlr.version>3.0.1_1</antlr.version>
>       <antlr-runtime.version>3.0.1_1</antlr-runtime.version>
>       <aopalliance.version>1.0_3</aopalliance.version>
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com