-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
109 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd"> | ||
<id>distro zip</id> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<dependencySets> | ||
<dependencySet> | ||
<!-- place extension jar in folder root to be parsed by OJ --> | ||
<outputDirectory>/</outputDirectory> | ||
<useTransitiveFiltering>false</useTransitiveFiltering> | ||
<includes> | ||
<include>${artifact}</include> | ||
</includes> | ||
</dependencySet> | ||
<dependencySet> | ||
<!-- place deps in a extension lib/ subfolder, as jgrapht is a shared dependency --> | ||
<outputDirectory>/lib</outputDirectory> | ||
<unpack>false</unpack> | ||
<scope>runtime</scope> | ||
<useTransitiveFiltering>true</useTransitiveFiltering> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<excludes> | ||
<exclude>org.openjump:OpenJUMP</exclude> | ||
</excludes> | ||
</dependencySet> | ||
</dependencySets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,85 @@ | ||
<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"> | ||
<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.openjump</groupId> | ||
<artifactId>set-attributes-extension</artifactId> | ||
<version>2.0.0</version> | ||
<name>set-attributes-extension</name> | ||
<description>Configurable toolbox to set predefined attribute values to selected features</description> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.openjump</groupId> | ||
<artifactId>set-attributes-extension</artifactId> | ||
<version>2.0.0</version> | ||
<name>set-attributes-extension</name> | ||
<description>Configurable toolbox to set predefined attribute values to selected features</description> | ||
|
||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<version.number>0.0.0</version.number> | ||
<jts.version>1.18.1</jts.version> | ||
</properties> | ||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>ojrepo</id> | ||
<name>OpenJUMP Snapshot Repository</name> | ||
<url>https://ojrepo.soldin.de/</url> | ||
</repository> | ||
</repositories> | ||
<repositories> | ||
<repository> | ||
<id>ojrepo</id> | ||
<name>OpenJUMP Snapshot Repository</name> | ||
<url>https://ojrepo.soldin.de/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.openjump</groupId> | ||
<artifactId>OpenJUMP</artifactId> | ||
<version>2.0-main-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.locationtech.jts</groupId> | ||
<artifactId>jts-core</artifactId> | ||
<version>${jts.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
<version>2.2.12</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.openjump</groupId> | ||
<artifactId>OpenJUMP</artifactId> | ||
<version>2.0-main-SNAPSHOT</version> | ||
</dependency> | ||
|
||
<!-- test is broken currently, dunno why --> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>3.3.0</version> | ||
<configuration> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>distro zip</id> | ||
<phase>package</phase> | ||
<configuration> | ||
<descriptors> | ||
<descriptor>distro-zip.xml</descriptor> | ||
</descriptors> | ||
<attach>false</attach> | ||
</configuration> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>net.nicoulaj.maven.plugins</groupId> | ||
<artifactId>checksum-maven-plugin</artifactId> | ||
<version>1.10</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>files</goal> | ||
</goals> | ||
<phase>package</phase> | ||
<configuration> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${project.build.directory}</directory> | ||
<includes> | ||
<include>${project.build.finalName}.zip</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |