Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup (older) sisu dependency for polyglot-maven to compile on Java 6
Browse files Browse the repository at this point in the history
kares committed Dec 5, 2016
1 parent 3496397 commit cf7082f
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/pom.rb
Original file line number Diff line number Diff line change
@@ -44,6 +44,12 @@ def initialize( name, version )
{ :directory => '${basedir}/ruby/shared',
:includes => [ 'org/**/*.jar' ] } ] )

plugin_management do
plugin ( 'io.takari.polyglot:polyglot-maven-plugin:${tesla.version}' ) do
dependency 'org.eclipse.sisu', 'org.eclipse.sisu.plexus', '0.3.0', :provided
end
end

# tell maven to download the respective gem artifacts
default_gems.each do |g|
gem g.name, g.version
16 changes: 16 additions & 0 deletions lib/pom.xml
Original file line number Diff line number Diff line change
@@ -61,6 +61,22 @@ DO NOT MODIFIY - GENERATED CODE
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.takari.polyglot</groupId>
<artifactId>polyglot-maven-plugin</artifactId>
<version>${tesla.version}</version>
<dependencies>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.plexus</artifactId>
<version>0.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>

0 comments on commit cf7082f

Please sign in to comment.