Skip to content

Commit 6d6106d

Browse files
authored
Merge pull request #136 from headius/restore_obsolete_plugins
Restore obsolete plugins
2 parents af94cda + e44e4ac commit 6d6106d

File tree

70 files changed

+1887
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1887
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ there is maven repository with torquebox.org which delivers gem (only ruby and j
1111
<repositories>
1212
<repository>
1313
<id>mavengems</id>
14-
<url>http://rubygems-proxy.torquebox.org/releases</url>
14+
<url>mavengem:https://rubygems.org</url>
1515
</repository>
1616
</repositories>
1717
. . .

bundler-maven-plugin/pom.xml

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0"?>
2+
<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/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<artifactId>gem-parent-mojo</artifactId>
6+
<groupId>org.jruby.maven</groupId>
7+
<version>3.0.3-SNAPSHOT</version>
8+
<relativePath>../gem-parent-mojo/pom.xml</relativePath>
9+
</parent>
10+
<artifactId>bundler-maven-plugin</artifactId>
11+
<packaging>maven-plugin</packaging>
12+
<name>Bundler Maven Mojo</name>
13+
<properties><invoker.skip>true</invoker.skip></properties>
14+
<profiles>
15+
<profile>
16+
<id>integration-test</id>
17+
<properties>
18+
<invoker.skip>true</invoker.skip>
19+
</properties>
20+
</profile>
21+
<profile>
22+
<id>all</id>
23+
<properties>
24+
<invoker.skip>false</invoker.skip>
25+
</properties>
26+
</profile>
27+
</profiles>
28+
<build>
29+
<pluginManagement>
30+
<plugins>
31+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
32+
<plugin>
33+
<groupId>org.eclipse.m2e</groupId>
34+
<artifactId>lifecycle-mapping</artifactId>
35+
<version>1.0.0</version>
36+
<configuration>
37+
<lifecycleMappingMetadata>
38+
<pluginExecutions>
39+
<pluginExecution>
40+
<pluginExecutionFilter>
41+
<groupId>
42+
org.apache.maven.plugins
43+
</groupId>
44+
<artifactId>
45+
maven-dependency-plugin
46+
</artifactId>
47+
<versionRange>
48+
[2.1,)
49+
</versionRange>
50+
<goals>
51+
<goal>
52+
unpack-dependencies
53+
</goal>
54+
</goals>
55+
</pluginExecutionFilter>
56+
<action>
57+
<ignore />
58+
</action>
59+
</pluginExecution>
60+
<pluginExecution>
61+
<pluginExecutionFilter>
62+
<groupId>
63+
org.codehaus.mojo
64+
</groupId>
65+
<artifactId>
66+
build-helper-maven-plugin
67+
</artifactId>
68+
<versionRange>
69+
[1.4,)
70+
</versionRange>
71+
<goals>
72+
<goal>add-source</goal>
73+
</goals>
74+
</pluginExecutionFilter>
75+
<action>
76+
<ignore />
77+
</action>
78+
</pluginExecution>
79+
</pluginExecutions>
80+
</lifecycleMappingMetadata>
81+
</configuration>
82+
</plugin>
83+
</plugins>
84+
</pluginManagement>
85+
</build>
86+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gem 'rubyzip2'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
invoker.goals = bundler:install
2+
invoker.mavenOpts = -client
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0"?>
2+
<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/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>org.jruby.maven</groupId>
5+
<artifactId>bundler</artifactId>
6+
<version>testing</version>
7+
8+
<repositories>
9+
<repository>
10+
<id>mavengems</id>
11+
<url>mavengem:https://rubygems.org</url>
12+
</repository>
13+
</repositories>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>rubygems</groupId>
18+
<artifactId>rubyzip2</artifactId>
19+
<version>2.0.2</version>
20+
<type>gem</type>
21+
</dependency>
22+
<dependency>
23+
<groupId>rubygems</groupId>
24+
<artifactId>bundler</artifactId>
25+
<version>1.3.5</version>
26+
<type>gem</type>
27+
</dependency>
28+
</dependencies>
29+
<build>
30+
<plugins>
31+
<plugin>
32+
<groupId>org.jruby.maven</groupId>
33+
<artifactId>bundler-maven-plugin</artifactId>
34+
<version>@project.version@</version>
35+
<executions>
36+
<execution>
37+
<goals><goal>install</goal></goals>
38+
</execution>
39+
</executions>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import java.io.*;
2+
3+
new File( basedir, "Gemfile.lock").delete() || true;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import java.io.*;
2+
import org.codehaus.plexus.util.FileUtils;
3+
4+
5+
File f = new File( basedir, "Gemfile.lock" );
6+
if ( !f.exists() )
7+
{
8+
throw new RuntimeException( "file does not exist: " + f );
9+
}
+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0"?>
2+
<settings>
3+
<profiles>
4+
<profile>
5+
<id>it-repo</id>
6+
<activation>
7+
<activeByDefault>true</activeByDefault>
8+
</activation>
9+
<repositories>
10+
<repository>
11+
<id>local.central</id>
12+
<url>@localRepositoryUrl@</url>
13+
<releases>
14+
<enabled>true</enabled>
15+
</releases>
16+
<snapshots>
17+
<enabled>true</enabled>
18+
</snapshots>
19+
</repository>
20+
<repository>
21+
<id>local.rubygems</id>
22+
<url>@localRepositoryUrl@</url>
23+
<releases>
24+
<enabled>true</enabled>
25+
</releases>
26+
<snapshots>
27+
<enabled>false</enabled>
28+
</snapshots>
29+
</repository>
30+
</repositories>
31+
<pluginRepositories>
32+
<pluginRepository>
33+
<id>local.central</id>
34+
<url>@localRepositoryUrl@</url>
35+
<releases>
36+
<enabled>true</enabled>
37+
</releases>
38+
<snapshots>
39+
<enabled>true</enabled>
40+
</snapshots>
41+
</pluginRepository>
42+
</pluginRepositories>
43+
</profile>
44+
</profiles>
45+
</settings>

0 commit comments

Comments
 (0)