You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ad...@ajbs-ltd.com on 2006/03/10 12:45:25 UTC

Building J2EE project using Maven2

Dear People,
 
I am trying for three days to sort my problem, but i could not :(, what i am trying to do is that to build my j2ee project (WAR, JAR and EAR) and then deploy the ear into Jboss, i have done all that in ANT but i could not do it in Mavevn 2, so there is any full example for this please
 
Regards,
 
Adel
 
 
 
 
Please consider AJ Business Solutions Ltd's disclaimer at the end of this email before reading this message or opening any attachments.










Adel Aneiba
Software Development
For and on Behalf of AJ Business Solutions Ltd.
Tel : 0870 7518 900 Ext 42 // Fax : 0870 4 10 14 15


This message is confidential and may be legally privileged. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient please delete it and all copies of it from your system, destroy any hard copies of it and notify the sender immediately.
 
You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message or any attachment if you are not the intended recipient.
 
We will not accept any liability for damage caused by computer viruses and it is your responsibility to scan attachments (if any).
 
We may for the better performance of our business monitor incoming e-mails sent through our e-mail system. 

Re: Maven 1.x site plugin

Posted by Arnaud HERITIER <ah...@gmail.com>.
On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>
> Wohoo! It worked!


;-)

Struggled a bit with the svn checkout only. The url for the repository
> for anonymous access appears to be wrong on this page:
> http://maven.apache.org/maven-1.x/plugins/site/scm-usage.html
>
> I had to use
>
> svn checkout
>    http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/site/
>    maven-site-plugin
>
> (ommitting the scm:svn: part) to get the plugin source.


you're right. it's a bug. I'm fixing it.
you could also directly download the snapshot with :
maven plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven
,http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-site-
plugin -Dversion=1.7-SNAPSHOT

But anyway, it works now, and I am happy! A beautiful 1 minutes and 30
> seconds build resulting in a nice public website ;)


;-) Maven is magic (when it works !!)

And now, only thing left is to dive into Maven 2... which in turn means,
> you have probably not seen the last of me on this mailinglist ;)


Cheers

arnaud

Rune
>
>
>
> Arnaud HERITIER wrote:
> > I will change that to move the "doc for" in a better visible location on
> the
> > page (I was thinking to put it at the top of the menu).
> > Don't hesitate to give us your feedback.
> >
> > Arnaud
> >
> > On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
> >> Thanks for your quick reply! I was actually just getting to checking
> out
> >> the 1.7-snapshot, as I noticed (in small prints) at the bottom of the
> >> site-plugin page: "Doc for 1.7-SNAPSHOT"
> >>
> >> Doh... ;)
> >>
> >> Thanks again.
> >>
> >> Rune
> >>
> >>
> >>
> >>
> >> Arnaud HERITIER wrote:
> >>> Hi Rune,
> >>>
> >>>   It seems that we fixed several problems about rights in the current
> >>> SNAPSHOT.
> >>>
> >>>
> >>
> http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
> >>>   Can you try the 1.7-SNAPSHOT to see if it helps?
> >>>
> >>> Arnaud
> >>>
> >>>
> >>> On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
> >>>> Hi!
> >>>>
> >>>> I wondered if anybody could provide some assistance with getting
> Maven1
> >>>> to setup up correct privileges on a site remotely deployed using ssh
> >>>> (plink and pscp).
> >>>>
> >>>> I am trying to use the maven.site.chmod.mode property to set up the
> >>>> privileges, but it seems no matter how I define it, the resulting
> >>>> privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to
> >> make
> >>>> the site readable to everybody, and therefore specified this in
> >>>> project.properties:
> >>>>
> >>>> maven.site.chmod.mode=u+rwX,go+rX-w
> >>>>
> >>>> I also tried to set a numeric mode to see if it worked. It didn't
> (not
> >>>> optimal since every file gets executable bit, but usable):
> >>>>
> >>>> maven.site.chmod.mode=644
> >>>>
> >>>> I've also tried to specify maven.site.chmod.options=-R (as opposed to
> >>>> the default -Rf) to maybe display error messages, but nothing. I
> assume
> >>>> the setting of privileges is supposed to happen after the tar has
> >>>> been extracted on the remote system, but the only message I get from
> >>>> Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
> >>>>
> >>>> Can anyone shed some light on this matter? Are the
> >> maven.site.chmod.mode
> >>>> and maven.site.chmod.options properties being read at all?
> >>>>
> >>>> I am using v1.6.1 of the maven-site-plugin.
> >>>>
> >>>>
> >>>> Thanks & cheers :)
> >>>> Rune Flobakk
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven 1.x site plugin

Posted by Rune Flobakk <rf...@online.no>.
Wohoo! It worked!

Struggled a bit with the svn checkout only. The url for the repository 
for anonymous access appears to be wrong on this page: 
http://maven.apache.org/maven-1.x/plugins/site/scm-usage.html

I had to use

svn checkout
   http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/site/
   maven-site-plugin

(ommitting the scm:svn: part) to get the plugin source.

But anyway, it works now, and I am happy! A beautiful 1 minutes and 30 
seconds build resulting in a nice public website ;)

And now, only thing left is to dive into Maven 2... which in turn means, 
you have probably not seen the last of me on this mailinglist ;)

Rune



Arnaud HERITIER wrote:
> I will change that to move the "doc for" in a better visible location on the
> page (I was thinking to put it at the top of the menu).
> Don't hesitate to give us your feedback.
> 
> Arnaud
> 
> On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>> Thanks for your quick reply! I was actually just getting to checking out
>> the 1.7-snapshot, as I noticed (in small prints) at the bottom of the
>> site-plugin page: "Doc for 1.7-SNAPSHOT"
>>
>> Doh... ;)
>>
>> Thanks again.
>>
>> Rune
>>
>>
>>
>>
>> Arnaud HERITIER wrote:
>>> Hi Rune,
>>>
>>>   It seems that we fixed several problems about rights in the current
>>> SNAPSHOT.
>>>
>>>
>> http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
>>>   Can you try the 1.7-SNAPSHOT to see if it helps?
>>>
>>> Arnaud
>>>
>>>
>>> On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>>>> Hi!
>>>>
>>>> I wondered if anybody could provide some assistance with getting Maven1
>>>> to setup up correct privileges on a site remotely deployed using ssh
>>>> (plink and pscp).
>>>>
>>>> I am trying to use the maven.site.chmod.mode property to set up the
>>>> privileges, but it seems no matter how I define it, the resulting
>>>> privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to
>> make
>>>> the site readable to everybody, and therefore specified this in
>>>> project.properties:
>>>>
>>>> maven.site.chmod.mode=u+rwX,go+rX-w
>>>>
>>>> I also tried to set a numeric mode to see if it worked. It didn't (not
>>>> optimal since every file gets executable bit, but usable):
>>>>
>>>> maven.site.chmod.mode=644
>>>>
>>>> I've also tried to specify maven.site.chmod.options=-R (as opposed to
>>>> the default -Rf) to maybe display error messages, but nothing. I assume
>>>> the setting of privileges is supposed to happen after the tar has
>>>> been extracted on the remote system, but the only message I get from
>>>> Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
>>>>
>>>> Can anyone shed some light on this matter? Are the
>> maven.site.chmod.mode
>>>> and maven.site.chmod.options properties being read at all?
>>>>
>>>> I am using v1.6.1 of the maven-site-plugin.
>>>>
>>>>
>>>> Thanks & cheers :)
>>>> Rune Flobakk
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 


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


Re: Maven 1.x site plugin

Posted by Arnaud HERITIER <ah...@gmail.com>.
I will change that to move the "doc for" in a better visible location on the
page (I was thinking to put it at the top of the menu).
Don't hesitate to give us your feedback.

Arnaud

On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>
> Thanks for your quick reply! I was actually just getting to checking out
> the 1.7-snapshot, as I noticed (in small prints) at the bottom of the
> site-plugin page: "Doc for 1.7-SNAPSHOT"
>
> Doh... ;)
>
> Thanks again.
>
> Rune
>
>
>
>
> Arnaud HERITIER wrote:
> > Hi Rune,
> >
> >   It seems that we fixed several problems about rights in the current
> > SNAPSHOT.
> >
> >
> http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
> >   Can you try the 1.7-SNAPSHOT to see if it helps?
> >
> > Arnaud
> >
> >
> > On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
> >> Hi!
> >>
> >> I wondered if anybody could provide some assistance with getting Maven1
> >> to setup up correct privileges on a site remotely deployed using ssh
> >> (plink and pscp).
> >>
> >> I am trying to use the maven.site.chmod.mode property to set up the
> >> privileges, but it seems no matter how I define it, the resulting
> >> privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to
> make
> >> the site readable to everybody, and therefore specified this in
> >> project.properties:
> >>
> >> maven.site.chmod.mode=u+rwX,go+rX-w
> >>
> >> I also tried to set a numeric mode to see if it worked. It didn't (not
> >> optimal since every file gets executable bit, but usable):
> >>
> >> maven.site.chmod.mode=644
> >>
> >> I've also tried to specify maven.site.chmod.options=-R (as opposed to
> >> the default -Rf) to maybe display error messages, but nothing. I assume
> >> the setting of privileges is supposed to happen after the tar has
> >> been extracted on the remote system, but the only message I get from
> >> Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
> >>
> >> Can anyone shed some light on this matter? Are the
> maven.site.chmod.mode
> >> and maven.site.chmod.options properties being read at all?
> >>
> >> I am using v1.6.1 of the maven-site-plugin.
> >>
> >>
> >> Thanks & cheers :)
> >> Rune Flobakk
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven 1.x site plugin

Posted by Rune Flobakk <rf...@online.no>.
Thanks for your quick reply! I was actually just getting to checking out 
the 1.7-snapshot, as I noticed (in small prints) at the bottom of the 
site-plugin page: "Doc for 1.7-SNAPSHOT"

Doh... ;)

Thanks again.

Rune




Arnaud HERITIER wrote:
> Hi Rune,
> 
>   It seems that we fixed several problems about rights in the current
> SNAPSHOT.
> 
> http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
>   Can you try the 1.7-SNAPSHOT to see if it helps?
> 
> Arnaud
> 
> 
> On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>> Hi!
>>
>> I wondered if anybody could provide some assistance with getting Maven1
>> to setup up correct privileges on a site remotely deployed using ssh
>> (plink and pscp).
>>
>> I am trying to use the maven.site.chmod.mode property to set up the
>> privileges, but it seems no matter how I define it, the resulting
>> privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to make
>> the site readable to everybody, and therefore specified this in
>> project.properties:
>>
>> maven.site.chmod.mode=u+rwX,go+rX-w
>>
>> I also tried to set a numeric mode to see if it worked. It didn't (not
>> optimal since every file gets executable bit, but usable):
>>
>> maven.site.chmod.mode=644
>>
>> I've also tried to specify maven.site.chmod.options=-R (as opposed to
>> the default -Rf) to maybe display error messages, but nothing. I assume
>> the setting of privileges is supposed to happen after the tar has
>> been extracted on the remote system, but the only message I get from
>> Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
>>
>> Can anyone shed some light on this matter? Are the maven.site.chmod.mode
>> and maven.site.chmod.options properties being read at all?
>>
>> I am using v1.6.1 of the maven-site-plugin.
>>
>>
>> Thanks & cheers :)
>> Rune Flobakk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 


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


Re: Maven 1.x site plugin

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Rune,

  It seems that we fixed several problems about rights in the current
SNAPSHOT.

http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
  Can you try the 1.7-SNAPSHOT to see if it helps?

Arnaud


On 3/10/06, Rune Flobakk <rf...@online.no> wrote:
>
> Hi!
>
> I wondered if anybody could provide some assistance with getting Maven1
> to setup up correct privileges on a site remotely deployed using ssh
> (plink and pscp).
>
> I am trying to use the maven.site.chmod.mode property to set up the
> privileges, but it seems no matter how I define it, the resulting
> privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to make
> the site readable to everybody, and therefore specified this in
> project.properties:
>
> maven.site.chmod.mode=u+rwX,go+rX-w
>
> I also tried to set a numeric mode to see if it worked. It didn't (not
> optimal since every file gets executable bit, but usable):
>
> maven.site.chmod.mode=644
>
> I've also tried to specify maven.site.chmod.options=-R (as opposed to
> the default -Rf) to maybe display error messages, but nothing. I assume
> the setting of privileges is supposed to happen after the tar has
> been extracted on the remote system, but the only message I get from
> Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
>
> Can anyone shed some light on this matter? Are the maven.site.chmod.mode
> and maven.site.chmod.options properties being read at all?
>
> I am using v1.6.1 of the maven-site-plugin.
>
>
> Thanks & cheers :)
> Rune Flobakk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Maven 1.x site plugin

Posted by Rune Flobakk <rf...@online.no>.
Hi!

I wondered if anybody could provide some assistance with getting Maven1 
to setup up correct privileges on a site remotely deployed using ssh 
(plink and pscp).

I am trying to use the maven.site.chmod.mode property to set up the 
privileges, but it seems no matter how I define it, the resulting 
privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to make 
the site readable to everybody, and therefore specified this in 
project.properties:

maven.site.chmod.mode=u+rwX,go+rX-w

I also tried to set a numeric mode to see if it worked. It didn't (not 
optimal since every file gets executable bit, but usable):

maven.site.chmod.mode=644

I've also tried to specify maven.site.chmod.options=-R (as opposed to
the default -Rf) to maybe display error messages, but nothing. I assume
the setting of privileges is supposed to happen after the tar has
been extracted on the remote system, but the only message I get from
Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz

Can anyone shed some light on this matter? Are the maven.site.chmod.mode
and maven.site.chmod.options properties being read at all?

I am using v1.6.1 of the maven-site-plugin.


Thanks & cheers :)
Rune Flobakk

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


Re: Building J2EE project using Maven2

Posted by Wayne Fay <wa...@gmail.com>.
Personally I'm doing all the steps up to deploy with Maven, and then
actually deploying into oc4j using ant. I tried to use cargo briefly
and gave up since I had a working process in ant.

I'm not aware of any full examples. But look at the pom.xml files sent
by Marco in another thread titled "Additional file sincluded while
building an EAR" for some help -- he provided poms for all his jar,
ejb, web, and ear files. That will probably be a big help to you.

Wayne


On 10 Mar 2006 11:45:25 UT, adela@ajbs-ltd.com <ad...@ajbs-ltd.com> wrote:
> Dear People,
>
> I am trying for three days to sort my problem, but i could not :(, what i am trying to do is that to build my j2ee project (WAR, JAR and EAR) and then deploy the ear into Jboss, i have done all that in ANT but i could not do it in Mavevn 2, so there is any full example for this please
>
> Regards,
>
> Adel
>
>
>
>
> Please consider AJ Business Solutions Ltd's disclaimer at the end of this email before reading this message or opening any attachments.
>
>
>
>
>
>
>
>
>
>
> Adel Aneiba
> Software Development
> For and on Behalf of AJ Business Solutions Ltd.
> Tel : 0870 7518 900 Ext 42 // Fax : 0870 4 10 14 15
>
>
> This message is confidential and may be legally privileged. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient please delete it and all copies of it from your system, destroy any hard copies of it and notify the sender immediately.
>
> You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message or any attachment if you are not the intended recipient.
>
> We will not accept any liability for damage caused by computer viruses and it is your responsibility to scan attachments (if any).
>
> We may for the better performance of our business monitor incoming e-mails sent through our e-mail system.
>
>

RE: Building J2EE project using Maven2

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Rik Bosman [mailto:g.h.bosman@gmail.com]
> Sent: vendredi 10 mars 2006 21:29
> To: Maven Users List
> Subject: Re: Building J2EE project using Maven2
> 
> Vincent,
> 
> Patience is not easy...
> 
> Are there any chapters ready (maybe for review?)

We'll make the chapters available as soon as they can be seen! :-)

Thanks
-Vincent

> 2006/3/10, Vincent Massol <vm...@pivolis.com>:
> >
> >
> >
> > > -----Original Message-----
> > > From: Ray Ward [mailto:ward.ray@gmail.com]
> > > Sent: vendredi 10 mars 2006 16:08
> > > To: Maven Users List
> > > Subject: Re: Building J2EE project using Maven2
> > >
> > > Is this separate from your site problem?  I'm about at the same point
> > you
> > > are in picking up Maven2.  I haven't seen a comprehensive example, but
> I
> > > can
> > > build through the EAR file and am having some problems doing a remote
> > > deploy
> > > to another box using scp.
> > >
> > > A comprehensive example would be valuable.  I'm reading a book on Java
> > > tools
> > > for extreme programming and they use a Hello-World app that is
> usefully
> > --
> > > if a little absurdly -- implemented as class, JSP, Servlet, EJB, with
> > JAR,
> > > WAR and EAR files.  But they use Ant as the build tool!  :-(  We
> > probably
> > > need to do something similar for m2.
> >
> > Be patient it's coming...
> >
> > See http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2Book
> >
> > There's a full big chapter on J2EE and Maven2.
> >
> > [snip]
> >
> > Thanks
> > -Vincent
> >
> >
> >
> >
> >
> >
> >
> >
> __________________________________________________________________________
> _
> > Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les
> > tarifs exceptionnels pour appeler la France et l'international.
> > Téléchargez sur http://fr.messenger.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >


	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

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


Re: Building J2EE project using Maven2

Posted by Rik Bosman <g....@gmail.com>.
Vincent,

Patience is not easy...

Are there any chapters ready (maybe for review?)

Rik


2006/3/10, Vincent Massol <vm...@pivolis.com>:
>
>
>
> > -----Original Message-----
> > From: Ray Ward [mailto:ward.ray@gmail.com]
> > Sent: vendredi 10 mars 2006 16:08
> > To: Maven Users List
> > Subject: Re: Building J2EE project using Maven2
> >
> > Is this separate from your site problem?  I'm about at the same point
> you
> > are in picking up Maven2.  I haven't seen a comprehensive example, but I
> > can
> > build through the EAR file and am having some problems doing a remote
> > deploy
> > to another box using scp.
> >
> > A comprehensive example would be valuable.  I'm reading a book on Java
> > tools
> > for extreme programming and they use a Hello-World app that is usefully
> --
> > if a little absurdly -- implemented as class, JSP, Servlet, EJB, with
> JAR,
> > WAR and EAR files.  But they use Ant as the build tool!  :-(  We
> probably
> > need to do something similar for m2.
>
> Be patient it's coming...
>
> See http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2Book
>
> There's a full big chapter on J2EE and Maven2.
>
> [snip]
>
> Thanks
> -Vincent
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les
> tarifs exceptionnels pour appeler la France et l'international.
> Téléchargez sur http://fr.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: Building J2EE project using Maven2

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Ray Ward [mailto:ward.ray@gmail.com]
> Sent: vendredi 10 mars 2006 16:08
> To: Maven Users List
> Subject: Re: Building J2EE project using Maven2
> 
> Is this separate from your site problem?  I'm about at the same point you
> are in picking up Maven2.  I haven't seen a comprehensive example, but I
> can
> build through the EAR file and am having some problems doing a remote
> deploy
> to another box using scp.
> 
> A comprehensive example would be valuable.  I'm reading a book on Java
> tools
> for extreme programming and they use a Hello-World app that is usefully --
> if a little absurdly -- implemented as class, JSP, Servlet, EJB, with JAR,
> WAR and EAR files.  But they use Ant as the build tool!  :-(  We probably
> need to do something similar for m2.

Be patient it's coming...

See http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2Book

There's a full big chapter on J2EE and Maven2.

[snip]

Thanks
-Vincent


	

	
		
___________________________________________________________________________ 
Nouveau : t�l�phonez moins cher avec Yahoo! Messenger ! D�couvez les tarifs exceptionnels pour appeler la France et l'international.
T�l�chargez sur http://fr.messenger.yahoo.com

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


Re: Building J2EE project using Maven2

Posted by Ray Ward <wa...@gmail.com>.
Is this separate from your site problem?  I'm about at the same point you
are in picking up Maven2.  I haven't seen a comprehensive example, but I can
build through the EAR file and am having some problems doing a remote deploy
to another box using scp.

A comprehensive example would be valuable.  I'm reading a book on Java tools
for extreme programming and they use a Hello-World app that is usefully --
if a little absurdly -- implemented as class, JSP, Servlet, EJB, with JAR,
WAR and EAR files.  But they use Ant as the build tool!  :-(  We probably
need to do something similar for m2.

In the meantime, does anyone know if there are a few projects of that
complexity that use m2?  I recall seeing them on the list, but don't
remember if they were m1 or m2.

Ray

On 10 Mar 2006 11:45:25 UT, adela@ajbs-ltd.com <ad...@ajbs-ltd.com> wrote:
>
> Dear People,
>
> I am trying for three days to sort my problem, but i could not :(, what i
> am trying to do is that to build my j2ee project (WAR, JAR and EAR) and then
> deploy the ear into Jboss, i have done all that in ANT but i could not do it
> in Mavevn 2, so there is any full example for this please
>
> Regards,
>
> Adel
>
>
>
>
> Please consider AJ Business Solutions Ltd's disclaimer at the end of this
> email before reading this message or opening any attachments.
>
>
>
>
>
>
>
>
>
>
> Adel Aneiba
> Software Development
> For and on Behalf of AJ Business Solutions Ltd.
> Tel : 0870 7518 900 Ext 42 // Fax : 0870 4 10 14 15
>
>
> This message is confidential and may be legally privileged. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you are not the intended recipient please delete it and all copies of it
> from your system, destroy any hard copies of it and notify the sender
> immediately.
>
> You must not, directly or indirectly, use, disclose, distribute, print, or
> copy any part of this message or any attachment if you are not the intended
> recipient.
>
> We will not accept any liability for damage caused by computer viruses and
> it is your responsibility to scan attachments (if any).
>
> We may for the better performance of our business monitor incoming e-mails
> sent through our e-mail system.
>
>