You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Nitya Doraisamy (JIRA)" <de...@tuscany.apache.org> on 2011/04/20 22:30:05 UTC
[jira] [Created] (TUSCANY-3862) MavenProject artifact.getFile()
returns directory when dependency is part of aggregator pom build
MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build
-------------------------------------------------------------------------------------------------
Key: TUSCANY-3862
URL: https://issues.apache.org/jira/browse/TUSCANY-3862
Project: Tuscany
Issue Type: Bug
Components: Maven Plugins
Environment: ALL
Reporter: Nitya Doraisamy
Priority: Minor
While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
Happens when the build lifecycle is stopped before it reaches the package or install phase
With artifacts from project.getArtifacts()
artifact = junit:junit:jar:4.8.1:test
artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
artifact = com.company.application:utility:jar:1.0.0:compile
artifact.getFile() = /target/classes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TUSCANY-3862) maven-dependency-plugin :
MavenProject artifact.getFile() returns directory when dependency is part
of aggregator pom build
Posted by "Nitya Doraisamy (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nitya Doraisamy updated TUSCANY-3862:
-------------------------------------
Description:
maven-dependency-plugin : https://svn.apache.org/repos/asf/tuscany/maven-plugins/trunk/maven-dependency-plugin/
While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
Happens when the build lifecycle is stopped before it reaches the package or install phase
With artifacts from project.getArtifacts()
artifact = junit:junit:jar:4.8.1:test
artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
artifact = com.company.application:utility:jar:1.0.0:compile
artifact.getFile() = /target/classes
was:
While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
Happens when the build lifecycle is stopped before it reaches the package or install phase
With artifacts from project.getArtifacts()
artifact = junit:junit:jar:4.8.1:test
artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
artifact = com.company.application:utility:jar:1.0.0:compile
artifact.getFile() = /target/classes
Summary: maven-dependency-plugin : MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build (was: MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build)
> maven-dependency-plugin : MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3862
> URL: https://issues.apache.org/jira/browse/TUSCANY-3862
> Project: Tuscany
> Issue Type: Bug
> Components: Maven Plugins
> Environment: ALL
> Reporter: Nitya Doraisamy
> Priority: Minor
> Attachments: patchDetector.patch
>
>
> maven-dependency-plugin : https://svn.apache.org/repos/asf/tuscany/maven-plugins/trunk/maven-dependency-plugin/
> While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
> Happens when the build lifecycle is stopped before it reaches the package or install phase
> With artifacts from project.getArtifacts()
> artifact = junit:junit:jar:4.8.1:test
> artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
> artifact = com.company.application:utility:jar:1.0.0:compile
> artifact.getFile() = /target/classes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (TUSCANY-3862) maven-dependency-plugin :
MavenProject artifact.getFile() returns directory when dependency is part
of aggregator pom build
Posted by "Raymond Feng (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng resolved TUSCANY-3862.
-----------------------------------
Resolution: Fixed
Patch applied to trunk. Thanks!
> maven-dependency-plugin : MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3862
> URL: https://issues.apache.org/jira/browse/TUSCANY-3862
> Project: Tuscany
> Issue Type: Bug
> Components: Maven Plugins
> Environment: ALL
> Reporter: Nitya Doraisamy
> Assignee: Raymond Feng
> Priority: Minor
> Attachments: patchDetector.patch
>
>
> maven-dependency-plugin : https://svn.apache.org/repos/asf/tuscany/maven-plugins/trunk/maven-dependency-plugin/
> While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
> Happens when the build lifecycle is stopped before it reaches the package or install phase
> With artifacts from project.getArtifacts()
> artifact = junit:junit:jar:4.8.1:test
> artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
> artifact = com.company.application:utility:jar:1.0.0:compile
> artifact.getFile() = /target/classes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TUSCANY-3862) MavenProject artifact.getFile()
returns directory when dependency is part of aggregator pom build
Posted by "Nitya Doraisamy (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nitya Doraisamy updated TUSCANY-3862:
-------------------------------------
Attachment: patchDetector.patch
> MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build
> -------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3862
> URL: https://issues.apache.org/jira/browse/TUSCANY-3862
> Project: Tuscany
> Issue Type: Bug
> Components: Maven Plugins
> Environment: ALL
> Reporter: Nitya Doraisamy
> Priority: Minor
> Attachments: patchDetector.patch
>
>
> While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
> Happens when the build lifecycle is stopped before it reaches the package or install phase
> With artifacts from project.getArtifacts()
> artifact = junit:junit:jar:4.8.1:test
> artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
> artifact = com.company.application:utility:jar:1.0.0:compile
> artifact.getFile() = /target/classes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TUSCANY-3862) maven-dependency-plugin :
MavenProject artifact.getFile() returns directory when dependency is part
of aggregator pom build
Posted by "Raymond Feng (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng reassigned TUSCANY-3862:
-------------------------------------
Assignee: Raymond Feng
> maven-dependency-plugin : MavenProject artifact.getFile() returns directory when dependency is part of aggregator pom build
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3862
> URL: https://issues.apache.org/jira/browse/TUSCANY-3862
> Project: Tuscany
> Issue Type: Bug
> Components: Maven Plugins
> Environment: ALL
> Reporter: Nitya Doraisamy
> Assignee: Raymond Feng
> Priority: Minor
> Attachments: patchDetector.patch
>
>
> maven-dependency-plugin : https://svn.apache.org/repos/asf/tuscany/maven-plugins/trunk/maven-dependency-plugin/
> While building using an aggregator pom, if a dependency project is part of the aggregator, it is possible MavenProject artifact.getFile() to return a directory
> Happens when the build lifecycle is stopped before it reaches the package or install phase
> With artifacts from project.getArtifacts()
> artifact = junit:junit:jar:4.8.1:test
> artifact.getFile() = /Users/ndoraisamy/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
> artifact = com.company.application:utility:jar:1.0.0:compile
> artifact.getFile() = /target/classes
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira