[
http://jira.codehaus.org/browse/MANIMALSNIFFER-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255306#action_255306
]
Andreas Sewe commented on MANIMALSNIFFER-6:
-------------------------------------------
I have been bitten by this, too: I have a packaging requirement that forces me
to put further JARs with the artifact's JAR. The {{maven-dependency-plugin}}
copies this these JARs into the project's output directory in the
{{prepare-package}} phase. With the {{animal-sniffer-maven-plugin}} bound to
the {{verify}} phase (which IMHO makes more sense than its default phase of
{{process-classes}}) these nested JARs get accidentally checked as well.
> animal-sniffer maven plugin descends into JAR files in the build directory
> --------------------------------------------------------------------------
>
> Key: MANIMALSNIFFER-6
> URL: http://jira.codehaus.org/browse/MANIMALSNIFFER-6
> Project: Mojo Animal Sniffer
> Issue Type: Bug
> Components: Maven Plugin
> Affects Versions: 1.5
> Reporter: Justin Edelson
> Assignee: Stephen Connolly
>
> to reproduce:
> $ svn co -r 911542 http://svn.apache.org/repos/asf/sling/trunk sling-builder
> $ cd sling-builder
> $ mvn -P animal-sniffer install
> In the launchpad/builder module, you'll get errors like this:
> [ERROR] Undefined reference:
> javax/portlet/ActionRequest.getCharacterEncoding()Ljava/lang/String; in
> /Users/justin/Workspace/sling-builder/launchpad/builder/target/classes/resources/bundles/0/commons-fileupload-1.2.1.jar:org/apache/commons/fileupload/portlet/PortletRequestContext.class
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email