tool/project.xml
<?xml version="1.0" encoding="UTF-8"?> <project> <pomVersion>3</pomVersion> <name>Cafe Iteration 1 - Sakai Hello</name> <groupId>sakaiproject</groupId> <id>sakai-cafe-iteration1-tool</id> <currentVersion>0.1</currentVersion> <organization> <name>Sakai Foundation</name> <url>http://sakaiproject.org/</url> </organization> <inceptionYear>2004</inceptionYear> <properties> <deploy.type>war</deploy.type> </properties> <dependencies> <!-- Java Servlets --> <dependency> <groupId>servletapi</groupId> <artifactId>servletapi</artifactId> <version>2.4</version> </dependency> </dependencies> <build> <sourceDirectory>src/java</sourceDirectory> </build> </project>
Comments (3)
May 30, 2006
William Reilly says:
Wasn't sure where this file belonged (nonMaven guy) ;) <sourceDirectory> relativ...Wasn't sure where this file belonged (non-Maven guy)
<sourceDirectory> relative path pointing to "src/java" has me try tasklist/tool/project.xml
Cheers,
William Reilly
May 30, 2006
Mike Osterman says:
William thanks for catching this a result of haste. TOOLROOTDIR/tool/project.xml...William - thanks for catching this - a result of haste.
TOOL_ROOT_DIR/tool/project.xml is the correct path.
Apr 22, 2008
rk tumuluri says:
project.xml is related to maven version 1.x. The equivalent file in the maven2 w...project.xml is related to maven version 1.x. The equivalent file in the maven2 world is pom.xml. I did the conversion using a built-in maven plugin called "one". The command, I used was
c:\mvn one:convert project.xml
This created a "converted pom.xml" file. I later hand-edited it along the lines of other similiar pom.xml files in other sub projects e.g the alias tool.
If, this is the right thing to do, perhaps it's time to update this set of docs. ( i.e sample code for the simplest tool)
/rk