Skip to content

Commit

Permalink
Merge pull request #2 from charphi/feature-java-deps
Browse files Browse the repository at this point in the history
Add script to download Java dependencies
  • Loading branch information
charphi authored Mar 19, 2024
2 parents 8adbeb0 + 8930b67 commit 3b03023
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions rjd3nowcasting-java-deps.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.github.rjdemetra.rjd3nowcasting</groupId>
<artifactId>rjd3nowcasting-java-deps</artifactId>
<version>ignore_version</version>
<packaging>pom</packaging>

<description>Usage: mvn -f rjd3nowcasting-java-deps.xml</description>

<properties>
<jdplus-nowcasting.version>1.0.2</jdplus-nowcasting.version>
</properties>

<dependencies>
<dependency>
<groupId>eu.europa.ec.joinup.sat</groupId>
<artifactId>jdplus-dfm-base-r</artifactId>
<version>${jdplus-nowcasting.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>jdplus-toolkit-base-api</artifactId>
</exclusion>
<exclusion>
<groupId>*</groupId>
<artifactId>jdplus-toolkit-base-core</artifactId>
</exclusion>
<exclusion>
<groupId>*</groupId>
<artifactId>jdplus-toolkit-base-r</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
<defaultGoal>clean package</defaultGoal>
<directory>${project.basedir}/inst/java</directory>
<plugins>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>pgpverify-maven-plugin</artifactId>
<version>1.17.0</version>
<executions>
<execution>
<id>check-signatures</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<verifySnapshots>true</verifySnapshots>
<failNoSignature>true</failNoSignature>
<failWeakSignature>true</failWeakSignature>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>copy-jars</id>
<goals>
<goal>copy-dependencies</goal>
</goals>
<phase>package</phase>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>jdemetra-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>

0 comments on commit 3b03023

Please sign in to comment.