| Author |
Message |
|
|
Post subject: Maven integration for enterprise application project
Posted: Jun 22, 2008 - 12:08 PM
|
|
Registered Member


Joined: Jan 18, 2007
Posts: 1
|
|
Since release 6.5 all project types have (optional) maven support, except the enterprise application project. Is it planned to add integration for that as well?
What would be a good workaround in the meantime? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven integration for enterprise application project
Posted: Jun 23, 2008 - 09:53 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Oh yes absolutely, we just didn't get a chance to address it completely in 6.5. There isn't a workaround at the moment for this though. Sorry. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 25, 2008 - 01:55 PM
|
|

Joined: Apr 19, 2007
Posts: 13
|
|
When I tried to add a project A in a dependency of a project B (pom.xml), both in my workspace, with workspace resolution active, the web deploy doesn't work.
Just make a test. Create 2 maven projects, one with web capability. Add the project as a dependency of the web project. Try to deploy it. Doesn't work. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 25, 2008 - 06:42 PM
|
|
Registered Member

Joined: May 12, 2005
Posts: 472
|
|
| michelz wrote: | | Just make a test. Create 2 maven projects, one with web capability. Add the project as a dependency of the web project. Try to deploy it. Doesn't work. |
It looks like the deploy is working for me.
Please import 2 projects from the attached zip file to your workspace. Then deploy "frontend" project to server. |
_________________ Eugene
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 12:07 AM
|
|

Joined: Apr 19, 2007
Posts: 13
|
|
I tried to deploy the sample projects... looks like everything is fine... but not. I got a warning after the deployment, showed in 'problems' view:
"Deployment failure on MyEclipse Tomcat . Could not copy all resources to C:\Java\workspace-myeclipse-6.5\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\frontend. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at C:\Java\workspace-myeclipse-6.5\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\frontend"
If you put a dependency in the library project pom.xml like:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.4</version>
</dependency>
And try to deploy frontend again, the spring.jar doesn't not appear in the web-inf/lib after deployment, but in eclipse, it's ok.
Thanks for reply! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 08:32 AM
|
|
Registered Member

Joined: May 12, 2005
Posts: 472
|
|
I confirmed the issue (warning message and Jars not copied).
Thank you for reporting this issue. It will be addressed in the coming releases. |
_________________ Eugene
MyEclipse Support
|
| |
|
|
|
 |
|
|