Skip to content

Commit

Permalink
build(zipdownloader): make zipdownloader use parent POM IQSS#8394
Browse files Browse the repository at this point in the history
  • Loading branch information
poikilotherm committed Feb 9, 2022
1 parent 66461a9 commit ea59f8a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 41 deletions.
1 change: 1 addition & 0 deletions modules/dataverse-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<modules>
<module>../../pom.xml</module>
<module>../../scripts/zipdownload</module>
</modules>

<!-- Transitive dependencies, bigger library "bill of materials" (BOM) and
Expand Down
55 changes: 14 additions & 41 deletions scripts/zipdownload/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,25 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ZipDownloadService</groupId>
<artifactId>ZipDownloadService</artifactId>

<parent>
<groupId>edu.harvard.iq</groupId>
<artifactId>dataverse-parent</artifactId>
<version>${revision}</version>
<relativePath>../../modules/dataverse-parent</relativePath>
</parent>

<artifactId>zipdownloader</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central-repo</id>
<name>Central Repository</name>
<url>https://repo1.maven.org/maven2</url>
<layout>default</layout>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.790</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.2</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
Expand All @@ -58,10 +32,9 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<release>${target.java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit ea59f8a

Please sign in to comment.