You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2009/04/25 07:55:21 UTC

svn commit: r768473 - in /synapse/trunk/java: modules/transports/pom.xml pom.xml

Author: ruwan
Date: Sat Apr 25 05:55:20 2009
New Revision: 768473

URL: http://svn.apache.org/viewvc?rev=768473&view=rev
Log:
log4j-1.2.15 looks for com.sun.jmx:jmxri:jar:1.2.1 which is not available, excluding log4j coming from transitive dependencies to workaround

Modified:
    synapse/trunk/java/modules/transports/pom.xml
    synapse/trunk/java/pom.xml

Modified: synapse/trunk/java/modules/transports/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
==============================================================================
--- synapse/trunk/java/modules/transports/pom.xml (original)
+++ synapse/trunk/java/modules/transports/pom.xml Sat Apr 25 05:55:20 2009
@@ -185,6 +185,12 @@
             <artifactId>axis2-transport-testkit</artifactId>
             <version>${axis2.transport.version}</version>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>log4j</groupId>
+                    <artifactId>log4j</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         
         <!-- HTTP transport dependencies -->

Modified: synapse/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
==============================================================================
--- synapse/trunk/java/pom.xml (original)
+++ synapse/trunk/java/pom.xml Sat Apr 25 05:55:20 2009
@@ -698,6 +698,12 @@
             <artifactId>wso2caching-core</artifactId>
             <version>${wso2caching.version}</version>
             <type>jar</type>
+            <exclusions>
+                <exclusion>
+                    <groupId>log4j</groupId>
+                    <artifactId>log4j</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!-- Eventing dependencies-->



Re: svn commit: r768473 - in /synapse/trunk/java: modules/transports/pom.xml pom.xml

Posted by Ruwan Linton <ru...@gmail.com>.
Andreas, this should be fixed now... I ran the full build with tests and
seems to be OK.

Thanks,
Ruwan

On Sun, Apr 26, 2009 at 8:06 PM, Ruwan Linton <ru...@gmail.com>wrote:

> Hi Andreas,
>
> When I try the mvn idea:idea command to generate the idea project, it gives
> me this error. I think there is something wrong with the idea plugin... I
> will have a look at this, for the moment we can revert this exclusion, or we
> could specifically exclude the jmxri.
>
> Thanks,
> Ruwan
>
>
> On Sun, Apr 26, 2009 at 4:27 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> Ruwan,
>>
>> The exclusion rule on axis2-transport-testkit is incorrect:
>> - It breaks the build (see Hudson).
>> - axis2-transport-testkit _really_ depends on log4j (to produce more
>> fine grained log files), so it would be conceptually wrong to exclude
>> it.
>> - In the parent POM, there is a dependencyManagement entry for log4j
>> that excludes the dependency on jmxri => synapse-transports has no
>> transitive dependency on jmxri.
>>
>> Andreas
>>
>> On Sat, Apr 25, 2009 at 07:55,  <ru...@apache.org> wrote:
>> > Author: ruwan
>> > Date: Sat Apr 25 05:55:20 2009
>> > New Revision: 768473
>> >
>> > URL: http://svn.apache.org/viewvc?rev=768473&view=rev
>> > Log:
>> > log4j-1.2.15 looks for com.sun.jmx:jmxri:jar:1.2.1 which is not
>> available, excluding log4j coming from transitive dependencies to workaround
>> >
>> > Modified:
>> >    synapse/trunk/java/modules/transports/pom.xml
>> >    synapse/trunk/java/pom.xml
>> >
>> > Modified: synapse/trunk/java/modules/transports/pom.xml
>> > URL:
>> http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
>> >
>> ==============================================================================
>> > --- synapse/trunk/java/modules/transports/pom.xml (original)
>> > +++ synapse/trunk/java/modules/transports/pom.xml Sat Apr 25 05:55:20
>> 2009
>> > @@ -185,6 +185,12 @@
>> >             <artifactId>axis2-transport-testkit</artifactId>
>> >             <version>${axis2.transport.version}</version>
>> >             <scope>test</scope>
>> > +            <exclusions>
>> > +                <exclusion>
>> > +                    <groupId>log4j</groupId>
>> > +                    <artifactId>log4j</artifactId>
>> > +                </exclusion>
>> > +            </exclusions>
>> >         </dependency>
>> >
>> >         <!-- HTTP transport dependencies -->
>> >
>> > Modified: synapse/trunk/java/pom.xml
>> > URL:
>> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
>> >
>> ==============================================================================
>> > --- synapse/trunk/java/pom.xml (original)
>> > +++ synapse/trunk/java/pom.xml Sat Apr 25 05:55:20 2009
>> > @@ -698,6 +698,12 @@
>> >             <artifactId>wso2caching-core</artifactId>
>> >             <version>${wso2caching.version}</version>
>> >             <type>jar</type>
>> > +            <exclusions>
>> > +                <exclusion>
>> > +                    <groupId>log4j</groupId>
>> > +                    <artifactId>log4j</artifactId>
>> > +                </exclusion>
>> > +            </exclusions>
>> >         </dependency>
>> >
>> >         <!-- Eventing dependencies-->
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>>
>
>
> --
> Ruwan Linton
> Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 Inc.; http://wso2.org
> email: ruwan@wso2.com; cell: +94 77 341 3097
> blog: http://ruwansblog.blogspot.com
>



-- 
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Re: svn commit: r768473 - in /synapse/trunk/java: modules/transports/pom.xml pom.xml

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Andreas,

When I try the mvn idea:idea command to generate the idea project, it gives
me this error. I think there is something wrong with the idea plugin... I
will have a look at this, for the moment we can revert this exclusion, or we
could specifically exclude the jmxri.

Thanks,
Ruwan

On Sun, Apr 26, 2009 at 4:27 AM, Andreas Veithen
<an...@gmail.com>wrote:

> Ruwan,
>
> The exclusion rule on axis2-transport-testkit is incorrect:
> - It breaks the build (see Hudson).
> - axis2-transport-testkit _really_ depends on log4j (to produce more
> fine grained log files), so it would be conceptually wrong to exclude
> it.
> - In the parent POM, there is a dependencyManagement entry for log4j
> that excludes the dependency on jmxri => synapse-transports has no
> transitive dependency on jmxri.
>
> Andreas
>
> On Sat, Apr 25, 2009 at 07:55,  <ru...@apache.org> wrote:
> > Author: ruwan
> > Date: Sat Apr 25 05:55:20 2009
> > New Revision: 768473
> >
> > URL: http://svn.apache.org/viewvc?rev=768473&view=rev
> > Log:
> > log4j-1.2.15 looks for com.sun.jmx:jmxri:jar:1.2.1 which is not
> available, excluding log4j coming from transitive dependencies to workaround
> >
> > Modified:
> >    synapse/trunk/java/modules/transports/pom.xml
> >    synapse/trunk/java/pom.xml
> >
> > Modified: synapse/trunk/java/modules/transports/pom.xml
> > URL:
> http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
> >
> ==============================================================================
> > --- synapse/trunk/java/modules/transports/pom.xml (original)
> > +++ synapse/trunk/java/modules/transports/pom.xml Sat Apr 25 05:55:20
> 2009
> > @@ -185,6 +185,12 @@
> >             <artifactId>axis2-transport-testkit</artifactId>
> >             <version>${axis2.transport.version}</version>
> >             <scope>test</scope>
> > +            <exclusions>
> > +                <exclusion>
> > +                    <groupId>log4j</groupId>
> > +                    <artifactId>log4j</artifactId>
> > +                </exclusion>
> > +            </exclusions>
> >         </dependency>
> >
> >         <!-- HTTP transport dependencies -->
> >
> > Modified: synapse/trunk/java/pom.xml
> > URL:
> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
> >
> ==============================================================================
> > --- synapse/trunk/java/pom.xml (original)
> > +++ synapse/trunk/java/pom.xml Sat Apr 25 05:55:20 2009
> > @@ -698,6 +698,12 @@
> >             <artifactId>wso2caching-core</artifactId>
> >             <version>${wso2caching.version}</version>
> >             <type>jar</type>
> > +            <exclusions>
> > +                <exclusion>
> > +                    <groupId>log4j</groupId>
> > +                    <artifactId>log4j</artifactId>
> > +                </exclusion>
> > +            </exclusions>
> >         </dependency>
> >
> >         <!-- Eventing dependencies-->
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Re: svn commit: r768473 - in /synapse/trunk/java: modules/transports/pom.xml pom.xml

Posted by Andreas Veithen <an...@gmail.com>.
Ruwan,

The exclusion rule on axis2-transport-testkit is incorrect:
- It breaks the build (see Hudson).
- axis2-transport-testkit _really_ depends on log4j (to produce more
fine grained log files), so it would be conceptually wrong to exclude
it.
- In the parent POM, there is a dependencyManagement entry for log4j
that excludes the dependency on jmxri => synapse-transports has no
transitive dependency on jmxri.

Andreas

On Sat, Apr 25, 2009 at 07:55,  <ru...@apache.org> wrote:
> Author: ruwan
> Date: Sat Apr 25 05:55:20 2009
> New Revision: 768473
>
> URL: http://svn.apache.org/viewvc?rev=768473&view=rev
> Log:
> log4j-1.2.15 looks for com.sun.jmx:jmxri:jar:1.2.1 which is not available, excluding log4j coming from transitive dependencies to workaround
>
> Modified:
>    synapse/trunk/java/modules/transports/pom.xml
>    synapse/trunk/java/pom.xml
>
> Modified: synapse/trunk/java/modules/transports/pom.xml
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
> ==============================================================================
> --- synapse/trunk/java/modules/transports/pom.xml (original)
> +++ synapse/trunk/java/modules/transports/pom.xml Sat Apr 25 05:55:20 2009
> @@ -185,6 +185,12 @@
>             <artifactId>axis2-transport-testkit</artifactId>
>             <version>${axis2.transport.version}</version>
>             <scope>test</scope>
> +            <exclusions>
> +                <exclusion>
> +                    <groupId>log4j</groupId>
> +                    <artifactId>log4j</artifactId>
> +                </exclusion>
> +            </exclusions>
>         </dependency>
>
>         <!-- HTTP transport dependencies -->
>
> Modified: synapse/trunk/java/pom.xml
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=768473&r1=768472&r2=768473&view=diff
> ==============================================================================
> --- synapse/trunk/java/pom.xml (original)
> +++ synapse/trunk/java/pom.xml Sat Apr 25 05:55:20 2009
> @@ -698,6 +698,12 @@
>             <artifactId>wso2caching-core</artifactId>
>             <version>${wso2caching.version}</version>
>             <type>jar</type>
> +            <exclusions>
> +                <exclusion>
> +                    <groupId>log4j</groupId>
> +                    <artifactId>log4j</artifactId>
> +                </exclusion>
> +            </exclusions>
>         </dependency>
>
>         <!-- Eventing dependencies-->
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org