<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> <parent> <groupId>fr.in2p3.lavoisier</groupId> <artifactId>lavoisier</artifactId> <version>2.1.3-SNAPSHOT</version> </parent> <groupId>fr.in2p3.lavoisier</groupId> <artifactId>xpath-parser</artifactId> <version>2.1.3-SNAPSHOT</version> <name>XPath expression parser</name> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <id>xpath-serializer</id> <phase>generate-resources</phase> <goals><goal>java</goal></goals> <configuration> <mainClass>com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile</mainClass> <commandlineArgs>-s -d ${project.build.directory}/classes -p fr.in2p3.lavoisier.generated.xsl ${basedir}/resources/xpath-serializer.xsl</commandlineArgs> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <!-- for SAXPath parser --> <dependency> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> <version>1.1.6</version> </dependency> <!-- for testing --> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <version>1.3</version> <scope>test</scope> </dependency> </dependencies> </project>