[jira] Commented: (MNG-2759) Resolving transitive dependencies of artefacts with classifiers fails

2008-05-14 Thread Libor Kramolis (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134793#action_134793
 ] 

Libor Kramolis commented on MNG-2759:
-

I have attached patches of install (MINSTALL-41) and deploy (MDEPLOY-78) 
plugins to solve this problem. I hope they will be applied soon.


> Resolving transitive dependencies of artefacts with classifiers fails
> -
>
> Key: MNG-2759
> URL: http://jira.codehaus.org/browse/MNG-2759
> Project: Maven 2
>  Issue Type: Bug
>  Components: Dependencies
>Affects Versions: 2.0.4
> Environment: Windows XP, Maven 2.0.4
>Reporter: Fabian Bauschulte
> Fix For: Reviewed Pending Version Assignment
>
> Attachments: project.zip
>
>
> I have the following projects with subprojects projectA, projectB and 
> projectC. projectA depends on projectB, projectC depends on projectB. All 
> projects use classifiers:
>   ... 
>   projectB
>   
>   
>   
>   org.apache.maven.plugins
>   maven-jar-plugin
>   
>   someclassifier
>   
>   
>   
>   
>   
>   
>   test
>   projectB
>   1.0.0
>   someclassifier
>   
>   
> When running "mvn clean install" on the the parent works fine. But running 
> "mvn install" only in projectC fails:
> C:\Data\maven-test\projectC>mvn clean install
> [INFO] Scanning for projects...
> [INFO] 
> 
> [INFO] Building Unnamed - test:projectC:jar:1.0.0
> [INFO]task-segment: [clean, install]
> [INFO] 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\Data\maven-test\projectC\target
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\classes
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\test-classes
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://repo1.maven.org/maven2/test/projectB/1.0.0/projectB-1.0.0.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> [INFO] [compiler:compile]
> Compiling 1 source file to C:\Daten\maven-test\projectC\target\classes
> [INFO] 
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] Compilation failure
> C:\Data\maven-test\projectC\src\main\java\ClassC.java:[3,12] cannot find 
> symbol
> symbol  : class ClassA
> location: package test
> [INFO] 
> 

-- 
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-2759) Resolving transitive dependencies of artefacts with classifiers fails

2008-04-06 Thread Libor Kramolis (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129927#action_129927
 ] 

Libor Kramolis commented on MNG-2759:
-

See also MINSTALL-41 and MDEPLOY-45.


> Resolving transitive dependencies of artefacts with classifiers fails
> -
>
> Key: MNG-2759
> URL: http://jira.codehaus.org/browse/MNG-2759
> Project: Maven 2
>  Issue Type: Bug
>  Components: Dependencies
>Affects Versions: 2.0.4
> Environment: Windows XP, Maven 2.0.4
>Reporter: Fabian Bauschulte
> Fix For: Reviewed Pending Version Assignment
>
> Attachments: project.zip
>
>
> I have the following projects with subprojects projectA, projectB and 
> projectC. projectA depends on projectB, projectC depends on projectB. All 
> projects use classifiers:
>   ... 
>   projectB
>   
>   
>   
>   org.apache.maven.plugins
>   maven-jar-plugin
>   
>   someclassifier
>   
>   
>   
>   
>   
>   
>   test
>   projectB
>   1.0.0
>   someclassifier
>   
>   
> When running "mvn clean install" on the the parent works fine. But running 
> "mvn install" only in projectC fails:
> C:\Data\maven-test\projectC>mvn clean install
> [INFO] Scanning for projects...
> [INFO] 
> 
> [INFO] Building Unnamed - test:projectC:jar:1.0.0
> [INFO]task-segment: [clean, install]
> [INFO] 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\Data\maven-test\projectC\target
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\classes
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\test-classes
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://repo1.maven.org/maven2/test/projectB/1.0.0/projectB-1.0.0.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> [INFO] [compiler:compile]
> Compiling 1 source file to C:\Daten\maven-test\projectC\target\classes
> [INFO] 
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] Compilation failure
> C:\Data\maven-test\projectC\src\main\java\ClassC.java:[3,12] cannot find 
> symbol
> symbol  : class ClassA
> location: package test
> [INFO] 
> 

-- 
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-2759) Resolving transitive dependencies of artefacts with classifiers fails

2008-04-05 Thread Libor Kramolis (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129907#action_129907
 ] 

Libor Kramolis commented on MNG-2759:
-

Artifacts with classier are not deployed with its pom.xml. It means that 
projectC does not know what projectB depends on. :-(


> Resolving transitive dependencies of artefacts with classifiers fails
> -
>
> Key: MNG-2759
> URL: http://jira.codehaus.org/browse/MNG-2759
> Project: Maven 2
>  Issue Type: Bug
>  Components: Dependencies
>Affects Versions: 2.0.4
> Environment: Windows XP, Maven 2.0.4
>Reporter: Fabian Bauschulte
> Fix For: Reviewed Pending Version Assignment
>
> Attachments: project.zip
>
>
> I have the following projects with subprojects projectA, projectB and 
> projectC. projectA depends on projectB, projectC depends on projectB. All 
> projects use classifiers:
>   ... 
>   projectB
>   
>   
>   
>   org.apache.maven.plugins
>   maven-jar-plugin
>   
>   someclassifier
>   
>   
>   
>   
>   
>   
>   test
>   projectB
>   1.0.0
>   someclassifier
>   
>   
> When running "mvn clean install" on the the parent works fine. But running 
> "mvn install" only in projectC fails:
> C:\Data\maven-test\projectC>mvn clean install
> [INFO] Scanning for projects...
> [INFO] 
> 
> [INFO] Building Unnamed - test:projectC:jar:1.0.0
> [INFO]task-segment: [clean, install]
> [INFO] 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\Data\maven-test\projectC\target
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\classes
> [INFO] Deleting directory C:\Data\maven-test\projectC\target\test-classes
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://repo1.maven.org/maven2/test/projectB/1.0.0/projectB-1.0.0.pom
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> [INFO] [compiler:compile]
> Compiling 1 source file to C:\Daten\maven-test\projectC\target\classes
> [INFO] 
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] Compilation failure
> C:\Data\maven-test\projectC\src\main\java\ClassC.java:[3,12] cannot find 
> symbol
> symbol  : class ClassA
> location: package test
> [INFO] 
> 

-- 
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