Skip to content

Commit

Permalink
eclipse-january#144 Add Maven Central needed meta-data/signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Jun 19, 2017
1 parent 06b7fca commit 3fd1778
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
19 changes: 19 additions & 0 deletions org.eclipse.january/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,23 @@
</plugin>
</plugins>
</build>

<!-- Dependencies need to be duplicated here to be expressed for Maven environment -->
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.3</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.10</version>
</dependency>
</dependencies>
</project>
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@

<name>The Eclipse January Project</name>
<description>Common data structures for Science</description>
<developers>
<developer>
<url>https://projects.eclipse.org/projects/science.january/who</url>
</developer>
</developers>


<modelVersion>4.0.0</modelVersion>
Expand All @@ -45,4 +50,15 @@
<modules>
<module>releng/org.eclipse.january.releng</module>
</modules>

<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>
</project>
31 changes: 30 additions & 1 deletion releng/org.eclipse.january.releng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
<artifactId>org.eclipse.january.releng</artifactId>
<version>2.0.2-SNAPSHOT</version>
<packaging>pom</packaging>

<parent>
<relativePath>../..</relativePath>
<groupId>org.eclipse.january</groupId>
<artifactId>org.eclipse.january.root</artifactId>
<version>2.0.2-SNAPSHOT</version>
</parent>

<properties>
<tycho-version>0.24.0</tycho-version>
Expand Down Expand Up @@ -235,6 +240,30 @@
</build>
</profile>

<profile>
<!-- GPG sign for deploy to maven central -->
<id>sign-gpg</id>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<!-- see https://wiki.eclipse.org/Tycho/FAQ#How_do_I_add_OS-specific_flags.3F -->
<id>macosx-jvm-flags</id>
Expand Down

0 comments on commit 3fd1778

Please sign in to comment.