You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Alex Savitsky (JIRA)" <ji...@apache.org> on 2008/04/25 16:09:57 UTC

[jira] Created: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Maven POM has many dependencies that could well be declared optional
--------------------------------------------------------------------

                 Key: AXIS2-3766
                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
    Affects Versions: 1.3
            Reporter: Alex Savitsky
            Priority: Minor


Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:

		<dependency>
			<groupId>org.apache.axis2</groupId>
			<artifactId>axis2-adb</artifactId>
			<version>1.3</version>
			<exclusions>
				<exclusion>
					<groupId>org.apache.httpcomponents</groupId>
					<artifactId>httpcore</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.httpcomponents</groupId>
					<artifactId>httpcore-nio</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.httpcomponents</groupId>
					<artifactId>httpcore-niossl</artifactId>
				</exclusion>
				<exclusion>
					<groupId>backport-util-concurrent</groupId>
					<artifactId>backport-util-concurrent</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.neethi</groupId>
					<artifactId>neethi</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.woden</groupId>
					<artifactId>woden</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.geronimo.specs</groupId>
					<artifactId>geronimo-jms_1.1_spec</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.ws.commons.axiom</groupId>
					<artifactId>axiom-dom</artifactId>
				</exclusion>
				<exclusion>
					<groupId>xalan</groupId>
					<artifactId>xalan</artifactId>
				</exclusion>
				<exclusion>
					<groupId>xerces</groupId>
					<artifactId>xercesImpl</artifactId>
				</exclusion>
				<exclusion>
					<groupId>commons-io</groupId>
					<artifactId>commons-io</artifactId>
				</exclusion>
				<exclusion>
					<groupId>jaxen</groupId>
					<artifactId>jaxen</artifactId>
				</exclusion>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
				<exclusion>
					<groupId>commons-fileupload</groupId>
					<artifactId>commons-fileupload</artifactId>
				</exclusion>
				<exclusion>
					<groupId>xml-apis</groupId>
					<artifactId>xml-apis</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.geronimo.specs</groupId>
					<artifactId>geronimo-activation_1.1_spec</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594257#action_12594257 ] 

Andreas Veithen commented on AXIS2-3766:
----------------------------------------

If you assume that your project always runs on Java 1.5 where a given API is always present, than an easier way to exclude the dependency is probably to declare it in your project with scope "provided".

Note that there has been a discussion recently to move Axis2 to Java 1.5 and I think that the conclusion was that the next release after 1.4 will target Java 1.5. At that moment some dependencies could be removed/excluded as you suggest.

And yes, there are still 1.4 users. I just finished a project with WebSphere 5.1 (i.e. Java 1.4) as target platform.

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Alex Savitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594253#action_12594253 ] 

Alex Savitsky commented on AXIS2-3766:
--------------------------------------

The fact that most of these are declared in parent, only makes things worse, as now I have to repeat the same exclusions every time I add another axis module (adb, jaxws, etc)

Below is the list of dependencies I had to exclude most often:

xalan/xerces/xml-apis - completely optional on Java 1.5 and up. I'm sure it's less trouble to have the 1.4 users (are there any?) to specify them explicitly than to have everyone on 1.5 and up to repeatedly exclude them for each occurrence of: kernel, adb, jaxws, codegen...

all Geronimo dependencies - what's so 'geronimish' about them, anyway? These are just standard java/javax api sets like javamail, activation, jms api, annotation api, StAX... why put them under geronimo group id in the first place? Eneryone uses the standard javax versions anyway. BTW, by default it ends up using two versions of StAX dependency - one from geronimo, the other (proper one) from StAX group id

httpcore/nio/ssl - completely optional. Again, if someone prefers to use the NIO, they can always include them back

These three alone amount for about 5-10 exclusions per module. Nothing but messy, if you ask me. If you guys could at least fix those...

Alex

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Alex Savitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594272#action_12594272 ] 

Alex Savitsky commented on AXIS2-3766:
--------------------------------------

Thanks for the suggestion, this did the trick for xalan and co :)

What about the geronimo deps? I'd rather not include them in the classpath at all, as they might conflict with the Sun versions of the same APIs - but, AFAIK, there's no way to tell Maven that, say, org.apache.geronimo/geronimo-javamail_1.4_spec is the same as javax.mail/mail

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Janos Haber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677911#action_12677911 ] 

Janos Haber commented on AXIS2-3766:
------------------------------------

I totally aggree Alex.
We want to port our old project to maven, but we can't. Some dependency has jms (sun) dependency but axis depend to geronimo jms (same problems with java mail ext).  Why JMS is required? I agree that's a super pom dependency, but this is a bad design. Put the only transport dependencies to the transport module not to the parent. 

(sorry for my English)
Cheers,
boci



> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Alex Savitsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594304#action_12594304 ] 

Alex Savitsky commented on AXIS2-3766:
--------------------------------------

Now, I'm not up for a legal debate (though I wonder why Sun's license wouldn't do), but I can assure you that any corporate environment would prefer to use Sun's own API rather than Geronimo's, as Sun is considered a "more trusted" source in general (in corporate IT, at least), and any API JARs not comping from Sun itself would be viewed with a great degree of suspicion. So if Axis2 is aiming for any kind of corporate use (I'm sure it does), it might as well consider the needs of corporate developers. As it stands right now, anything bearing the name "geronimo" is generally considered to be a part of Geronimo codebase, and the question "why using Geronimo-provided javax API and not Sun's own" would probably be the first that any good architect would ask.

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594290#action_12594290 ] 

David Illsley commented on AXIS2-3766:
--------------------------------------

Alex, we use the geronimo jars at least in part because they are of known provenance and license. If you have a specific problem with any of them, please raise a specific JIRA.
Cheers,
David

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593114#action_12593114 ] 

Andreas Veithen commented on AXIS2-3766:
----------------------------------------

In axis2-parent, these artifacts (for most of them at least) are not declared as dependencies but appear in the dependencyManagement section which specifies the versions to be used in child projects. Also, the junit dependency you mention is only used in test scope. Most of the dependencies you mention are declared by axis2-kernel and making them optional is not realistic. The only way to reduce the dependencies would be to move some of the code in axis2-kernel to separate modules. Note that there is an ongoing vote that proposes this for the different transport implementations. Indeed, moving the transports out of axis2-kernel would reduce the number of dependencies considerably.

> Maven POM has many dependencies that could well be declared optional
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3766
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3766
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Alex Savitsky
>            Priority: Minor
>
> Many of the dependencies declared in axis2-parent (these apply to all child POMs, including kernel and, in my case, adb) are not required by the main Axis runtime, only being used for certain optional features, or are even questionable to include in the runtime at all (e.g., junit). For example, here's how my axis POM dependency looks like for a simple RPC client code:
> 		<dependency>
> 			<groupId>org.apache.axis2</groupId>
> 			<artifactId>axis2-adb</artifactId>
> 			<version>1.3</version>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-nio</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.httpcomponents</groupId>
> 					<artifactId>httpcore-niossl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>backport-util-concurrent</groupId>
> 					<artifactId>backport-util-concurrent</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.neethi</groupId>
> 					<artifactId>neethi</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.woden</groupId>
> 					<artifactId>woden</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-jms_1.1_spec</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.ws.commons.axiom</groupId>
> 					<artifactId>axiom-dom</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xalan</groupId>
> 					<artifactId>xalan</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xerces</groupId>
> 					<artifactId>xercesImpl</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-io</groupId>
> 					<artifactId>commons-io</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>jaxen</groupId>
> 					<artifactId>jaxen</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>junit</groupId>
> 					<artifactId>junit</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>commons-fileupload</groupId>
> 					<artifactId>commons-fileupload</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>xml-apis</groupId>
> 					<artifactId>xml-apis</artifactId>
> 				</exclusion>
> 				<exclusion>
> 					<groupId>org.apache.geronimo.specs</groupId>
> 					<artifactId>geronimo-activation_1.1_spec</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> That's 16 (!) exclusions. Server code doesn't fare any better, with 14 exclusions (minus neethi and fileupload). Something needs to be done about this (maybe move some of these from axis2-parent down to individual POMs).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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