[ 
http://jira.codehaus.org/browse/MANIMALSNIFFER-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255868#action_255868
 ] 

Andreas Sewe commented on MANIMALSNIFFER-6:
-------------------------------------------

Just an addendum to my last comment: This is not only a problem when the 
{{animal-sniffer-maven-plugin}} is bound to a phase executed after the JAR 
files have been copied to the build directory, but also when doing a {{mvn 
clean deploy site-deploy}}. While for the {{deploy}} the plugin does not see 
the JAR files, as they have been copied in a later phase, it sees them during 
the lifecycle forked by the {{maven-site-plugin}}, causing the first execution 
of {{animal-sniffer:check}} to succeed but the second one to fail. This is 
extremely irritating.

> 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


Reply via email to