If there is one in the libs directory we should probably include it;
note you can set the scope to "compile" in order not to pass on the
dependency to others ...
Jody
On 20/08/2009, at 3:15 PM, Alex Djioev wrote:
Hello,
all done, can we test it please (pom.xml file is attached)
pom.xml should be in the project root directory, to install into
local maven repository run "mvn install"
I also exclude
com.vividsolutions.jts.algorithm.IndexedPointInAreaLocator.java to
avoid compilation error.
Also I declare xerces as a dependency inside pom so I get jar from
maven repository and ignore the one at lib dir. If this is wrong I
can always change it.
Cheers Alex
Michael Bedward wrote:
2009/8/20 Martin Davis wrote:
I'm happy using ant, but if you want to provide a maven pom and
someone else
says they want it too I will stuff it into CVS.
I want it :)
Michael
_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel
<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.vividsolutions.jts</groupId>
<artifactId>jts</artifactId>
<packaging>jar</packaging>
<version>1.10</version>
<name>jts</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>com/vividsolutions/jts/algorithm/
IndexedPointInAreaLocator.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel
_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel