48a9aa8dd9
* Centralize dependency versions and plugin versions in root POM. Closes #4335. Some dependencies which were clearly useful in a single extension were left as such. * Remove redundant plugin configuration in submodules
74 lines
2.2 KiB
XML
74 lines
2.2 KiB
XML
<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>org.openrefine</groupId>
|
|
<artifactId>sample</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>3.0-SNAPSHOT</version>
|
|
|
|
<name>OpenRefine - Sample extension</name>
|
|
<description>Example extension provided for demonstration purposes</description>
|
|
<url>http://openrefine.org/</url>
|
|
<parent>
|
|
<groupId>org.openrefine</groupId>
|
|
<artifactId>extensions</artifactId>
|
|
<version>3.6-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<build>
|
|
<finalName>openrefine-sample</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src</directory>
|
|
</resource>
|
|
</resources>
|
|
<outputDirectory>module/MOD-INF/classes</outputDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>module/MOD-INF/lib</outputDirectory>
|
|
<includeScope>runtime</includeScope>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>main</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- add here the dependencies of your extension -->
|
|
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|
|
|