rjack-maven 3.0.3.1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/History.rdoc +2 -0
  2. data/Manifest.txt +42 -0
  3. data/NOTICE.txt +13 -0
  4. data/README.rdoc +44 -0
  5. data/Rakefile +12 -0
  6. data/assembly.xml +12 -0
  7. data/bin/rmvn +32 -0
  8. data/config/m2.conf +2 -0
  9. data/lib/rjack-maven.rb +45 -0
  10. data/lib/rjack-maven/aether-api-1.13.1.jar +0 -0
  11. data/lib/rjack-maven/aether-connector-wagon-1.13.1.jar +0 -0
  12. data/lib/rjack-maven/aether-impl-1.13.1.jar +0 -0
  13. data/lib/rjack-maven/aether-spi-1.13.1.jar +0 -0
  14. data/lib/rjack-maven/aether-util-1.13.1.jar +0 -0
  15. data/lib/rjack-maven/base.rb +23 -0
  16. data/lib/rjack-maven/commons-cli-1.2.jar +0 -0
  17. data/lib/rjack-maven/maven-aether-provider-3.0.3.jar +0 -0
  18. data/lib/rjack-maven/maven-artifact-3.0.3.jar +0 -0
  19. data/lib/rjack-maven/maven-compat-3.0.3.jar +0 -0
  20. data/lib/rjack-maven/maven-core-3.0.3.jar +0 -0
  21. data/lib/rjack-maven/maven-embedder-3.0.3.jar +0 -0
  22. data/lib/rjack-maven/maven-model-3.0.3.jar +0 -0
  23. data/lib/rjack-maven/maven-model-builder-3.0.3.jar +0 -0
  24. data/lib/rjack-maven/maven-plugin-api-3.0.3.jar +0 -0
  25. data/lib/rjack-maven/maven-repository-metadata-3.0.3.jar +0 -0
  26. data/lib/rjack-maven/maven-settings-3.0.3.jar +0 -0
  27. data/lib/rjack-maven/maven-settings-builder-3.0.3.jar +0 -0
  28. data/lib/rjack-maven/plexus-cipher-1.4.jar +0 -0
  29. data/lib/rjack-maven/plexus-classworlds-2.4.jar +0 -0
  30. data/lib/rjack-maven/plexus-component-annotations-1.5.5.jar +0 -0
  31. data/lib/rjack-maven/plexus-interpolation-1.14.jar +0 -0
  32. data/lib/rjack-maven/plexus-sec-dispatcher-1.3.jar +0 -0
  33. data/lib/rjack-maven/plexus-utils-2.0.6.jar +0 -0
  34. data/lib/rjack-maven/sisu-guice-2.9.4-no_aop.jar +0 -0
  35. data/lib/rjack-maven/sisu-inject-bean-2.1.1.jar +0 -0
  36. data/lib/rjack-maven/sisu-inject-plexus-2.1.1.jar +0 -0
  37. data/lib/rjack-maven/wagon-http-lightweight-1.0.jar +0 -0
  38. data/lib/rjack-maven/wagon-http-shared-1.0.jar +0 -0
  39. data/lib/rjack-maven/wagon-provider-api-1.0.jar +0 -0
  40. data/pom.xml +109 -0
  41. data/test/setup.rb +7 -0
  42. data/test/test_maven.rb +30 -0
  43. metadata +122 -0
@@ -0,0 +1,2 @@
1
+ === 3.0.3.1 (2012-1-12)
2
+ * Initial release based on maven 3.0.3
@@ -0,0 +1,42 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ NOTICE.txt
4
+ README.rdoc
5
+ Rakefile
6
+ assembly.xml
7
+ pom.xml
8
+ bin/rmvn
9
+ config/m2.conf
10
+ lib/rjack-maven/base.rb
11
+ lib/rjack-maven.rb
12
+ test/setup.rb
13
+ test/test_maven.rb
14
+ lib/rjack-maven/aether-api-1.13.1.jar
15
+ lib/rjack-maven/aether-connector-wagon-1.13.1.jar
16
+ lib/rjack-maven/aether-impl-1.13.1.jar
17
+ lib/rjack-maven/aether-spi-1.13.1.jar
18
+ lib/rjack-maven/aether-util-1.13.1.jar
19
+ lib/rjack-maven/commons-cli-1.2.jar
20
+ lib/rjack-maven/maven-aether-provider-3.0.3.jar
21
+ lib/rjack-maven/maven-artifact-3.0.3.jar
22
+ lib/rjack-maven/maven-compat-3.0.3.jar
23
+ lib/rjack-maven/maven-core-3.0.3.jar
24
+ lib/rjack-maven/maven-embedder-3.0.3.jar
25
+ lib/rjack-maven/maven-model-3.0.3.jar
26
+ lib/rjack-maven/maven-model-builder-3.0.3.jar
27
+ lib/rjack-maven/maven-plugin-api-3.0.3.jar
28
+ lib/rjack-maven/maven-repository-metadata-3.0.3.jar
29
+ lib/rjack-maven/maven-settings-3.0.3.jar
30
+ lib/rjack-maven/maven-settings-builder-3.0.3.jar
31
+ lib/rjack-maven/plexus-cipher-1.4.jar
32
+ lib/rjack-maven/plexus-classworlds-2.4.jar
33
+ lib/rjack-maven/plexus-component-annotations-1.5.5.jar
34
+ lib/rjack-maven/plexus-interpolation-1.14.jar
35
+ lib/rjack-maven/plexus-sec-dispatcher-1.3.jar
36
+ lib/rjack-maven/plexus-utils-2.0.6.jar
37
+ lib/rjack-maven/sisu-guice-2.9.4-no_aop.jar
38
+ lib/rjack-maven/sisu-inject-bean-2.1.1.jar
39
+ lib/rjack-maven/sisu-inject-plexus-2.1.1.jar
40
+ lib/rjack-maven/wagon-http-lightweight-1.0.jar
41
+ lib/rjack-maven/wagon-http-shared-1.0.jar
42
+ lib/rjack-maven/wagon-provider-api-1.0.jar
@@ -0,0 +1,13 @@
1
+ rjack-maven gem
2
+ Copyright (c) 2012 David Kellum
3
+
4
+ This product includes software developed by:
5
+
6
+ Apache Maven
7
+ Copyright 2001-2011 The Apache Software Foundation
8
+
9
+ Plexus and Classworlds
10
+ The Codehaus Foundation (http://www.codehaus.org/).
11
+
12
+ Aether, Sisu, Spice, Plexus Ciper and Sec Dispatcher
13
+ Sonatype Inc. (http://www.sonatype.org/).
@@ -0,0 +1,44 @@
1
+ = rjack-maven
2
+
3
+ * http://rjack.rubyforge.org/maven
4
+ * http://rjack.rubyforge.org
5
+ * https://github.com/dekellum/rjack
6
+
7
+ == Description
8
+
9
+ A gem packaging of {Maven}[http://maven.apache.org]. Supports jruby
10
+ convenient installation and in-process launching for speed.
11
+
12
+ == License
13
+
14
+ === rjack-maven gem
15
+
16
+ Copyright (c) 2012 David Kellum
17
+
18
+ Licensed under the Apache License, Version 2.0 (the "License"); you
19
+ may not use this file except in compliance with the License. You
20
+ may obtain a copy of the License at:
21
+
22
+ http://www.apache.org/licenses/LICENSE-2.0
23
+
24
+ Unless required by applicable law or agreed to in writing, software
25
+ distributed under the License is distributed on an "AS IS" BASIS,
26
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
27
+ implied. See the License for the specific language governing
28
+ permissions and limitations under the License.
29
+
30
+ === Maven (java)
31
+
32
+ Copyright (c) 2001-2011 The Apache Software Foundation
33
+
34
+ Licensed under the Apache License, Version 2.0 (the "License"); you
35
+ may not use this file except in compliance with the License. You
36
+ may obtain a copy of the License at:
37
+
38
+ http://www.apache.org/licenses/LICENSE-2.0
39
+
40
+ Unless required by applicable law or agreed to in writing, software
41
+ distributed under the License is distributed on an "AS IS" BASIS,
42
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
43
+ implied. See the License for the specific language governing
44
+ permissions and limitations under the License.
@@ -0,0 +1,12 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'bundler/setup'
5
+ require 'rjack-tarpit'
6
+
7
+ RJack::TarPit.new( 'rjack-maven' ) do |tp|
8
+
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/maven'
11
+
12
+ end
@@ -0,0 +1,12 @@
1
+ <assembly>
2
+ <id>bin</id>
3
+ <formats>
4
+ <format>dir</format>
5
+ </formats>
6
+ <includeBaseDirectory>false</includeBaseDirectory>
7
+ <dependencySets>
8
+ <dependencySet>
9
+ <useProjectArtifact>false</useProjectArtifact>
10
+ </dependencySet>
11
+ </dependencySets>
12
+ </assembly>
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env jruby
2
+ # -*- ruby -*-
3
+ #--
4
+ # Copyright (c) 2012 David Kellum
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
7
+ # may not use this file except in compliance with the License. You may
8
+ # obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
+ # implied. See the License for the specific language governing
16
+ # permissions and limitations under the License.
17
+ #++
18
+
19
+ require 'java'
20
+
21
+ module BinScript
22
+
23
+ BIN_DIR = File.dirname(__FILE__)
24
+ BASE_DIR = File.expand_path( '..', BIN_DIR )
25
+
26
+ $LOAD_PATH.unshift File.join( BASE_DIR, "lib" )
27
+
28
+ require 'rubygems'
29
+ require 'rjack-maven'
30
+
31
+ exit RJack::Maven.launch
32
+ end
@@ -0,0 +1,2 @@
1
+ main is org.apache.maven.cli.MavenCli from plexus.core
2
+ [plexus.core]
@@ -0,0 +1,45 @@
1
+ #--
2
+ # Copyright (c) 2012 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You may
6
+ # obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ require 'rjack-maven/base'
18
+
19
+ require 'java'
20
+
21
+ module RJack::Maven
22
+
23
+ BASE_DIR = File.expand_path( '..', File.dirname(__FILE__) )
24
+
25
+ Dir.glob( File.join( LIB_DIR, '*.jar' ) ).each { |jar| require jar }
26
+
27
+ import 'org.codehaus.plexus.classworlds.launcher.Launcher'
28
+
29
+ def self.setup_system_properties
30
+ sys = Java::java.lang.System
31
+
32
+ sys.set_property( "maven.home", BASE_DIR )
33
+ sys.set_property( "classworlds.conf",
34
+ File.join( BASE_DIR, 'config', 'm2.conf' ) )
35
+ end
36
+
37
+ setup_system_properties
38
+
39
+ # Launch maven with args, using plexis launcher.
40
+ # Returns exit status.
41
+ def self.launch( args = ARGV )
42
+ Launcher.main_with_exit_code( args )
43
+ end
44
+
45
+ end
@@ -0,0 +1,23 @@
1
+ #--
2
+ # Copyright (c) 2012 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You may
6
+ # obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ module RJack
18
+ module Maven
19
+ MAVEN_VERSION = '3.0.3'
20
+ VERSION = MAVEN_VERSION + '.1'
21
+ LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
22
+ end
23
+ end
data/pom.xml ADDED
@@ -0,0 +1,109 @@
1
+ <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">
2
+
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>rjack</groupId>
5
+ <artifactId>rjack-maven</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+ <name>Maven for Gem</name>
9
+
10
+ <properties>
11
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12
+ </properties>
13
+
14
+ <dependencies>
15
+
16
+ <dependency>
17
+ <groupId>org.apache.maven</groupId>
18
+ <artifactId>maven-core</artifactId>
19
+ <version>3.0.3</version>
20
+ </dependency>
21
+
22
+ <dependency>
23
+ <groupId>org.apache.maven</groupId>
24
+ <artifactId>maven-embedder</artifactId>
25
+ <version>3.0.3</version>
26
+ </dependency>
27
+
28
+ <dependency>
29
+ <groupId>org.apache.maven.wagon</groupId>
30
+ <artifactId>wagon-http-shared</artifactId>
31
+ <version>1.0</version>
32
+
33
+ <exclusions>
34
+ <exclusion>
35
+ <groupId>commons-logging</groupId>
36
+ <artifactId>commons-logging</artifactId>
37
+ </exclusion>
38
+ <exclusion>
39
+ <groupId>commons-httpclient</groupId>
40
+ <artifactId>commons-httpclient</artifactId>
41
+ </exclusion>
42
+ <exclusion>
43
+ <groupId>commons-io</groupId>
44
+ <artifactId>commons-io</artifactId>
45
+ </exclusion>
46
+ <exclusion>
47
+ <groupId>org.jsoup</groupId>
48
+ <artifactId>jsoup</artifactId>
49
+ </exclusion>
50
+
51
+ </exclusions>
52
+
53
+ </dependency>
54
+
55
+ <dependency>
56
+ <groupId>org.apache.maven.wagon</groupId>
57
+ <artifactId>wagon-http-lightweight</artifactId>
58
+ <version>1.0</version>
59
+ </dependency>
60
+
61
+ <dependency>
62
+ <groupId>org.sonatype.aether</groupId>
63
+ <artifactId>aether-api</artifactId>
64
+ <version>1.13.1</version>
65
+ </dependency>
66
+ <dependency>
67
+ <groupId>org.sonatype.aether</groupId>
68
+ <artifactId>aether-impl</artifactId>
69
+ <version>1.13.1</version>
70
+ </dependency>
71
+ <dependency>
72
+ <groupId>org.sonatype.aether</groupId>
73
+ <artifactId>aether-util</artifactId>
74
+ <version>1.13.1</version>
75
+ </dependency>
76
+ <dependency>
77
+ <groupId>org.sonatype.aether</groupId>
78
+ <artifactId>aether-connector-wagon</artifactId>
79
+ <version>1.13.1</version>
80
+ </dependency>
81
+
82
+ </dependencies>
83
+
84
+ <build>
85
+ <plugins>
86
+ <plugin>
87
+ <artifactId>maven-assembly-plugin</artifactId>
88
+ <version>2.2.1</version>
89
+ <configuration>
90
+ <attach>false</attach>
91
+ <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
92
+ <descriptors>
93
+ <descriptor>assembly.xml</descriptor>
94
+ </descriptors>
95
+ </configuration>
96
+ <executions>
97
+ <execution>
98
+ <id>assembly</id>
99
+ <phase>package</phase>
100
+ <goals>
101
+ <goal>single</goal>
102
+ </goals>
103
+ </execution>
104
+ </executions>
105
+ </plugin>
106
+ </plugins>
107
+ </build>
108
+
109
+ </project>
@@ -0,0 +1,7 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ $LOAD_PATH.unshift( File.join( File.dirname( __FILE__ ), '..', 'lib' ) )
5
+
6
+ require 'minitest/unit'
7
+ require 'minitest/autorun'
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
4
+ #--
5
+ # Copyright (c) 2012 David Kellum
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
8
+ # may not use this file except in compliance with the License. You may
9
+ # obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
+ #++
19
+
20
+ require File.join( File.dirname( __FILE__ ), "setup" )
21
+
22
+ require 'rjack-maven'
23
+
24
+ class TestMaven < MiniTest::Unit::TestCase
25
+
26
+ def test_launch
27
+ assert_equal( 0, RJack::Maven.launch( %w[ -v ] ) )
28
+ end
29
+
30
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-maven
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 3.0.3.1
6
+ platform: java
7
+ authors:
8
+ - David Kellum
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-01-13 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: minitest
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: "2.10"
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :development
26
+ - !ruby/object:Gem::Dependency
27
+ name: rjack-tarpit
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: "2.0"
34
+ requirement: *id002
35
+ prerelease: false
36
+ type: :development
37
+ description: A gem packaging of Maven. Supports jruby convenient installation and in-process launching for speed.
38
+ email:
39
+ - dek-oss@gravitext.com
40
+ executables:
41
+ - rmvn
42
+ extensions: []
43
+
44
+ extra_rdoc_files:
45
+ - History.rdoc
46
+ - README.rdoc
47
+ files:
48
+ - History.rdoc
49
+ - Manifest.txt
50
+ - NOTICE.txt
51
+ - README.rdoc
52
+ - Rakefile
53
+ - assembly.xml
54
+ - pom.xml
55
+ - bin/rmvn
56
+ - config/m2.conf
57
+ - lib/rjack-maven/base.rb
58
+ - lib/rjack-maven.rb
59
+ - test/setup.rb
60
+ - test/test_maven.rb
61
+ - lib/rjack-maven/aether-api-1.13.1.jar
62
+ - lib/rjack-maven/aether-connector-wagon-1.13.1.jar
63
+ - lib/rjack-maven/aether-impl-1.13.1.jar
64
+ - lib/rjack-maven/aether-spi-1.13.1.jar
65
+ - lib/rjack-maven/aether-util-1.13.1.jar
66
+ - lib/rjack-maven/commons-cli-1.2.jar
67
+ - lib/rjack-maven/maven-aether-provider-3.0.3.jar
68
+ - lib/rjack-maven/maven-artifact-3.0.3.jar
69
+ - lib/rjack-maven/maven-compat-3.0.3.jar
70
+ - lib/rjack-maven/maven-core-3.0.3.jar
71
+ - lib/rjack-maven/maven-embedder-3.0.3.jar
72
+ - lib/rjack-maven/maven-model-3.0.3.jar
73
+ - lib/rjack-maven/maven-model-builder-3.0.3.jar
74
+ - lib/rjack-maven/maven-plugin-api-3.0.3.jar
75
+ - lib/rjack-maven/maven-repository-metadata-3.0.3.jar
76
+ - lib/rjack-maven/maven-settings-3.0.3.jar
77
+ - lib/rjack-maven/maven-settings-builder-3.0.3.jar
78
+ - lib/rjack-maven/plexus-cipher-1.4.jar
79
+ - lib/rjack-maven/plexus-classworlds-2.4.jar
80
+ - lib/rjack-maven/plexus-component-annotations-1.5.5.jar
81
+ - lib/rjack-maven/plexus-interpolation-1.14.jar
82
+ - lib/rjack-maven/plexus-sec-dispatcher-1.3.jar
83
+ - lib/rjack-maven/plexus-utils-2.0.6.jar
84
+ - lib/rjack-maven/sisu-guice-2.9.4-no_aop.jar
85
+ - lib/rjack-maven/sisu-inject-bean-2.1.1.jar
86
+ - lib/rjack-maven/sisu-inject-plexus-2.1.1.jar
87
+ - lib/rjack-maven/wagon-http-lightweight-1.0.jar
88
+ - lib/rjack-maven/wagon-http-shared-1.0.jar
89
+ - lib/rjack-maven/wagon-provider-api-1.0.jar
90
+ homepage: http://rjack.rubyforge.org/maven
91
+ licenses: []
92
+
93
+ post_install_message:
94
+ rdoc_options:
95
+ - --main
96
+ - README.rdoc
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ hash: 2
105
+ segments:
106
+ - 0
107
+ version: "0"
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: "0"
114
+ requirements: []
115
+
116
+ rubyforge_project:
117
+ rubygems_version: 1.8.11
118
+ signing_key:
119
+ specification_version: 3
120
+ summary: A gem packaging of Maven.
121
+ test_files: []
122
+