[
https://issues.apache.org/jira/browse/AXIS2-3424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555971#action_12555971
]
Tom Seelbach commented on AXIS2-3424:
-------------------------------------
In the java/modules/parent/pom.xml there are 2 <dependency> on javax.servlet.
One has <scope>provided</scope>. I'm not sure if this is the problem, but I
think it's wrong to have duplicate dependencies with different scopes. Which
one wins?
> Clean build of java/Axis2 from head failed in SOAP Monitor step
> ---------------------------------------------------------------
>
> Key: AXIS2-3424
> URL: https://issues.apache.org/jira/browse/AXIS2-3424
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: nightly
> Environment: RH Linux
> Reporter: Tom Seelbach
> Attachments: mvn-install.log
>
>
> Clean build of java/Axis2 from head failed. Failing step is SOAP Monitor.
> Error is "cannot find symbol. class HttpServlet.
> I looked at the build log (attached to this jira) and it appears that
> javax.servlet api is being downloaded by maven, so I'm not sure why this
> error occurred.
> Maybe this message in the log is the problem:
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/schema/XmlSchema/SNAPSHOT/XmlSchema-20071226.020948-12.pom
> downloaded
> [WARNING]
> Artifact javax.servlet:servlet-api:jar:2.3:provided retains local
> scope 'provided' overriding broader scope 'compile'
> given by a dependency. If this is not intended, modify or remove the
> local scope.
> This is how I did the build:
> rm -rf .m2/
> svn co http://svn.apache.org/repos/asf/webservices/axis2/trunk/java
> mvn install 2>&1 | tee mvn-install.log
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]