A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
Ant, Maven and Other Build Tools
Author
how to use pom.xml in preexisting project which is not using Maven previously
pallavi chaudhari
Ranch Hand
Joined: Jul 02, 2008
Posts: 54
posted
Sep 21, 2009 06:13:46
0
how to use pom.xml in preexisting project which is not using Manev previously??
I have writen pom.xml....
<?xml version="1.0" encoding="UTF-8"?> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>TestMaven</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>TestMaven Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.zkoss.zk</groupId> <artifactId>zk</artifactId> <version>3.5.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>3.5.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>classes12</artifactId> <version>10.2.0.2.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.0.6</version> <scope>compile</scope> </dependency> <dependency> <groupId>itext</groupId> <artifactId>itext</artifactId> <version>1.3.1</version> <scope>compile</scope> </dependency> </dependencies> <build> <finalName>TestMaven</finalName> </build> <properties> <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server> </properties> </project>
what is next??please help....
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Sep 21, 2009 06:43:09
0
I'm not sure what you're asking.
I'd recommend using the standard
Maven
directory layout to avoid problems. Other than that, what happens when you try to do anything with Maven?
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5536
I like...
posted
Sep 21, 2009 12:31:40
0
Let's continue this discussion in your other post.
http://www.coderanch.com/t/463347/Ant-Maven-Other-Build-Tools/configure-my-already-existing-project
JBoss In Action
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: how to use pom.xml in preexisting project which is not using Maven previously
Similar Threads
Has anybody successfully run the Virtual Trainer application in "JSF Complete Reference"?
how do i send a email test report from maven
maven java:compile
Issue related to JAX-WS and Maven
Continuous integration - Bamboo, Maven
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter