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/15 20:42:57 UTC
[jira] Created: (MNG-740) dependencies resolution not work using pom on local source tree - special case
dependencies resolution not work using pom on local source tree - special case
------------------------------------------------------------------------------
Key: MNG-740
URL: http://jira.codehaus.org/browse/MNG-740
Project: Maven 2
Type: Bug
Components: maven-artifact
Versions: 2.0-beta-1
Environment: xp
Reporter: Dan Tran
Fix For: 2.0-beta-1
Attachments: c.log, jira.zip
Folks, I would like to make sure i am able to build my artitfact with it parent poms are not either in local or remote repo.
Attached is the dummy m2 structure to repoduce the problem.
Here are detail
somedir
root
pom.xml
subprojects
pom.xml
A
pom.xml
BC-parent
B
pom.xml <--- depend on A
C
pom.xml <--- depends on B
Here are the step the reproduce
1. Install root's pom ( m2 install )
2. Install A ( m2 install in subproejcts/A
3. install B ( m2 install in subprojects/BC-parent/B
4. install C ( m2 install in subprojects/BC-parent/C)
C fails here. See attach logs
however if I do a full install from subprojects or manually install subproejcts pom and BC-parent pom ( via m2 install -N) the problem goes away
--
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-740) dependencies resolution not work using pom on local source tree - special case
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-740?page=all ]
Brett Porter updated MNG-740:
-----------------------------
Fix Version: (was: 2.0-beta-1)
2.0-beta-2
> dependencies resolution not work using pom on local source tree - special case
> ------------------------------------------------------------------------------
>
> Key: MNG-740
> URL: http://jira.codehaus.org/browse/MNG-740
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: xp
> Reporter: Dan Tran
> Fix For: 2.0-beta-2
> Attachments: c.log, jira.zip
>
>
> Folks, I would like to make sure i am able to build my artitfact with it parent poms are not either in local or remote repo.
> Attached is the dummy m2 structure to repoduce the problem.
> Here are detail
> somedir
> root
> pom.xml
> subprojects
> pom.xml
> A
> pom.xml
> BC-parent
> B
> pom.xml <--- depend on A
> C
> pom.xml <--- depends on B
> Here are the step the reproduce
> 1. Install root's pom ( m2 install )
> 2. Install A ( m2 install in subproejcts/A
> 3. install B ( m2 install in subprojects/BC-parent/B
> 4. install C ( m2 install in subprojects/BC-parent/C)
> C fails here. See attach logs
> however if I do a full install from subprojects or manually install subproejcts pom and BC-parent pom ( via m2 install -N) the problem goes away
--
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-740) dependencies resolution not work using pom on local source tree - special case
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-740?page=all ]
Brett Porter updated MNG-740:
-----------------------------
Fix Version: (was: 2.0-beta-3)
2.1
> dependencies resolution not work using pom on local source tree - special case
> ------------------------------------------------------------------------------
>
> Key: MNG-740
> URL: http://jira.codehaus.org/browse/MNG-740
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: xp
> Reporter: Dan Tran
> Fix For: 2.1
> Attachments: c.log, jira.zip
>
>
> Folks, I would like to make sure i am able to build my artitfact with it parent poms are not either in local or remote repo.
> Attached is the dummy m2 structure to repoduce the problem.
> Here are detail
> somedir
> root
> pom.xml
> subprojects
> pom.xml
> A
> pom.xml
> BC-parent
> B
> pom.xml <--- depend on A
> C
> pom.xml <--- depends on B
> Here are the step the reproduce
> 1. Install root's pom ( m2 install )
> 2. Install A ( m2 install in subproejcts/A
> 3. install B ( m2 install in subprojects/BC-parent/B
> 4. install C ( m2 install in subprojects/BC-parent/C)
> C fails here. See attach logs
> however if I do a full install from subprojects or manually install subproejcts pom and BC-parent pom ( via m2 install -N) the problem goes away
--
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-740) dependencies resolution not work using pom on local source tree - special case
Posted by "Jeff Jensen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-740?page=comments#action_50128 ]
Jeff Jensen commented on MNG-740:
---------------------------------
My dir structure is a little less complex, and has the same result. I too have the parent pom not in a dir directly above the other components, but in a dir at the same level as the other components.
|--root
|--pom.xml
|--component1
|--pom.xml
|--component2
|--pom.xml
|--component3
|--pom.xml
The <relativePath> setting in the <parent> tags in the components seem to have no effect. I do not receive an error message that the parent was not found either, only "[INFO] Failed to resolve artifact." when I have not first executed a "mvn install" in the root dir.
> dependencies resolution not work using pom on local source tree - special case
> ------------------------------------------------------------------------------
>
> Key: MNG-740
> URL: http://jira.codehaus.org/browse/MNG-740
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: xp
> Reporter: Dan Tran
> Fix For: 2.1
> Attachments: c.log, jira.zip
>
>
> Folks, I would like to make sure i am able to build my artitfact with it parent poms are not either in local or remote repo.
> Attached is the dummy m2 structure to repoduce the problem.
> Here are detail
> somedir
> root
> pom.xml
> subprojects
> pom.xml
> A
> pom.xml
> BC-parent
> B
> pom.xml <--- depend on A
> C
> pom.xml <--- depends on B
> Here are the step the reproduce
> 1. Install root's pom ( m2 install )
> 2. Install A ( m2 install in subproejcts/A
> 3. install B ( m2 install in subprojects/BC-parent/B
> 4. install C ( m2 install in subprojects/BC-parent/C)
> C fails here. See attach logs
> however if I do a full install from subprojects or manually install subproejcts pom and BC-parent pom ( via m2 install -N) the problem goes away
--
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