You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Gonzalez <ad...@yahoo.fr> on 2007/10/11 20:08:01 UTC

ear files and maven-eclipse-plugin

Hello, 

A really noob question... (sorry !)

I'm currently using maven-eclipse-plugin to build a
web project with third party dependencies and a java
project.

I want now to use this plugin to add a ear project
including the previous web project and java project
(as utility jar). maven-eclipse-plugin generated
.project file for my ear project fine as if it was a
java project, but nothing more...

Is there a way to do this ? I'm really sorry but
didn't found any documentation about it.

Thanks very much



      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : Re: ear files and maven-eclipse-plugin

Posted by Adrian Gonzalez <ad...@yahoo.fr>.
Thanks very much Jim.

I've successfully created my ear pom.xml for RAD 7
(event if it's really ugly with all those custom files
!).

I attach my current pom.xml if it can help someone.

I've only used :
- eclipse plugin to generate .classpath and .project
and custom files.
- antrun (or cleaning purposes) plugins.
- ear plugin to generate application.xml.

--- Jim Sellers <ji...@gmail.com> a �crit :

> Make sure you have your pom type as "ear" (no
> quotes).
> 
> If you need your .project file to have certain
> natures so that eclipse will
> "see" it as a certain type.
>
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/provide-project-natures-and-build-commands.html
> 
> If you're using WTP, this might be helpful:
>
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html
> 
> HTH
> 
> Jim
> 
> On 10/11/07, Adrian Gonzalez <ad...@yahoo.fr>
> wrote:
> >
> > Hello,
> >
> > A really noob question... (sorry !)
> >
> > I'm currently using maven-eclipse-plugin to build
> a
> > web project with third party dependencies and a
> java
> > project.
> >
> > I want now to use this plugin to add a ear project
> > including the previous web project and java
> project
> > (as utility jar). maven-eclipse-plugin generated
> > .project file for my ear project fine as if it was
> a
> > java project, but nothing more...
> >
> > Is there a way to do this ? I'm really sorry but
> > didn't found any documentation about it.
> >
> > Thanks very much
> >
> >
> >
> >
> >      
>
_____________________________________________________________________________
> > Ne gardez plus qu'une seule adresse mail ! Copiez
> vos mails vers Yahoo!
> > Mail
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> >
> >
> 



      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Re: ear files and maven-eclipse-plugin

Posted by Jim Sellers <ji...@gmail.com>.
Make sure you have your pom type as "ear" (no quotes).

If you need your .project file to have certain natures so that eclipse will
"see" it as a certain type.
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/provide-project-natures-and-build-commands.html

If you're using WTP, this might be helpful:
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html

HTH

Jim

On 10/11/07, Adrian Gonzalez <ad...@yahoo.fr> wrote:
>
> Hello,
>
> A really noob question... (sorry !)
>
> I'm currently using maven-eclipse-plugin to build a
> web project with third party dependencies and a java
> project.
>
> I want now to use this plugin to add a ear project
> including the previous web project and java project
> (as utility jar). maven-eclipse-plugin generated
> .project file for my ear project fine as if it was a
> java project, but nothing more...
>
> Is there a way to do this ? I'm really sorry but
> didn't found any documentation about it.
>
> Thanks very much
>
>
>
>
>       _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>