Skip to content

Commit cf8276d

Browse files
Initial maven module setup
1 parent b64bd79 commit cf8276d

File tree

6 files changed

+297
-0
lines changed

6 files changed

+297
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
target/
2+
13
# Compiled class file
24
*.class
35

binary-array-ld-cli/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<artifactId>binary-array-ld</artifactId>
8+
<groupId>net.binary-array-ld</groupId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>binary-array-ld-cli</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
<packaging>jar</packaging>
15+
16+
<name>Binary Array Linked Data - CLI</name>
17+
<description>Command line interface for Binary Array LD functionality.</description>
18+
19+
<dependencies>
20+
<!-- LIB -->
21+
<dependency>
22+
<groupId>commons-cli</groupId>
23+
<artifactId>commons-cli</artifactId>
24+
<version>1.4</version>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.apache.jena</groupId>
28+
<artifactId>jena-arq</artifactId>
29+
<version>${jena.version}</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>net.binary-array-ld</groupId>
33+
<artifactId>binary-array-ld-netcdf</artifactId>
34+
<version>${project.parent.version}</version>
35+
</dependency>
36+
<!-- TEST -->
37+
<dependency>
38+
<groupId>net.binary-array-ld</groupId>
39+
<artifactId>binary-array-ld-test</artifactId>
40+
<version>${project.parent.version}</version>
41+
<scope>test</scope>
42+
</dependency>
43+
</dependencies>
44+
</project>

binary-array-ld-lib/pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>net.binary-array-ld</groupId>
8+
<artifactId>binary-array-ld</artifactId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>binary-array-ld-lib</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
<packaging>jar</packaging>
15+
16+
<name>Binary Array Linked Data - Library</name>
17+
<description>Core library for Binary Array LD functionality.</description>
18+
19+
<dependencies>
20+
<!-- LIB -->
21+
<dependency>
22+
<groupId>org.apache.jena</groupId>
23+
<artifactId>jena-core</artifactId>
24+
<version>${jena.version}</version>
25+
</dependency>
26+
<!-- TEST -->
27+
<dependency>
28+
<groupId>net.binary-array-ld</groupId>
29+
<artifactId>binary-array-ld-test</artifactId>
30+
<version>${project.parent.version}</version>
31+
<scope>test</scope>
32+
</dependency>
33+
<dependency>
34+
<groupId>com.nhaarman.mockitokotlin2</groupId>
35+
<artifactId>mockito-kotlin</artifactId>
36+
<version>${mockito.kt.version}</version>
37+
</dependency>
38+
</dependencies>
39+
</project>

binary-array-ld-netcdf/pom.xml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<artifactId>binary-array-ld</artifactId>
7+
<groupId>net.binary-array-ld</groupId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
</parent>
10+
11+
<artifactId>binary-array-ld-netcdf</artifactId>
12+
<version>1.0.0-SNAPSHOT</version>
13+
<packaging>jar</packaging>
14+
15+
<name>Binary Array Linked Data - NetCDF</name>
16+
<description>NetCDF implementation of core Binary Array LD concepts.</description>
17+
18+
<properties>
19+
<netcdf.version>5.3.2</netcdf.version>
20+
</properties>
21+
22+
<dependencies>
23+
<!-- LIB -->
24+
<dependency>
25+
<groupId>net.binary-array-ld</groupId>
26+
<artifactId>binary-array-ld-lib</artifactId>
27+
<version>${project.parent.version}</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>edu.ucar</groupId>
31+
<artifactId>cdm-core</artifactId>
32+
<version>${netcdf.version}</version>
33+
</dependency>
34+
<!-- TEST -->
35+
<dependency>
36+
<groupId>net.binary-array-ld</groupId>
37+
<artifactId>binary-array-ld-test</artifactId>
38+
<version>1.0.0-SNAPSHOT</version>
39+
<scope>test</scope>
40+
</dependency>
41+
</dependencies>
42+
43+
<repositories>
44+
<repository>
45+
<id>unidata-all</id>
46+
<name>Unidata</name>
47+
<url>https://artifacts.unidata.ucar.edu/repository/unidata-all/</url>
48+
</repository>
49+
</repositories>
50+
</project>

binary-array-ld-test/pom.xml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>binary-array-ld</artifactId>
7+
<groupId>net.binary-array-ld</groupId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
12+
<artifactId>binary-array-ld-test</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
<packaging>jar</packaging>
15+
16+
<name>Binary Array Linked Data - Test</name>
17+
<description>Test utilities for Binary Array LD functionality.</description>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.apache.jena</groupId>
22+
<artifactId>jena-core</artifactId>
23+
<version>${jena.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>edu.ucar</groupId>
27+
<artifactId>cdm-core</artifactId>
28+
<version>5.3.2</version>
29+
</dependency>
30+
<dependency>
31+
<groupId>org.jetbrains.kotlin</groupId>
32+
<artifactId>kotlin-test-junit</artifactId>
33+
<version>${kotlin.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.junit.jupiter</groupId>
37+
<artifactId>junit-jupiter-api</artifactId>
38+
<version>${junit.jupiter.version}</version>
39+
</dependency>
40+
</dependencies>
41+
42+
<repositories>
43+
<repository>
44+
<id>unidata-all</id>
45+
<name>Unidata</name>
46+
<url>https://artifacts.unidata.ucar.edu/repository/unidata-all/</url>
47+
</repository>
48+
</repositories>
49+
</project>

pom.xml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>net.binary-array-ld</groupId>
7+
<artifactId>binary-array-ld</artifactId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
<packaging>pom</packaging>
10+
11+
<name>Binary Array Linked Data</name>
12+
<description>Root module and parent project for Binary Array LD components.</description>
13+
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<kotlin.version>1.4.10</kotlin.version>
17+
<kotlin.code.style>official</kotlin.code.style>
18+
<junit.version>4.12</junit.version>
19+
<junit.platform.version>1.2.0</junit.platform.version>
20+
<junit.jupiter.version>5.5.2</junit.jupiter.version>
21+
<jena.version>3.13.1</jena.version>
22+
<mockito.kt.version>2.2.0</mockito.kt.version>
23+
</properties>
24+
25+
<modules>
26+
<module>binary-array-ld-lib</module>
27+
<module>binary-array-ld-cli</module>
28+
<module>binary-array-ld-netcdf</module>
29+
<module>binary-array-ld-test</module>
30+
</modules>
31+
32+
<dependencies>
33+
<!-- LIB -->
34+
<dependency>
35+
<groupId>org.jetbrains.kotlin</groupId>
36+
<artifactId>kotlin-stdlib</artifactId>
37+
<version>${kotlin.version}</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>ch.qos.logback</groupId>
41+
<artifactId>logback-classic</artifactId>
42+
<version>1.2.3</version>
43+
</dependency>
44+
<!-- TEST -->
45+
<dependency>
46+
<groupId>org.jetbrains.kotlin</groupId>
47+
<artifactId>kotlin-test-junit</artifactId>
48+
<version>${kotlin.version}</version>
49+
<scope>test</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>junit</groupId>
53+
<artifactId>junit</artifactId>
54+
<version>${junit.version}</version>
55+
<scope>test</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.junit.jupiter</groupId>
59+
<artifactId>junit-jupiter-api</artifactId>
60+
<version>${junit.jupiter.version}</version>
61+
<scope>test</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.junit.jupiter</groupId>
65+
<artifactId>junit-jupiter-engine</artifactId>
66+
<version>${junit.jupiter.version}</version>
67+
<scope>test</scope>
68+
</dependency>
69+
</dependencies>
70+
71+
<build>
72+
<sourceDirectory>src/main/kotlin</sourceDirectory>
73+
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
74+
75+
<plugins>
76+
<plugin>
77+
<groupId>org.jetbrains.kotlin</groupId>
78+
<artifactId>kotlin-maven-plugin</artifactId>
79+
<version>${kotlin.version}</version>
80+
<configuration>
81+
<jvmTarget>1.8</jvmTarget>
82+
</configuration>
83+
<executions>
84+
<execution>
85+
<id>compile</id>
86+
<phase>compile</phase>
87+
<goals>
88+
<goal>compile</goal>
89+
</goals>
90+
</execution>
91+
<execution>
92+
<id>test-compile</id>
93+
<phase>test-compile</phase>
94+
<goals>
95+
<goal>test-compile</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
<plugin>
101+
<artifactId>maven-surefire-plugin</artifactId>
102+
<version>2.21.0</version>
103+
<dependencies>
104+
<dependency>
105+
<groupId>org.junit.platform</groupId>
106+
<artifactId>junit-platform-surefire-provider</artifactId>
107+
<version>${junit.platform.version}</version>
108+
</dependency>
109+
</dependencies>
110+
</plugin>
111+
</plugins>
112+
</build>
113+
</project>

0 commit comments

Comments
 (0)