Skip to content

Commit

Permalink
Update POM to use PDS parent POM
Browse files Browse the repository at this point in the history
Also includes re-adding VICAR-IO library to local repo.

Resolves #18
  • Loading branch information
jordanpadams committed Dec 13, 2019
1 parent 1cdf6f6 commit cba4e40
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 172 deletions.
192 changes: 20 additions & 172 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,19 @@ POSSIBILITY OF SUCH DAMAGE.
-->
<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>

<!-- Inherit release profile, reporting, SNAPSHOT repo, etc. from parent repo -->
<parent>
<groupId>gov.nasa</groupId>
<artifactId>pds</artifactId>
<version>1.0.0</version>
</parent>

<groupId>gov.nasa.pds</groupId>
<artifactId>transform</artifactId>
<version>1.11.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>{project.groupId}:${project.artifactId}</name>
<description>
The Transform Tool project contains software for transforming PDS3 and PDS4 product labels and product data into other formats.
Expand All @@ -47,29 +56,11 @@ POSSIBILITY OF SUCH DAMAGE.
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Sean Hardman</name>
<id>shardman</id>
<email>Sean.Hardman@jpl.nasa.gov</email>
<organization>NASA Jet Propulsion Laboratory</organization>
<roles>
<role>Development Lead</role>
</roles>
</developer>
<developer>
<name>Michael Cayanan</name>
<id>mcayanan</id>
<email>Michael.Cayanan@jpl.nasa.gov</email>
<organization>NASA Jet Propulsion Laboratory</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>

<properties>
<model-version>1C00</model-version>
</properties>

<build>
<resources>
<resource>
Expand Down Expand Up @@ -115,22 +106,6 @@ POSSIBILITY OF SUCH DAMAGE.
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down Expand Up @@ -183,98 +158,15 @@ POSSIBILITY OF SUCH DAMAGE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<scm>
<url>https://github.com/NASA-PDS-Incubator/transform/tree/master</url>
<connection>scm:git:git://github.com/NASA-PDS-Incubator/transform.git</connection>
<developerConnection>scm:git:ssh://github.com:NASA-PDS-Incubator/transform.git</developerConnection>
</scm>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>prepare-package</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>net.sf.opencsv</groupId>
Expand Down Expand Up @@ -415,47 +307,7 @@ POSSIBILITY OF SUCH DAMAGE.
<version>48.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<inherited>true</inherited>
<reportSets>
<reportSet>
<reports>
<report>dependencies</report>
<report>issue-management</report>
<report>licenses</report>
<report>mailing-lists</report>
<report>team</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<inherited>true</inherited>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</reporting>

<repositories>
<repository>
<id>project.local</id>
Expand All @@ -471,15 +323,11 @@ POSSIBILITY OF SUCH DAMAGE.
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<!-- Inherit from parent -->
<developers />
<profiles />
<distributionManagement />
<reporting />
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Jul 31 15:29:45 PDT 2019
https\://cae-artifactory.jpl.nasa.gov\:443/artifactory/maven-libs-snapshot-virtual/.lastUpdated=1564612168073
file\:/Users/jpadams/Documents/proj/pds/pdsen/workspace/transform/repo/.lastUpdated=1564612185129
https\://cae-artifactory.jpl.nasa.gov\:443/artifactory/maven-libs-snapshot-virtual/.error=
file\:/Users/jpadams/Documents/proj/pds/pdsen/workspace/transform/repo/.error=
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Jul 31 15:29:45 PDT 2019
https\://cae-artifactory.jpl.nasa.gov\:443/artifactory/maven-libs-snapshot-virtual/.lastUpdated=1564612148960
file\:/Users/jpadams/Documents/proj/pds/pdsen/workspace/transform/repo/.lastUpdated=1564612185126
https\://cae-artifactory.jpl.nasa.gov\:443/artifactory/maven-libs-snapshot-virtual/.error=
file\:/Users/jpadams/Documents/proj/pds/pdsen/workspace/transform/repo/.error=
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>gov.nasa.jpl.ammos.ids.vicario</groupId>
<artifactId>vicario</artifactId>
<version>48.0.3-SNAPSHOT</version>
</project>

0 comments on commit cba4e40

Please sign in to comment.