Skip to content

Commit

Permalink
put the com.oracle:truffle into its own shaded artifact
Browse files Browse the repository at this point in the history
to avoid direct dependencies for the time being.
  • Loading branch information
mkristian committed Jan 19, 2015
1 parent 1315fb6 commit 4164c7a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ext/truffle/pom.rb
@@ -0,0 +1,19 @@
id 'com.headius:openjdk-truffle:0.6'

name 'Openjdk Truffle'

jar 'com.oracle:truffle:0.6'

plugin :shade, '2.1' do
execute_goal :shade, :phase => 'package'
end

properties 'tesla.dump.pom' => 'pom.xml'

profile :bootstrap do
repository( 'http://lafo.ssw.uni-linz.ac.at/nexus/content/repositories/releases/',
:id => 'truffle' ) do
releases 'true'
snapshots 'false'
end
end
52 changes: 52 additions & 0 deletions ext/truffle/pom.xml
@@ -0,0 +1,52 @@
<?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>com.headius</groupId>
<artifactId>openjdk-truffle</artifactId>
<version>0.6</version>
<name>Openjdk Truffle</name>
<properties>
<tesla.dump.pom>pom.xml</tesla.dump.pom>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>truffle</artifactId>
<version>0.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>bootstrap</id>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>truffle</id>
<url>http://lafo.ssw.uni-linz.ac.at/nexus/content/repositories/releases/</url>
</repository>
</repositories>
</profile>
</profiles>
</project>
Empty file.

0 comments on commit 4164c7a

Please sign in to comment.