[jira] Commented: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-25 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114835
 ] 

Arnaud Heritier commented on MECLIPSE-346:
--

I don't see which change can produce this problem.
Perhaps another patch I applied.
Yes, can you open a new issue for that.
We'll fix it ASAP.

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-25 Thread Siarhei Dudzin (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114839
 ] 

Siarhei Dudzin commented on MECLIPSE-346:
-

Ok, I did some testing again and I think it's pure JBoss Tools issue (only 
exploded deployment doesn't work) - the 'standard' WTP-2 deployment works now 
(doesn't do exploded deployment but regular ear-packaging). 

I think this issue is really closed now. Thanks!

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-24 Thread Siarhei Dudzin (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114781
 ] 

Siarhei Dudzin commented on MECLIPSE-346:
-

This particular problem seems to be solved (correct facelets are generated). 
However I can't seem to deploy the project to JBoss anymore (using the latest  
JBoss tools plugins). I get No META-INF/application.xml found error because I 
don't have application.xml in my source folders (it's generated automatically). 
And I can't do the 'Generate Deployment Descriptor stub functionality of WTP 
(seems to be WTP detect the generated application.xml under the target 
directory).

Is there anything else changed that may cause this problem (it did work when I 
reported this issue and just manually changed the facet version)? Should I make 
another JIRA issue? Right now I can't deploy the project via WTP at all.

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-21 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114482
 ] 

Arnaud Heritier commented on MECLIPSE-346:
--

Ok I think I found the problem. It's due to the usage of the provided scope for 
the dependency. These dependencies aren't transitive :-( Let me search how we 
can bypass this ...

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-21 Thread Siarhei Dudzin (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114483
 ] 

Siarhei Dudzin commented on MECLIPSE-346:
-

What about my solution that looks into the referenced projects and then into 
their direct dependencies (the original patch attachment)?

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-21 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114500
 ] 

Arnaud Heritier commented on MECLIPSE-346:
--

Your solution is quite good, but in theory we should have to use 
MavenProject.getDependencies, MavenProject.getArtifacts or 
MavenProject.getProjectReferences to be sure that we don't ask to maven to 
resolve itself the dependencies (or we will have some problems, for example to 
create the eclipse config if the project has some dependencies not yet built).
That's why we have some methods like 
AbstractIdeSupportMojo.doDependencyResolution()
I wouldn't  break something by using this method

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-21 Thread Siarhei Dudzin (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114506
 ] 

Siarhei Dudzin commented on MECLIPSE-346:
-

Well just as you suggested this is exactly what is used in the patch: 
MavenProject.getProjectReferences and MavenProject.getDependencies so I dont 
see the problem here (unless I misunderstood what you just meant).

Anyway, what are your plans for this issue? I have pretty high need for this 
issue to be resolved.

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
  Components: dependency resolution, WTP support
Affects Versions: 2.4
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch, test-project-MECLIPSE-346.zip


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-19 Thread Siarhei Dudzin (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114204
 ] 

Siarhei Dudzin commented on MECLIPSE-346:
-

Can you, please, let me know when it is published? I can't seem to find the new 
version on the maven snapshots repository.

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
Affects Versions: 2.5
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

-- 
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: (MECLIPSE-346) Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions

2007-11-19 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114222
 ] 

Arnaud Heritier commented on MECLIPSE-346:
--

It's not yet done. Sorry. I noticed a test failure. I'll let you know when it 
will be available. Sorry

 Transitive dependencies aren't used to resolve JEE/JSP/EJB/Servlet versions
 ---

 Key: MECLIPSE-346
 URL: http://jira.codehaus.org/browse/MECLIPSE-346
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
Affects Versions: 2.5
 Environment: maven-eclipse-plugin-2.5-SNAPSHOT with freshly applied 
 WTP-2.0 patch
Reporter: Siarhei Dudzin
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-346.patch


 After using parent pom settings from test project 34 or 35 ( Revision 595865: 
 /maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-35
  )
 I've generated the project. As a result I had an error The deployment 
 descriptor of the module 'jboss-seam-2.0.0.GA.jar' cannot be loaded. (using 
 jboss seam as an ejb module). After checking facets I've found that the the 
 ear module had ear version 1.4 in 
 org.eclipse.wst.common.project.facet.core.xml:
 installed facet=jst.ear version=1.4/ instead of 5.0. 
 After manually changing the facet version to installed facet=jst.ear 
 version=5.0/ and re-adding the project to the workspace the problem go 
 resolved.

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