You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Seva Popov (JIRA)" <ji...@codehaus.org> on 2008/05/20 00:04:27 UTC

[jira] Created: (MNG-3587) Strange warnings while building a project

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
         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/users@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

        

[jira] Commented: (MNG-3587) Strange warnings while building a project

Posted by "Richard Bolkey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163311#action_163311 ] 

Richard Bolkey commented on MNG-3587:
-------------------------------------

Have run across this too.  This seem to only show up with snapshots of plugin artifacts that use a date suffix.

> 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/users@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

        

[jira] Commented: (MNG-3587) Strange warnings while building a project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166985#action_166985 ] 

Brett Porter commented on MNG-3587:
-----------------------------------

This was originally added in r280903 (http://svn.apache.org/viewvc?view=rev&revision=280903), so something else must have changed to trigger the call to this that hadn't been before. It might help to log a stack trace in debug mode when it occurs to track it.

> 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/users@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

        

[jira] Updated: (MNG-3587) Strange warnings while building a project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3587:
------------------------------

    Fix Version/s:     (was: 2.2.1)
                   2.2.x

> 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.2.x
>
>         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/users@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

        

[jira] Issue Comment Edited: (MNG-3587) Strange warnings while building a project

Posted by "Angie Lin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179952#action_179952 ] 

Angie Lin edited comment on MNG-3587 at 6/10/09 4:44 PM:
---------------------------------------------------------

Deleting my comment as the problem I'm running into is related to:  http://jira.codehaus.org/browse/MASSEMBLY-67

      was (Author: alin04):
    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/users@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

        

[jira] Closed: (MNG-3587) Strange warnings while building a project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3587.
-----------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.2.x)

was reduced to DEBUG level in later versions, and no longer exists in Maven 3.0

> Strange warnings while building a project
> -----------------------------------------
>
>                 Key: MNG-3587
>                 URL: http://jira.codehaus.org/browse/MNG-3587
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Seva Popov
>         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/users@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

        

[jira] Updated: (MNG-3587) Strange warnings while building a project

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3587:
------------------------------

    Fix Version/s: 2.0.10

> 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.10
>
>         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/users@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

        

[jira] Commented: (MNG-3587) Strange warnings while building a project

Posted by "Angie Lin (JIRA)" <ji...@codehaus.org>.
    [ 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/users@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