You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2005/08/21 14:22:09 UTC

[jira] Created: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Empty artifacts when not using  maven-core's default lifecycles
---------------------------------------------------------------

         Key: MNG-759
         URL: http://jira.codehaus.org/browse/MNG-759
     Project: Maven 2
        Type: Bug
  Components: maven-core  
    Versions: 2.0-beta-1    
 Environment: xp
 Reporter: Dan Tran
     Fix For: 2.0-beta-1


maven project that uses external build lifecycle out side maven-core do not see it artifact list.

in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
and the linker do not have the required lib file to link to

This is  a blocking bug.




-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]
     
Brett Porter closed MNG-759:
----------------------------

     Resolution: Cannot Reproduce
    Fix Version:     (was: 2.0-beta-1)

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>        Time Spent: 2 hours
>         Remaining: 0 minutes
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]

Dan Tran updated MNG-759:
-------------------------

    Attachment: pom.xml

Here are important  info about the attached pom.xml

  - packaging = dll  ,  i have my own lifecycle defined in my maven-native-plugin's components.xml

  - I have a dependency of type "lib"    another lifecycle

  - in the linkerStartOption, i have to hardcode the .lib file inorder to link
     <linkerStartOption>
            ..\common\target\modiiop-windows-x86-common-7.0-SNAPSHOT.lib
      </linkerStartOption>

   - I dont have ArtifactHandler for type dll, lib.  M2 uses the lifecycle name as extention
     name when It is not able to find the artifact Handler

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]

Brett Porter updated MNG-759:
-----------------------------

    Priority: Blocker  (was: Major)

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Priority: Blocker
>      Fix For: 2.0-beta-1

>
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-759?page=comments#action_45047 ] 

Dan Tran commented on MNG-759:
------------------------------

forgot to mention, it works now.

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>         Remaining: 4 hours
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]
     
Brett Porter reopened MNG-759:
------------------------------


> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>        Time Spent: 2 hours
>         Remaining: 0 minutes
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]

John Casey updated MNG-759:
---------------------------

    Complexity: Expert  (was: Intermediate)

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>         Remaining: 4 hours
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]

John Casey updated MNG-759:
---------------------------

    Remaining Estimate: 4 hours
     Original Estimate: 14400

should just be a matter of debugging the error using a test based on the attached POM, then fixing the problem. Not anticipating anything too crazy...

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>         Remaining: 4 hours
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-759?page=all ]
     
John Casey closed MNG-759:
--------------------------

    Resolution: Cannot Reproduce

actually, I'm leaving the integration test out, since this is far too specific of a case to be generally applicable for regression testing.

> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>        Time Spent: 2 hours
>         Remaining: 0 minutes
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-759) Empty artifacts when not using maven-core's default lifecycles

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-759?page=comments#action_45046 ] 

Dan Tran commented on MNG-759:
------------------------------

Per John advice, I need to add @requiresDependencyResolution  to NativeLinkerMojo

Sorry about this.



> Empty artifacts when not using  maven-core's default lifecycles
> ---------------------------------------------------------------
>
>          Key: MNG-759
>          URL: http://jira.codehaus.org/browse/MNG-759
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1
>  Attachments: pom.xml
>
> Original Estimate: 4 hours
>         Remaining: 4 hours
>
> maven project that uses external build lifecycle out side maven-core do not see it artifact list.
> in my case of using maven-native-plugin,  my dll project has a .lib dependency, therefore
> the link phase will fail since the artifacts is empty (  project.getArtifacts() returns empty set)
> and the linker do not have the required lib file to link to
> This is  a blocking bug.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org