axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Savitsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3766) Maven POM has many dependencies that could well be declared optional
Date Mon, 05 May 2008 18:55:55 GMT

    [ 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


Mime
View raw message