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"> <modelVersion>4.0.0</modelVersion> <groupId>com.sdl.airline.metro.clients</groupId> <artifactId>soapclient</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>soapclient</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.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: [email protected] For additional commands, e-mail: [email protected]
