Skip to content

Commit b7f35ff

Browse files
committed
feat: create new submodule extension-api IQSS#9175
This introduces a new submodule of the Dataverse codebase to ship an Extension API to the community.
1 parent 880ec33 commit b7f35ff

2 files changed

Lines changed: 81 additions & 0 deletions

File tree

modules/dataverse-parent/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<module>../../pom.xml</module>
1515
<module>../../scripts/zipdownload</module>
1616
<module>../container-base</module>
17+
<module>../extension-api</module>
1718
</modules>
1819

1920
<!-- Transitive dependencies, bigger library "bill of materials" (BOM) and

modules/extension-api/pom.xml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>edu.harvard.iq</groupId>
8+
<artifactId>dataverse-parent</artifactId>
9+
<version>${revision}</version>
10+
<relativePath>../dataverse-parent</relativePath>
11+
</parent>
12+
13+
<groupId>io.gdcc</groupId>
14+
<artifactId>extension-api</artifactId>
15+
<!--
16+
@qqmyers and @poikilotherm discussed the versioning. We found that we should make this independent of
17+
the Dataverse release numbers as the APIs might change in their own time and ways. We want to use SemVer
18+
because we will have breaking (major) changes, minor changes (additions, etc) or patch changes
19+
(docstrings, etc).
20+
-->
21+
<version>1.0.0-SNAPSHOT</version>
22+
<packaging>jar</packaging>
23+
<name>Extension API</name>
24+
<description>
25+
This package provides interfaces, data transfer objects, utilities and so on to create Dataverse extensions.
26+
For more information on how to use, please read the developer guide of Dataverse at https://guides.dataverse.org.
27+
</description>
28+
29+
<developers>
30+
<developer>
31+
<id>poikilotherm</id>
32+
<name>Oliver Bertuch</name>
33+
<email>github@bertuch.eu</email>
34+
<timezone>Europe/Berlin</timezone>
35+
<roles>
36+
<role>maintainer</role>
37+
</roles>
38+
</developer>
39+
</developers>
40+
41+
<properties>
42+
</properties>
43+
44+
<dependencies>
45+
<dependency>
46+
<groupId>jakarta.platform</groupId>
47+
<artifactId>jakarta.jakartaee-api</artifactId>
48+
<version>${jakartaee-api.version}</version>
49+
<scope>provided</scope>
50+
</dependency>
51+
</dependencies>
52+
53+
<build>
54+
<resources>
55+
</resources>
56+
<plugins>
57+
<plugin>
58+
<groupId>org.apache.maven.plugins</groupId>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<configuration>
61+
<release>${target.java.version}</release>
62+
<!-- for use with `mvn -DcompilerArgument=-Xlint:unchecked compile` -->
63+
<compilerArgument>${compilerArgument}</compilerArgument>
64+
</configuration>
65+
</plugin>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-jar-plugin</artifactId>
69+
<configuration>
70+
<archive>
71+
<manifest>
72+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
73+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
74+
</manifest>
75+
</archive>
76+
</configuration>
77+
</plugin>
78+
</plugins>
79+
</build>
80+
</project>

0 commit comments

Comments
 (0)