[ 
http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179952#action_179952
 ] 

Angie Lin commented on MNG-3587:
--------------------------------

I am also seeing this while doing a 'mvn install' and it's breaking things for 
me.  The only thing my pom does is use maven-assembly-plugin to create a custom 
distribution of my project modules.  

However, when maven-assembly-plugin runs to actually assemble things, it grabs 
the unique timestamped file, breaking the classpath in my MANIFEST.

Here's a snippet of the output from 'mvn -X install'.  Notice that I have 2 
snapshot dependencies.  The first resolves just fine.  The second one is the 
goofy one.  

[DEBUG] Adding file: 
/home/alin/.m2/repository/mystuff/media/media-mdm-runtime/1.0.0-SNAPSHOT/media-mdm-runtime-1.0.0-SNAPSHOT.jar
 to archive location: 
media-mdm-dist-1.0.0-SNAPSHOT/lib/media-mdm-runtime-1.0.0-SNAPSHOT.jar
[WARNING] Attempting to build MavenProject instance for Artifact 
(mystuff.dmc:server-common:1.0.0-20090610.033054-245) of type: jar; 
constructing POM artifact instead.
[DEBUG] Adding managed dependencies for mystuff.dmc:server-common
...
[DEBUG] Adding artifact: mystuff.dmc:server-common:jar:1.0.0-SNAPSHOT with 
file: 
/home/alin/.m2/repository/mystuff/dmc/server-common/1.0.0-SNAPSHOT/server-common-1.0.0-SNAPSHOT.jar
 to assembly location: lib/server-common-1.0.0-20090610.033054-245.jar.






> Strange warnings while building a project
> -----------------------------------------
>
>                 Key: MNG-3587
>                 URL: http://jira.codehaus.org/browse/MNG-3587
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Seva Popov
>             Fix For: 2.0.11
>
>         Attachments: maven-warning.txt
>
>
> We've switched from Maven 2.0.7 to Maven 2.0.9 and started observing strange 
> warnings happening in different contexts in our builds:
> Example:
> [WARNING] Attempting to build MavenProject instance for Artifact 
> (com.tvworks.tva.maven.plugins:maven-license-plugin:3.3-20080508.052638-16) 
> of type: maven-plugin; constructing POM artifact instead.
> [WARNING] Attempting to build MavenProject instance for Artifact  
> (com.tvworks.tva.common:tva-common-logging:3.3-20080513.211757-62) of  type: 
> jar; constructing POM artifact instead.
> More details in this thread:
> http://www.mail-archive.com/us...@maven.apache.org/msg85248.html

-- 
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

        

Reply via email to