diff --git a/pom.xml b/pom.xml index 5c1b46c5bdbc31d017cdf87841edd12eac4dff37..e50774f627183b422e2e1ab78f82274b2ad10402 100644 --- a/pom.xml +++ b/pom.xml @@ -4,10 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> + <artifactId>pom-icy</artifactId> <groupId>org.bioimageanalysis.icy</groupId> - <artifactId>parent-pom-plugin</artifactId> - <version>1.0.4</version> - </parent> + <version>2.0.0</version> + </parent> <artifactId>apache-commons-csv</artifactId> <version>1.9.0</version> @@ -52,33 +52,17 @@ <!-- Project properties --> <properties> - + <artifact-to-include>commons-csv</artifact-to-include> </properties> - <!-- Project build configuration --> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>${project.artifactId}-fetch</id> - <phase>generate-sources</phase> - <goals> - <goal>unpack-dependencies</goal> - </goals> - <configuration> - <includeArtifactIds>commons-csv</includeArtifactIds> - <outputDirectory>${project.build.outputDirectory}</outputDirectory> - <stripVersion>true</stripVersion> - <excludeTransitive>true</excludeTransitive> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <profiles> + <profile> + <id>icy-plugin-extract-library</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + </profile> + </profiles> <!-- List of project's dependencies --> <dependencies> @@ -86,6 +70,7 @@ <dependency> <groupId>org.bioimageanalysis.icy</groupId> <artifactId>icy-kernel</artifactId> + <version>${icy-kernel.version}</version> </dependency> <dependency>