Commit c62df39c authored by Jonathan Mace's avatar Jonathan Mace

Update poms with github maven repository deploy stuff

parent bba8499a
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -12,6 +12,11 @@
<artifactId>atomlayer</artifactId>
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -18,4 +18,8 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
</project>
......@@ -13,4 +13,8 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
</project>
......@@ -19,4 +19,8 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
</project>
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -18,4 +18,8 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
</project>
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>com.lihaoyi</groupId>
......
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......@@ -24,9 +28,4 @@
<artifactId>junit</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
</plugins>
</build>
</project>
......@@ -13,6 +13,10 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/../..</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
......
......@@ -20,4 +20,8 @@
<version>1.0</version>
</parent>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
</project>
<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>
<groupId>edu.brown.cs.systems</groupId>
<artifactId>tracingplane-project-dist</artifactId>
<packaging>pom</packaging>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>brown.tracingplane</groupId>
<artifactId>tracingplane-dist</artifactId>
<packaging>pom</packaging>
<name>Tracing Plane - Dist</name>
<name>Tracing Plane - Dist</name>
<parent>
<groupId>edu.brown.cs.systems</groupId>
<artifactId>tracingplane-project</artifactId>
<version>0.1</version>
</parent>
<parent>
<groupId>brown.tracingplane</groupId>
<artifactId>tracingplane-project</artifactId>
<version>1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>edu.brown.cs.systems.tracingplane</groupId>
<artifactId>transit-layer</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>edu.brown.cs.systems.tracingplane</groupId>
<artifactId>atom-layer</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>edu.brown.cs.systems.tracingplane</groupId>
<artifactId>baggage-layer</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>edu.brown.cs.systems.tracingplane</groupId>
<artifactId>baggage-buffers</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<tracingplane.root>${basedir}/..</tracingplane.root>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy-artifact</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>brown.tracingplane</groupId>
<artifactId>bdl-baggagecontext</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- copies all dependent JARs into the project build directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy-artifact</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<!-- uploads mvn repo dir to github -->
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
<outputDirectory>${tracingplane.root}/target/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
<includes>
<include>**/*</include>
</includes>
<repositoryName>tracingplane-java</repositoryName> <!-- github repo name -->
<repositoryOwner>tracingplane</repositoryOwner> <!-- github username -->
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
......@@ -13,6 +13,7 @@
<module>atomlayer</module>
<module>baggageprotocol</module>
<module>bdl</module>
<module>dist</module>
</modules>
<properties>
......@@ -20,22 +21,12 @@
<typesafe.config.version>1.2.1</typesafe.config.version>
<junit.version>4.12</junit.version>
<guava.version>19.0</guava.version>
<!--
<protobuf.version>2.5.0</protobuf.version>
<flatbuf.version>1.3.0.1</flatbuf.version>
<apache.commons.version>3.4</apache.commons.version>
<commons.io.version>2.4</commons.io.version>
<apache.commons.math3.version>3.6.1</apache.commons.math3.version>
<apache.collections.version>4.1</apache.collections.version>
<jsonsmart.version>2.2</jsonsmart.version>
<aspectj.version>1.8.7</aspectj.version>
<javassist.version>3.18.1-GA</javassist.version>
<commons.logging.version>1.1</commons.logging.version>
<jcommander.version>1.48</jcommander.version>
<scala.version>2.11.8</scala.version>
<output.dir>dist</output.dir> -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tracingplane.root>${basedir}</tracingplane.root>
<github.global.userName>${GITHUB_USERNAME}</github.global.userName>
<github.global.password>${GITHUB_OAUTH_TOKEN}</github.global.password>
</properties>
<dependencyManagement>
......@@ -66,98 +57,19 @@
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- <dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-actors</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scalap</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging-api</artifactId>
<version>${commons.logging.version}</version>
</dependency>
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>${jsonsmart.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${apache.commons.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${apache.collections.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons.io.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>com.github.davidmoten</groupId>
<artifactId>flatbuffers-java</artifactId>
<version>${flatbuf.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
</dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>${jcommander.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>${apache.commons.math3.version}</version>
</dependency> -->
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${tracingplane.root}/target/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment