[
https://issues.apache.org/jira/browse/AXIS2-3424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558731#action_12558731
]
Tom Seelbach commented on AXIS2-3424:
-------------------------------------
I removed the duplicate dependency (the one with the scope=provided) and the
build was successful. (i.e. no error due to missing symbol for HttpServlet).
I think that this <almost> duplicate entry from parent/pom.xml should be
removed:
<dependency><groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet.api.version}</version>
<scope>provided</scope>
</dependency>
> 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]