You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Chang <th...@yahoo.de> on 2008/01/11 15:43:08 UTC
How to deploy a non-maven-built WAR to Tomcat with MAVEN2?
Hi all,
We know we can deploy a maven-built war to Tomcat using "mvn tomcat:deploy". Now I have a WAR which is not built with maven2. That means it has no pom.xml. Can I even thoug use maven2 to deploy it to Tomcat?
Regards
Thomas
---------------------------------
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail.
Re: Where to find mirros for spring2?
Posted by Wayne Fay <wa...@gmail.com>.
As Simon sent earlier:
http://repo1.maven.org/maven2/org/springframework/spring-core/
(look at the version numbers... latest is 2.5.1)
Wayne
On 1/12/08, Thomas Chang <th...@yahoo.de> wrote:
> HI all,
>
> I am looking for the mirrors for spring2. I've looked into several central mirrors but htey just have spring1.
>
> Somebody knows?
>
> Regards
>
> Thomas
>
>
> ---------------------------------
> Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Where to find mirros for spring2?
Posted by Thomas Chang <th...@yahoo.de>.
HI all,
I am looking for the mirrors for spring2. I've looked into several central mirrors but htey just have spring1.
Somebody knows?
Regards
Thomas
---------------------------------
Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker.
Re: Where to find the mirror for spring*. jars?
Posted by Wayne Fay <wa...@gmail.com>.
Also use www.mvnrepository.com search engine to find the proper
<dependency> nodes to use for a given dependency you are searching to
add to your project.
For example, here's a search for "spring":
http://www.mvnrepository.com/search.html?query=spring
The search engine (and Maven in general) does assume that you have a
pretty good idea of what you need to add to your project, especially
for things like Spring which have a number of modules.
Wayne
On 1/12/08, simon <si...@chello.at> wrote:
>
> On Sat, 2008-01-12 at 11:20 +0100, Thomas Chang wrote:
> > Hi all,
> >
> > I use spring in my project. And I use maven2. In the "pom.xml" I have to set the version of the dependencies. I wonder where can I the mirror site which suply the spring*.jar with version number. I go to the spring homepage and there are different version of spring package. But each of them just contains the jar without version number.
> >
> > Surely this not happend to spring but also to other jars such as commons-*.jar.
> >
> > Somebody knows how to handle such a situation?
>
> Maven comes with a number of "built-in" repositories. You can see them
> all by looking at the documentation for the "root pom" on the maven
> website. However one of them is here:
> http://repo1.maven.org/maven2
>
> As you can see, most java projects have their jars already here. Spring
> certainly does:
> http://repo1.maven.org/maven2/org/springframework/
>
> Please read the "Learning About Maven" documentation on the maven
> website.
>
>
>
> ---------------------------------------------------------------------
> 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: Where to find the mirror for spring*. jars?
Posted by simon <si...@chello.at>.
On Sat, 2008-01-12 at 11:20 +0100, Thomas Chang wrote:
> Hi all,
>
> I use spring in my project. And I use maven2. In the "pom.xml" I have to set the version of the dependencies. I wonder where can I the mirror site which suply the spring*.jar with version number. I go to the spring homepage and there are different version of spring package. But each of them just contains the jar without version number.
>
> Surely this not happend to spring but also to other jars such as commons-*.jar.
>
> Somebody knows how to handle such a situation?
Maven comes with a number of "built-in" repositories. You can see them
all by looking at the documentation for the "root pom" on the maven
website. However one of them is here:
http://repo1.maven.org/maven2
As you can see, most java projects have their jars already here. Spring
certainly does:
http://repo1.maven.org/maven2/org/springframework/
Please read the "Learning About Maven" documentation on the maven
website.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Where to find the mirror for spring*. jars?
Posted by Thomas Chang <th...@yahoo.de>.
Hi all,
I use spring in my project. And I use maven2. In the "pom.xml" I have to set the version of the dependencies. I wonder where can I the mirror site which suply the spring*.jar with version number. I go to the spring homepage and there are different version of spring package. But each of them just contains the jar without version number.
Surely this not happend to spring but also to other jars such as commons-*.jar.
Somebody knows how to handle such a situation?
Regards
Thomas
---------------------------------
Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo! zu Ihrer Startseite!
Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?
Posted by Thomas Chang <th...@yahoo.de>.
I have maven2 and don't want to install ant.
Wayne Fay <wa...@gmail.com> schrieb: Maven is great, but in this particular case, I would think about just
using an Ant "deploy to Tomcat" script.
Wayne
On 1/11/08, Jeff MAURY wrote:
> Create a profile in your pom with configuration to your other war and follow
> these instructions:
> http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html#Deploying%20a%20WAR%20file
>
> Jeff
>
>
> On Jan 11, 2008 3:43 PM, Thomas Chang wrote:
>
> > Hi all,
> >
> > We know we can deploy a maven-built war to Tomcat using "mvn
> > tomcat:deploy". Now I have a WAR which is not built with maven2. That means
> > it has no pom.xml. Can I even thoug use maven2 to deploy it to Tomcat?
> >
> > Regards
> >
> > Thomas
> >
> >
> >
> >
> > ---------------------------------
> > Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s
> > mit dem neuen Yahoo! Mail.
> >
>
>
>
> --
> La mélancolie c'est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n'est pas capitaliste
> C'est même gratuit pour les perdants
> La mélancolie c'est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c'est pour les syndicalistes
> Il faut juste sa carte de permanent
>
> Miossec (2006)
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail.
Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?
Posted by Wayne Fay <wa...@gmail.com>.
Maven is great, but in this particular case, I would think about just
using an Ant "deploy to Tomcat" script.
Wayne
On 1/11/08, Jeff MAURY <je...@jeffmaury.com> wrote:
> Create a profile in your pom with configuration to your other war and follow
> these instructions:
> http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html#Deploying%20a%20WAR%20file
>
> Jeff
>
>
> On Jan 11, 2008 3:43 PM, Thomas Chang <th...@yahoo.de> wrote:
>
> > Hi all,
> >
> > We know we can deploy a maven-built war to Tomcat using "mvn
> > tomcat:deploy". Now I have a WAR which is not built with maven2. That means
> > it has no pom.xml. Can I even thoug use maven2 to deploy it to Tomcat?
> >
> > Regards
> >
> > Thomas
> >
> >
> >
> >
> > ---------------------------------
> > Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s
> > mit dem neuen Yahoo! Mail.
> >
>
>
>
> --
> La mélancolie c'est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n'est pas capitaliste
> C'est même gratuit pour les perdants
> La mélancolie c'est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c'est pour les syndicalistes
> Il faut juste sa carte de permanent
>
> Miossec (2006)
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?
Posted by Jeff MAURY <je...@jeffmaury.com>.
Create a profile in your pom with configuration to your other war and follow
these instructions:
http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html#Deploying%20a%20WAR%20file
Jeff
On Jan 11, 2008 3:43 PM, Thomas Chang <th...@yahoo.de> wrote:
> Hi all,
>
> We know we can deploy a maven-built war to Tomcat using "mvn
> tomcat:deploy". Now I have a WAR which is not built with maven2. That means
> it has no pom.xml. Can I even thoug use maven2 to deploy it to Tomcat?
>
> Regards
>
> Thomas
>
>
>
>
> ---------------------------------
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s
> mit dem neuen Yahoo! Mail.
>
--
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent
Miossec (2006)
http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com