RE: How to include librabries when compile with Maven?

2012-03-21 Thread Chad.Davis

 You might also want to switch from Eclipse to Eclipse STS from the Spring
 guys.
 This gives you Eclipse and Maven in the IDE all from a single download.
 We have used it for a few years now and it is much better than Eclipse on its
 own.

Is that packaged with m2e as the maven plugin, or does spring provide its own 
maven plugin?

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



Re: How to include librabries when compile with Maven?

2012-03-21 Thread Curtis Rueden
Hi Chad,

Is that packaged with m2e as the maven plugin, or does spring provide its
 own maven plugin?


I believe STS comes with m2e.

I also want to point out that the Eclipse for Java Developers download
for 3.7 Indigo also comes with m2e (
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/indigosr2).
So you don't have to go whole hog with STS if you just want Maven.

Regards,
Curtis


On Wed, Mar 21, 2012 at 9:35 AM, chad.da...@emc.com wrote:


  You might also want to switch from Eclipse to Eclipse STS from the Spring
  guys.
  This gives you Eclipse and Maven in the IDE all from a single download.
  We have used it for a few years now and it is much better than Eclipse
 on its
  own.

 Is that packaged with m2e as the maven plugin, or does spring provide its
 own maven plugin?

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




Re: How to include librabries when compile with Maven?

2012-03-21 Thread Ron Wheeler
http://www.springsource.com/developer/sts is the description in 
marketing terms


For m2E the provider is Eclipse.org-m2e and the Feature Name is Maven 
Integration for Eclipse

org.eclipse.m2e.feature is the id. version is 1.0.200.20111228-1245.

You can download it and see what you think.
Try it on one of your projects - make a new workspace just in case you 
want to go back.


It is a single download with everything that you need to develop Java 
projects.


We have used it for almost 3 years and it was a big improvement over 
Eclipse - just in terms of install and upgrade.

We have barely scratched the surface when it comes to features.

Ron

On 21/03/2012 10:35 AM, chad.da...@emc.com wrote:

You might also want to switch from Eclipse to Eclipse STS from the Spring
guys.
This gives you Eclipse and Maven in the IDE all from a single download.
We have used it for a few years now and it is much better than Eclipse on its
own.

Is that packaged with m2e as the maven plugin, or does spring provide its own 
maven plugin?




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



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

How to include librabries when compile with Maven?

2012-03-18 Thread gchoi
Hi All,

As you can see from the subject, I am new to Maven. I used to develope,
compile and build project using Eclipse, but recently I got some problem
with Eclipse with Metro generated code. Someone suggested me that I should
compile project using Maven instead Eclipse. So, hear I am. My project
relies on many third party libraries, but I am not sure how do I make Maven
aware of them? By adding all libraries in the class path might work, but I
am looking into reference lib directory name somewhere in my pom.xml. Any
suggestions?



project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
  modelVersion4.0.0/modelVersion

  groupIdcom.sdl.airline.metro.clients/groupId
  artifactIdsoapclient/artifactId
  version1.0-SNAPSHOT/version
  packagingjar/packaging

  namesoapclient/name
  urlhttp://maven.apache.org/url

  properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
  /properties

  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  build
 plugins
   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-compiler-plugin/artifactId
  configuration
   source1.6/source
   target1.6/target
  /configuration
   /plugin
 /plugins
  /build  
/project


Thanks.
Gina

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-include-librabries-when-compile-with-Maven-tp5572109p5572109.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: How to include librabries when compile with Maven?

2012-03-18 Thread Jesse Farinacci
Greetings,

On Fri, Mar 16, 2012 at 2:30 PM, gchoi gc...@sdl.com wrote:
 My project
 relies on many third party libraries, but I am not sure how do I make Maven
 aware of them?

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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



Re: How to include librabries when compile with Maven?

2012-03-18 Thread Ron Wheeler
You might also want to switch from Eclipse to Eclipse STS from the 
Spring guys.

This gives you Eclipse and Maven in the IDE all from a single download.
We have used it for a few years now and it is much better than Eclipse 
on its own.

We do no command line Maven. It is all done inside Eclipse STS.

Ron


On 18/03/2012 7:27 PM, Jesse Farinacci wrote:

Greetings,

On Fri, Mar 16, 2012 at 2:30 PM, gchoigc...@sdl.com  wrote:

My project
relies on many third party libraries, but I am not sure how do I make Maven
aware of them?

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

-Jesse




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



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