You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/02/04 22:52:13 UTC
[jira] Created: (MPJAR-43) incorrect artifact relative path for inherited subproject pom
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJAR-43
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJAR-43
Summary: incorrect artifact relative path for inherited subproject pom
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: maven-jar-plugin
Fix Fors:
1.6
Versions:
1.6
Assignee:
Reporter: gax
Created: Fri, 4 Feb 2005 4:51 PM
Updated: Fri, 4 Feb 2005 4:51 PM
Description:
call to <artifact:install-snapshot> in
<goal name="jar:install-snapshot">
uses an relative path that the artifact plugin doest resolve correctly when inheritance or subprojects are involved and the "current" directory changes:
see line 448
http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?view=annotate
I have resolved my problem by changeing the jar:install-snapshot goal with
-------snip line 250 of plugin.jelly-------------------
<!-- ================================================================== -->
<!-- I N S T A L L S N A P S H O T -->
<!-- ================================================================== -->
<goal
name="jar:install-snapshot" prereqs="jar:jar"
description="Install a snapshot jar in the local repository">
<maven:makeAbsolutePath path="${maven.build.dir}/${maven.final.name}.jar"
basedir="${basedir}"
var="realArtifactPath"/>
<ant:echo>jar path=${realArtifactPath}</ant:echo>
<ant:echo>basedir=${basedir}</ant:echo>
<!--artifact:install-snapshot
artifact="${maven.build.dir}/${maven.final.name}.jar"
type="jar"
project="${pom}"
/-->
<artifact:install-snapshot
artifact="${realArtifactPath}"
type="jar"
project="${pom}"
/>
</goal>
-------end snip line 250 of plugin.jelly-------------------
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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: (MPJAR-43) incorrect artifact relative path for inherited subproject pom
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPJAR-43?page=all ]
Vincent Massol updated MPJAR-43:
--------------------------------
Fix Version: (was: 1.6)
Environment:
Description:
call to <artifact:install-snapshot> in
<goal name="jar:install-snapshot">
uses an relative path that the artifact plugin doest resolve correctly when inheritance or subprojects are involved and the "current" directory changes:
see line 448
http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?view=annotate
I have resolved my problem by changeing the jar:install-snapshot goal with
-------snip line 250 of plugin.jelly-------------------
<!-- ================================================================== -->
<!-- I N S T A L L S N A P S H O T -->
<!-- ================================================================== -->
<goal
name="jar:install-snapshot" prereqs="jar:jar"
description="Install a snapshot jar in the local repository">
<maven:makeAbsolutePath path="${maven.build.dir}/${maven.final.name}.jar"
basedir="${basedir}"
var="realArtifactPath"/>
<ant:echo>jar path=${realArtifactPath}</ant:echo>
<ant:echo>basedir=${basedir}</ant:echo>
<!--artifact:install-snapshot
artifact="${maven.build.dir}/${maven.final.name}.jar"
type="jar"
project="${pom}"
/-->
<artifact:install-snapshot
artifact="${realArtifactPath}"
type="jar"
project="${pom}"
/>
</goal>
-------end snip line 250 of plugin.jelly-------------------
was:
call to <artifact:install-snapshot> in
<goal name="jar:install-snapshot">
uses an relative path that the artifact plugin doest resolve correctly when inheritance or subprojects are involved and the "current" directory changes:
see line 448
http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?view=annotate
I have resolved my problem by changeing the jar:install-snapshot goal with
-------snip line 250 of plugin.jelly-------------------
<!-- ================================================================== -->
<!-- I N S T A L L S N A P S H O T -->
<!-- ================================================================== -->
<goal
name="jar:install-snapshot" prereqs="jar:jar"
description="Install a snapshot jar in the local repository">
<maven:makeAbsolutePath path="${maven.build.dir}/${maven.final.name}.jar"
basedir="${basedir}"
var="realArtifactPath"/>
<ant:echo>jar path=${realArtifactPath}</ant:echo>
<ant:echo>basedir=${basedir}</ant:echo>
<!--artifact:install-snapshot
artifact="${maven.build.dir}/${maven.final.name}.jar"
type="jar"
project="${pom}"
/-->
<artifact:install-snapshot
artifact="${realArtifactPath}"
type="jar"
project="${pom}"
/>
</goal>
-------end snip line 250 of plugin.jelly-------------------
"Fix version" is to be used by the assignee
> incorrect artifact relative path for inherited subproject pom
> -------------------------------------------------------------
>
> Key: MPJAR-43
> URL: http://jira.codehaus.org/browse/MPJAR-43
> Project: maven-jar-plugin
> Type: Bug
> Versions: 1.6
> Reporter: gax
>
> Original Estimate: 1 day
> Remaining: 1 day
>
> call to <artifact:install-snapshot> in
> <goal name="jar:install-snapshot">
> uses an relative path that the artifact plugin doest resolve correctly when inheritance or subprojects are involved and the "current" directory changes:
> see line 448
> http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?view=annotate
> I have resolved my problem by changeing the jar:install-snapshot goal with
> -------snip line 250 of plugin.jelly-------------------
> <!-- ================================================================== -->
> <!-- I N S T A L L S N A P S H O T -->
> <!-- ================================================================== -->
> <goal
> name="jar:install-snapshot" prereqs="jar:jar"
> description="Install a snapshot jar in the local repository">
> <maven:makeAbsolutePath path="${maven.build.dir}/${maven.final.name}.jar"
> basedir="${basedir}"
> var="realArtifactPath"/>
> <ant:echo>jar path=${realArtifactPath}</ant:echo>
> <ant:echo>basedir=${basedir}</ant:echo>
> <!--artifact:install-snapshot
> artifact="${maven.build.dir}/${maven.final.name}.jar"
> type="jar"
> project="${pom}"
> /-->
> <artifact:install-snapshot
> artifact="${realArtifactPath}"
> type="jar"
> project="${pom}"
> />
> </goal>
> -------end snip line 250 of plugin.jelly-------------------
--
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: (MPJAR-43) incorrect artifact relative path for inherited subproject pom
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: gax
Created: Fri, 4 Feb 2005 4:56 PM
Body:
this bug also appies to goal name="jar:install"
is it better fixed my the artifact plugin?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJAR-43?page=comments#action_29572
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJAR-43
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJAR-43
Summary: incorrect artifact relative path for inherited subproject pom
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: maven-jar-plugin
Fix Fors:
1.6
Versions:
1.6
Assignee:
Reporter: gax
Created: Fri, 4 Feb 2005 4:51 PM
Updated: Fri, 4 Feb 2005 4:56 PM
Description:
call to <artifact:install-snapshot> in
<goal name="jar:install-snapshot">
uses an relative path that the artifact plugin doest resolve correctly when inheritance or subprojects are involved and the "current" directory changes:
see line 448
http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?view=annotate
I have resolved my problem by changeing the jar:install-snapshot goal with
-------snip line 250 of plugin.jelly-------------------
<!-- ================================================================== -->
<!-- I N S T A L L S N A P S H O T -->
<!-- ================================================================== -->
<goal
name="jar:install-snapshot" prereqs="jar:jar"
description="Install a snapshot jar in the local repository">
<maven:makeAbsolutePath path="${maven.build.dir}/${maven.final.name}.jar"
basedir="${basedir}"
var="realArtifactPath"/>
<ant:echo>jar path=${realArtifactPath}</ant:echo>
<ant:echo>basedir=${basedir}</ant:echo>
<!--artifact:install-snapshot
artifact="${maven.build.dir}/${maven.final.name}.jar"
type="jar"
project="${pom}"
/-->
<artifact:install-snapshot
artifact="${realArtifactPath}"
type="jar"
project="${pom}"
/>
</goal>
-------end snip line 250 of plugin.jelly-------------------
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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