You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sam <qi...@gmail.com> on 2007/02/26 10:59:00 UTC
How to deploy all of the 3th party jars under the Jboss directory ?please.
Hello,
Everybody! ,I have create a webapp project,I want to deploy all of the
3th party jars in the directory
$JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
use?please help.
thanks in advance.
Re: [m2] How to deploy all of the 3th party jars under the Jboss
directory ?please.
Posted by jiangshachina <ji...@gmail.com>.
Hello,
Deploys all jars at one time?
How do you set groupId, artifactId, version for each jar file?
Maven central repo(and other public remote repos) have had so many jars,
I think you really can find your like.
Although some of artifacts don't exist in the repos, you just deploy/install
them by manual at the first time.
After all of artifacts are in ready, you don't need to care them again.
a cup of Java, cheers!
Sha Jiang
秋秋 wrote:
>
> Hello,
> Everybody! ,I have create a webapp project,I want to deploy all of the
> 3th party jars in the directory
> $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> use?please help.
>
> thanks in advance.
>
>
--
View this message in context: http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9156472
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by Wayne Fay <wa...@gmail.com>.
You could configure the clean plugin to delete the lib directory
contents automatically during the build, but this is probably a bad
idea.
Wayne
On 5/17/07, Brian E. Fox <br...@reply.infinity.nu> wrote:
> The dependency plugin won't go and delete other files in there, including artifacts with another version. It is normally used to dump files into /target that would get cleaned up during a clean build.
>
> -----Original Message-----
> From: sam [mailto:qingqiuliu@gmail.com]
> Sent: Thursday, May 17, 2007 12:36 AM
> To: Maven Users List
> Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
>
> Hi,
> Thanks for Boeckli's help,and now I can use maven-dependency-plugin to
> do this job,but there is a new problem is that,when I change the one
> artifact's version which is heigher than previous,and than I excute
> dependency:copy,as a result ,there will be two artifact(jar) with different
> version in the /lib directory,how can I delete the old version or overwrite
> it?I have try to use
>
> <overWriteReleases>true</overWriteReleases>
> <overWriteSnapshots>true</overWriteSnapshots>
> <overWriteIfNewer>true</overWriteIfNewer>
>
> but nothing arises.please help.
> thanks advance.
>
>
> 2007/3/7, Boeckli, Dominique <do...@eds.com>:
> >
> > Id did it this way: see the attachments
> >
> >
> >
> > -----Original Message-----
> > From: John J. Franey [mailto:jjfraney@verizon.net]
> > Sent: Montag, 26. Februar 2007 17:24
> > To: users@maven.apache.org
> > Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss
> > directory ?please.
> >
> >
> > A piece of the puzzle may be the assembly plugin,
> > http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
> > dependencies of your project into a zip file that you can unzip into your
> > $JBOSS_HOME/server location.
> >
> > Another piece of this puzzle may be the cargo plugin,
> > http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
> > distribution and configures it. However, I'm not sure if it will allow
> > deploy of a server's lib directory.
> >
> >
> > Regards,
> > John
> >
> >
> > 秋秋 wrote:
> > >
> > > Hello,
> > > Everybody! ,I have create a webapp project,I want to deploy all of
> > > the 3th party jars in the directory
> > > $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> > > use?please help.
> > >
> > > thanks in advance.
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
The dependency plugin won't go and delete other files in there, including artifacts with another version. It is normally used to dump files into /target that would get cleaned up during a clean build.
-----Original Message-----
From: sam [mailto:qingqiuliu@gmail.com]
Sent: Thursday, May 17, 2007 12:36 AM
To: Maven Users List
Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Hi,
Thanks for Boeckli's help,and now I can use maven-dependency-plugin to
do this job,but there is a new problem is that,when I change the one
artifact's version which is heigher than previous,and than I excute
dependency:copy,as a result ,there will be two artifact(jar) with different
version in the /lib directory,how can I delete the old version or overwrite
it?I have try to use
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
but nothing arises.please help.
thanks advance.
2007/3/7, Boeckli, Dominique <do...@eds.com>:
>
> Id did it this way: see the attachments
>
>
>
> -----Original Message-----
> From: John J. Franey [mailto:jjfraney@verizon.net]
> Sent: Montag, 26. Februar 2007 17:24
> To: users@maven.apache.org
> Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss
> directory ?please.
>
>
> A piece of the puzzle may be the assembly plugin,
> http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
> dependencies of your project into a zip file that you can unzip into your
> $JBOSS_HOME/server location.
>
> Another piece of this puzzle may be the cargo plugin,
> http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
> distribution and configures it. However, I'm not sure if it will allow
> deploy of a server's lib directory.
>
>
> Regards,
> John
>
>
> 秋秋 wrote:
> >
> > Hello,
> > Everybody! ,I have create a webapp project,I want to deploy all of
> > the 3th party jars in the directory
> > $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> > use?please help.
> >
> > thanks in advance.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by sam <qi...@gmail.com>.
HI,
stefaan,what's the matter?
2007/5/17, stefaan.desoete@belgacom.be <st...@belgacom.be>:
>
> sam
>
> -----Original Message-----
> From: sam [mailto:qingqiuliu@gmail.com]
> Sent: 17 May 2007 09:36
> To: Maven Users List
> Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss
> directory ?please.
>
> Hi,
> Thanks for Boeckli's help,and now I can use maven-dependency-plugin to
> do this job,but there is a new problem is that,when I change the one
> artifact's version which is heigher than previous,and than I excute
> dependency:copy,as a result ,there will be two artifact(jar) with different
> version in the /lib directory,how can I delete the old version or overwrite
> it?I have try to use
>
> <overWriteReleases>true</overWriteReleases>
> <overWriteSnapshots>true</overWriteSnapshots>
> <overWriteIfNewer>true</overWriteIfNewer>
>
> but nothing arises.please help.
> thanks advance.
>
>
> 2007/3/7, Boeckli, Dominique <do...@eds.com>:
> >
> > Id did it this way: see the attachments
> >
> >
> >
> > -----Original Message-----
> > From: John J. Franey [mailto:jjfraney@verizon.net]
> > Sent: Montag, 26. Februar 2007 17:24
> > To: users@maven.apache.org
> > Subject: Re: [m2] How to deploy all of the 3th party jars under the
> > Jboss directory ?please.
> >
> >
> > A piece of the puzzle may be the assembly plugin,
> > http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
> > dependencies of your project into a zip file that you can unzip into
> > your $JBOSS_HOME/server location.
> >
> > Another piece of this puzzle may be the cargo plugin,
> > http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
> > distribution and configures it. However, I'm not sure if it will
> > allow deploy of a server's lib directory.
> >
> >
> > Regards,
> > John
> >
> >
> > 秋秋 wrote:
> > >
> > > Hello,
> > > Everybody! ,I have create a webapp project,I want to deploy all
> > > of the 3th party jars in the directory
> > > $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> > > use?please help.
> > >
> > > thanks in advance.
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-th
> > e-Jboss-directory--please.-tf3291868s177.html#a9161867
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > 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: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by st...@belgacom.be.
sam
-----Original Message-----
From: sam [mailto:qingqiuliu@gmail.com]
Sent: 17 May 2007 09:36
To: Maven Users List
Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Hi,
Thanks for Boeckli's help,and now I can use maven-dependency-plugin to do this job,but there is a new problem is that,when I change the one artifact's version which is heigher than previous,and than I excute dependency:copy,as a result ,there will be two artifact(jar) with different version in the /lib directory,how can I delete the old version or overwrite it?I have try to use
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
but nothing arises.please help.
thanks advance.
2007/3/7, Boeckli, Dominique <do...@eds.com>:
>
> Id did it this way: see the attachments
>
>
>
> -----Original Message-----
> From: John J. Franey [mailto:jjfraney@verizon.net]
> Sent: Montag, 26. Februar 2007 17:24
> To: users@maven.apache.org
> Subject: Re: [m2] How to deploy all of the 3th party jars under the
> Jboss directory ?please.
>
>
> A piece of the puzzle may be the assembly plugin,
> http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
> dependencies of your project into a zip file that you can unzip into
> your $JBOSS_HOME/server location.
>
> Another piece of this puzzle may be the cargo plugin,
> http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
> distribution and configures it. However, I'm not sure if it will
> allow deploy of a server's lib directory.
>
>
> Regards,
> John
>
>
> 秋秋 wrote:
> >
> > Hello,
> > Everybody! ,I have create a webapp project,I want to deploy all
> > of the 3th party jars in the directory
> > $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> > use?please help.
> >
> > thanks in advance.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-th
> e-Jboss-directory--please.-tf3291868s177.html#a9161867
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by sam <qi...@gmail.com>.
Hi,
Thanks for Boeckli's help,and now I can use maven-dependency-plugin to
do this job,but there is a new problem is that,when I change the one
artifact's version which is heigher than previous,and than I excute
dependency:copy,as a result ,there will be two artifact(jar) with different
version in the /lib directory,how can I delete the old version or overwrite
it?I have try to use
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
but nothing arises.please help.
thanks advance.
2007/3/7, Boeckli, Dominique <do...@eds.com>:
>
> Id did it this way: see the attachments
>
>
>
> -----Original Message-----
> From: John J. Franey [mailto:jjfraney@verizon.net]
> Sent: Montag, 26. Februar 2007 17:24
> To: users@maven.apache.org
> Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss
> directory ?please.
>
>
> A piece of the puzzle may be the assembly plugin,
> http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
> dependencies of your project into a zip file that you can unzip into your
> $JBOSS_HOME/server location.
>
> Another piece of this puzzle may be the cargo plugin,
> http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
> distribution and configures it. However, I'm not sure if it will allow
> deploy of a server's lib directory.
>
>
> Regards,
> John
>
>
> 秋秋 wrote:
> >
> > Hello,
> > Everybody! ,I have create a webapp project,I want to deploy all of
> > the 3th party jars in the directory
> > $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> > use?please help.
> >
> > thanks in advance.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
Posted by "Boeckli, Dominique" <do...@eds.com>.
Id did it this way: see the attachments
-----Original Message-----
From: John J. Franey [mailto:jjfraney@verizon.net]
Sent: Montag, 26. Februar 2007 17:24
To: users@maven.apache.org
Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.
A piece of the puzzle may be the assembly plugin, http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the dependencies of your project into a zip file that you can unzip into your $JBOSS_HOME/server location.
Another piece of this puzzle may be the cargo plugin, http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss distribution and configures it. However, I'm not sure if it will allow deploy of a server's lib directory.
Regards,
John
秋秋 wrote:
>
> Hello,
> Everybody! ,I have create a webapp project,I want to deploy all of
> the 3th party jars in the directory
> $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> use?please help.
>
> thanks in advance.
>
>
--
View this message in context: http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] How to deploy all of the 3th party jars under the Jboss
directory ?please.
Posted by "John J. Franey" <jj...@verizon.net>.
A piece of the puzzle may be the assembly plugin,
http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
dependencies of your project into a zip file that you can unzip into your
$JBOSS_HOME/server location.
Another piece of this puzzle may be the cargo plugin,
http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
distribution and configures it. However, I'm not sure if it will allow
deploy of a server's lib directory.
Regards,
John
秋秋 wrote:
>
> Hello,
> Everybody! ,I have create a webapp project,I want to deploy all of the
> 3th party jars in the directory
> $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I
> use?please help.
>
> thanks in advance.
>
>
--
View this message in context: http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org