Skip to content

Commit

Permalink
updated pom to use shade intead of maven assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomsaraiva committed Sep 11, 2024
1 parent 4249d83 commit 5e7baf9
Showing 1 changed file with 28 additions and 33 deletions.
61 changes: 28 additions & 33 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>38.0.1</version>
<relativePath />
</parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>38.0.1</version>
<relativePath />
</parent>

<groupId>groupId</groupId>
<artifactId>SReD_</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<name>SReD</name>
<description>SReD (Structural Repetition Detector) is an ImageJ and Fiji plugin for analyzing structural repetition in microscopy images.</description>
Expand Down Expand Up @@ -77,23 +77,18 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<imagej.app.directory>/Applications/Fiji.app</imagej.app.directory>
<license.licenseName>MIT</license.licenseName>
<license.copyrightOwners>SReD developers.</license.copyrightOwners>
<license.licenseName>MIT</license.licenseName>
<license.copyrightOwners>SReD developers.</license.copyrightOwners>
</properties>

<dependencies>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>ij</artifactId>
</dependency>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<groupId>net.imagej</groupId>
<artifactId>ij</artifactId>
</dependency>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-common</artifactId>
</dependency>
<dependency>
<groupId>org.jogamp.jocl</groupId>
Expand All @@ -117,32 +112,32 @@
<scope>test</scope>
</dependency>
</dependencies>

<repositories>
<repository>
<id>scijava.public</id>
<url>https://maven.scijava.org/content/groups/public</url>
</repository>
</repositories>
<repository>
<id>scijava.public</id>
<url>https://maven.scijava.org/content/groups/public</url>
</repository>
</repositories>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>

</project>
</project>

0 comments on commit 5e7baf9

Please sign in to comment.