maven-tools 1.1.2 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/maven/tools/dsl.rb +57 -22
- data/lib/maven/tools/model.rb +4 -4
- data/lib/maven/tools/version.rb +1 -1
- data/lib/maven/tools/versions.rb +4 -4
- data/lib/maven/tools/visitor.rb +1 -1
- data/spec/dsl/gemspec_spec/jars_and_poms.xml +2 -2
- data/spec/dsl/gemspec_spec/jars_and_poms_include_jars.xml +2 -2
- data/spec/dsl/gemspec_spec/maven-tools.xml +2 -2
- data/spec/dsl/jarfile_lock_spec/Jarfile.legacy.lock +1 -1
- data/spec/dsl/jarfile_lock_spec/Jarfile.lock +3 -3
- data/spec/dsl/profile_gemspec_spec/jars_and_poms.xml +2 -2
- data/spec/dsl/profile_gemspec_spec/jars_and_poms_include_jars.xml +2 -2
- data/spec/dsl/profile_gemspec_spec/maven-tools.xml +2 -2
- data/spec/dsl/profile_gemspec_spec/no_gems.xml +2 -2
- data/spec/dsl/profile_gemspec_spec/snapshot.xml +2 -2
- data/spec/dsl/profile_gemspec_spec/unknown_license.xml +2 -2
- data/spec/dsl/project_gemspec_spec/extended.xml +2 -2
- data/spec/dsl/project_gemspec_spec/jars_and_poms.xml +2 -2
- data/spec/dsl/project_gemspec_spec/jars_and_poms_include_jars.xml +2 -2
- data/spec/dsl/project_gemspec_spec/maven-tools.xml +2 -2
- data/spec/dsl/project_gemspec_spec/no_gems.xml +2 -2
- data/spec/dsl/project_gemspec_spec/profile.xml +2 -2
- data/spec/dsl/project_gemspec_spec/snapshot.xml +2 -2
- data/spec/dsl/project_gemspec_spec/unknown_license.xml +2 -2
- data/spec/gemfile/pom.xml +2 -2
- data/spec/gemfile_include_jars/pom.xml +2 -2
- data/spec/gemfile_with_access_to_model/pom.xml +2 -2
- data/spec/gemfile_with_custom_source/pom.xml +2 -2
- data/spec/gemfile_with_custom_source_and_custom_jarname/pom.xml +2 -2
- data/spec/gemfile_with_extras/pom.xml +2 -2
- data/spec/gemfile_with_groups/pom.xml +2 -2
- data/spec/gemfile_with_groups_and_lockfile/pom.xml +2 -2
- data/spec/gemfile_with_jars_lock/pom.xml +2 -2
- data/spec/gemfile_with_lock/pom.xml +2 -2
- data/spec/gemfile_with_path/pom.xml +2 -2
- data/spec/gemfile_with_platforms/pom.xml +2 -2
- data/spec/gemfile_with_source/Gemfile +4 -0
- data/spec/gemfile_with_source/pom.xml +12 -2
- data/spec/gemfile_with_source_and_custom_jarname/pom.xml +2 -2
- data/spec/gemfile_with_source_and_no_jar/pom.xml +2 -2
- data/spec/gemfile_with_test_group/pom.xml +2 -2
- data/spec/gemfile_with_two_sources/pom.xml +2 -2
- data/spec/gemfile_without_gemspec/pom.xml +2 -2
- data/spec/gemspec/pom.xml +2 -2
- data/spec/gemspec_in_profile/pom.xml +2 -2
- data/spec/gemspec_include_jars/pom.xml +2 -2
- data/spec/gemspec_no_rubygems_repo/pom.xml +2 -2
- data/spec/gemspec_prerelease/pom.xml +2 -2
- data/spec/gemspec_prerelease_snapshot/pom.xml +2 -2
- data/spec/gemspec_with_access_to_model/pom.xml +2 -2
- data/spec/gemspec_with_custom_source/pom.xml +2 -2
- data/spec/gemspec_with_custom_source_and_custom_jarname/pom.xml +2 -2
- data/spec/gemspec_with_extras/pom.xml +2 -2
- data/spec/gemspec_with_jar_dependencies/pom.xml +2 -2
- data/spec/gemspec_with_jars_lock/pom.xml +2 -2
- data/spec/gemspec_with_prereleased_dependency/pom.xml +2 -2
- data/spec/gemspec_with_prereleased_dependency_and_no_repo/pom.xml +2 -2
- data/spec/gemspec_with_source/pom.xml +2 -2
- data/spec/gemspec_with_source_and_custom_jarname/pom.xml +2 -2
- data/spec/gemspec_with_source_and_no_jar/pom.xml +2 -2
- data/spec/mavenfile/Mavenfile +17 -2
- data/spec/pom.xml +38 -1
- data/spec/pom_maven_alternative_style/pom.rb +16 -2
- data/spec/pom_maven_hash_style/pom.rb +23 -10
- data/spec/pom_maven_style/pom.rb +78 -160
- data/spec/pom_with_execute/pom.xml +2 -2
- metadata +16 -17
- data/Mavenfile +0 -39
@@ -30,10 +30,16 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
|
+
<dependency>
|
38
|
+
<groupId>rubygems</groupId>
|
39
|
+
<artifactId>paseserver</artifactId>
|
40
|
+
<version>[1.3,1.99999]</version>
|
41
|
+
<type>gem</type>
|
42
|
+
</dependency>
|
37
43
|
<dependency>
|
38
44
|
<groupId>org.bouncycastle</groupId>
|
39
45
|
<artifactId>bcpkix-jdk15on</artifactId>
|
@@ -50,6 +56,10 @@
|
|
50
56
|
<id>mavengems</id>
|
51
57
|
<url>mavengem:https://rubygems.org</url>
|
52
58
|
</repository>
|
59
|
+
<repository>
|
60
|
+
<id>https_example.com</id>
|
61
|
+
<url>mavengem:https://example.com</url>
|
62
|
+
</repository>
|
53
63
|
</repositories>
|
54
64
|
<build>
|
55
65
|
<extensions>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -8,8 +8,8 @@
|
|
8
8
|
<name>gemfile_with_test_group</name>
|
9
9
|
<properties>
|
10
10
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
11
|
-
<jruby.plugins.version>
|
12
|
-
<mavengem.wagon.version>0.
|
11
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
12
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
13
13
|
</properties>
|
14
14
|
<repositories>
|
15
15
|
<repository>
|
@@ -17,8 +17,8 @@
|
|
17
17
|
<name>gemfile_with_two_sources</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>
|
21
|
-
<mavengem.wagon.version>0.
|
20
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
21
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
22
22
|
</properties>
|
23
23
|
<repositories>
|
24
24
|
<repository>
|
@@ -17,8 +17,8 @@
|
|
17
17
|
<name>gemfile_without_gemspec</name>
|
18
18
|
<properties>
|
19
19
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
20
|
-
<jruby.plugins.version>
|
21
|
-
<mavengem.wagon.version>0.
|
20
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
21
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
22
22
|
</properties>
|
23
23
|
<dependencies>
|
24
24
|
<dependency>
|
data/spec/gemspec/pom.xml
CHANGED
@@ -47,8 +47,8 @@
|
|
47
47
|
</scm>
|
48
48
|
<properties>
|
49
49
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
50
|
-
<jruby.plugins.version>
|
51
|
-
<mavengem.wagon.version>0.
|
50
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
51
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
52
52
|
</properties>
|
53
53
|
<dependencies>
|
54
54
|
<dependency>
|
@@ -41,8 +41,8 @@
|
|
41
41
|
</build>
|
42
42
|
<properties>
|
43
43
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
44
|
-
<jruby.plugins.version>
|
45
|
-
<mavengem.wagon.version>0.
|
44
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
45
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
46
46
|
</properties>
|
47
47
|
<dependencies>
|
48
48
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
<version_from_model>1.5.0</version_from_model>
|
36
36
|
</properties>
|
37
37
|
<repositories>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
<tesla.dump.pom>pom.xml</tesla.dump.pom>
|
36
36
|
<tesla.dump.readonly>true</tesla.dump.readonly>
|
37
37
|
</properties>
|
@@ -47,8 +47,8 @@
|
|
47
47
|
</scm>
|
48
48
|
<properties>
|
49
49
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
50
|
-
<jruby.plugins.version>
|
51
|
-
<mavengem.wagon.version>0.
|
50
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
51
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
52
52
|
</properties>
|
53
53
|
<dependencies>
|
54
54
|
<dependency>
|
@@ -47,8 +47,8 @@
|
|
47
47
|
</scm>
|
48
48
|
<properties>
|
49
49
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
50
|
-
<jruby.plugins.version>
|
51
|
-
<mavengem.wagon.version>0.
|
50
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
51
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
52
52
|
</properties>
|
53
53
|
<dependencies>
|
54
54
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
</scm>
|
31
31
|
<properties>
|
32
32
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
33
|
-
<jruby.plugins.version>
|
34
|
-
<mavengem.wagon.version>0.
|
33
|
+
<jruby.plugins.version>2.0.1</jruby.plugins.version>
|
34
|
+
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
|
35
35
|
</properties>
|
36
36
|
<dependencies>
|
37
37
|
<dependency>
|
data/spec/mavenfile/Mavenfile
CHANGED
@@ -222,11 +222,11 @@ test_resource do
|
|
222
222
|
excludes [ '*~' ]
|
223
223
|
end
|
224
224
|
|
225
|
-
plugin :jar, '1.0',
|
225
|
+
plugin :jar, '1.0', 'inherited' => 'false', :extensions => true do
|
226
226
|
configuration :finalName => :testing
|
227
227
|
end
|
228
228
|
|
229
|
-
jruby_plugin :gem, '1.0.0' do
|
229
|
+
jruby_plugin :gem, '1.0.0', :extensions => false do
|
230
230
|
gem :bundler, '1.7.13'
|
231
231
|
end
|
232
232
|
|
@@ -265,6 +265,11 @@ plugin 'org.codehaus.mojo:exec-maven-plugin' do
|
|
265
265
|
end
|
266
266
|
|
267
267
|
plugin_management do
|
268
|
+
jruby_plugin( :gem, '2.0.1', :scope => :compile,
|
269
|
+
:gems => {
|
270
|
+
'thread_safe' => '0.3.3',
|
271
|
+
'jdbc-mysql' => '5.1.30'
|
272
|
+
} )
|
268
273
|
plugin( "org.mortbay.jetty:jetty-maven-plugin:8.1",
|
269
274
|
:path => '/',
|
270
275
|
:connectors => [ { :@implementation => "org.eclipse.jetty.server.nio.SelectChannelConnector",
|
@@ -277,6 +282,16 @@ plugin_management do
|
|
277
282
|
:httpConnector => { :port => '${run.port}' } )
|
278
283
|
end
|
279
284
|
|
285
|
+
profile :id => 'one' do
|
286
|
+
activation do
|
287
|
+
active_by_default false
|
288
|
+
jdk '1.7'
|
289
|
+
os :family => 'nix', :version => '2.7', :arch => 'x86_64', :name => 'linux'
|
290
|
+
file :missing => 'required_file', :exists => 'optional'
|
291
|
+
property :name => 'test', :value => 'extended'
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
280
295
|
# <groupId/>
|
281
296
|
# <artifactId/>
|
282
297
|
# <version/>
|
data/spec/pom.xml
CHANGED
@@ -314,6 +314,18 @@
|
|
314
314
|
<finalName>myproject</finalName>
|
315
315
|
<pluginManagement>
|
316
316
|
<plugins>
|
317
|
+
<plugin>
|
318
|
+
<groupId>de.saumya.mojo</groupId>
|
319
|
+
<artifactId>gem-maven-plugin</artifactId>
|
320
|
+
<version>2.0.1</version>
|
321
|
+
<configuration>
|
322
|
+
<scope>compile</scope>
|
323
|
+
<gems>
|
324
|
+
<thread_safe>0.3.3</thread_safe>
|
325
|
+
<jdbc-mysql>5.1.30</jdbc-mysql>
|
326
|
+
</gems>
|
327
|
+
</configuration>
|
328
|
+
</plugin>
|
317
329
|
<plugin>
|
318
330
|
<groupId>org.mortbay.jetty</groupId>
|
319
331
|
<artifactId>jetty-maven-plugin</artifactId>
|
@@ -344,7 +356,8 @@
|
|
344
356
|
<plugin>
|
345
357
|
<artifactId>maven-jar-plugin</artifactId>
|
346
358
|
<version>1.0</version>
|
347
|
-
<
|
359
|
+
<extensions>true</extensions>
|
360
|
+
<inherited>false</inherited>
|
348
361
|
<configuration>
|
349
362
|
<finalName>testing</finalName>
|
350
363
|
</configuration>
|
@@ -353,6 +366,7 @@
|
|
353
366
|
<groupId>de.saumya.mojo</groupId>
|
354
367
|
<artifactId>gem-maven-plugin</artifactId>
|
355
368
|
<version>1.0.0</version>
|
369
|
+
<extensions>false</extensions>
|
356
370
|
<dependencies>
|
357
371
|
<dependency>
|
358
372
|
<groupId>rubygems</groupId>
|
@@ -422,4 +436,27 @@
|
|
422
436
|
</plugin>
|
423
437
|
</plugins>
|
424
438
|
</build>
|
439
|
+
<profiles>
|
440
|
+
<profile>
|
441
|
+
<id>one</id>
|
442
|
+
<activation>
|
443
|
+
<activeByDefault>false</activeByDefault>
|
444
|
+
<jdk>1.7</jdk>
|
445
|
+
<os>
|
446
|
+
<name>linux</name>
|
447
|
+
<family>nix</family>
|
448
|
+
<arch>x86_64</arch>
|
449
|
+
<version>2.7</version>
|
450
|
+
</os>
|
451
|
+
<property>
|
452
|
+
<name>test</name>
|
453
|
+
<value>extended</value>
|
454
|
+
</property>
|
455
|
+
<file>
|
456
|
+
<missing>required_file</missing>
|
457
|
+
<exists>optional</exists>
|
458
|
+
</file>
|
459
|
+
</activation>
|
460
|
+
</profile>
|
461
|
+
</profiles>
|
425
462
|
</project>
|
@@ -164,11 +164,11 @@ project 'my name', 'example.com' do
|
|
164
164
|
excludes [ '*~' ]
|
165
165
|
end
|
166
166
|
|
167
|
-
plugin :jar, '1.0', :inherited => true do
|
167
|
+
plugin :jar, '1.0', :inherited => false, :extensions => true do
|
168
168
|
configuration :finalName => :testing
|
169
169
|
end
|
170
170
|
|
171
|
-
jruby_plugin :gem, '1.0.0' do
|
171
|
+
jruby_plugin :gem, '1.0.0', 'extensions' => false do
|
172
172
|
gem :bundler, '1.7.13'
|
173
173
|
end
|
174
174
|
|
@@ -207,6 +207,11 @@ project 'my name', 'example.com' do
|
|
207
207
|
end
|
208
208
|
|
209
209
|
overrides do
|
210
|
+
jruby_plugin( :gem, '2.0.1', :scope => :compile,
|
211
|
+
:gems => {
|
212
|
+
'thread_safe' => '0.3.3',
|
213
|
+
'jdbc-mysql' => '5.1.30'
|
214
|
+
} )
|
210
215
|
plugin( "org.mortbay.jetty:jetty-maven-plugin:8.1",
|
211
216
|
:path => '/',
|
212
217
|
:connectors => [ { :@implementation => "org.eclipse.jetty.server.nio.SelectChannelConnector",
|
@@ -220,6 +225,15 @@ project 'my name', 'example.com' do
|
|
220
225
|
end
|
221
226
|
|
222
227
|
end
|
228
|
+
profile :id => 'one' do
|
229
|
+
activation do
|
230
|
+
active_by_default false
|
231
|
+
jdk '1.7'
|
232
|
+
os :family => 'nix', :version => '2.7', :arch => 'x86_64', :name => 'linux'
|
233
|
+
file :missing => 'required_file', :exists => 'optional'
|
234
|
+
property :name => 'test', :value => 'extended'
|
235
|
+
end
|
236
|
+
end
|
223
237
|
end
|
224
238
|
|
225
239
|
# <build>
|
@@ -185,10 +185,11 @@ project :name => 'my name', :url => 'example.com' do
|
|
185
185
|
:includes => [ '**/*' ],
|
186
186
|
:excludes => [ '*~' ] )
|
187
187
|
plugin( :jar, '1.0',
|
188
|
-
:inherited =>
|
188
|
+
:inherited => false,
|
189
|
+
:extensions => true,
|
189
190
|
:finalName => :testing )
|
190
191
|
|
191
|
-
jruby_plugin :gem, '1.0.0' do
|
192
|
+
jruby_plugin :gem, '1.0.0', 'extensions' => false do
|
192
193
|
gem :bundler, '1.7.13'
|
193
194
|
end
|
194
195
|
|
@@ -215,17 +216,22 @@ project :name => 'my name', :url => 'example.com' do
|
|
215
216
|
plugin 'org.codehaus.mojo:exec-maven-plugin' do
|
216
217
|
execute_goal( 'exec',
|
217
218
|
:id => 'invoker-generator',
|
218
|
-
|
219
|
+
:arguments => [ '-Djruby.bytecode.version=${base.java.version}',
|
219
220
|
'-classpath',
|
220
221
|
xml( '<classpath/>' ),
|
221
222
|
'org.jruby.anno.InvokerGenerator',
|
222
223
|
'${anno.sources}/annotated_classes.txt',
|
223
224
|
'${project.build.outputDirectory}' ],
|
224
|
-
|
225
|
-
|
225
|
+
:executable => 'java',
|
226
|
+
:classpath_scope => 'compile' )
|
226
227
|
end
|
227
228
|
|
228
229
|
plugin_management do
|
230
|
+
jruby_plugin( :gem, '2.0.1', :scope => :compile,
|
231
|
+
:gems => {
|
232
|
+
'thread_safe' => '0.3.3',
|
233
|
+
'jdbc-mysql' => '5.1.30'
|
234
|
+
} )
|
229
235
|
plugin( "org.mortbay.jetty:jetty-maven-plugin:8.1",
|
230
236
|
:path => '/',
|
231
237
|
:connectors => [ { :@implementation => "org.eclipse.jetty.server.nio.SelectChannelConnector",
|
@@ -233,15 +239,22 @@ project :name => 'my name', :url => 'example.com' do
|
|
233
239
|
{ :@implementation => "org.eclipse.jetty.server.ssl.SslSelectChannelConnector",
|
234
240
|
:port => '${run.sslport}',
|
235
241
|
:keystore => '${run.keystore}',
|
236
|
-
:
|
237
|
-
:
|
238
|
-
:
|
242
|
+
:key_password => '${run.keystore.pass}',
|
243
|
+
:trust_password => '${run.truststore.pass}' } ],
|
244
|
+
:http_connector => { :port => '${run.port}' } )
|
245
|
+
end
|
246
|
+
end
|
247
|
+
profile :id => 'one' do
|
248
|
+
activation do
|
249
|
+
active_by_default false
|
250
|
+
jdk '1.7'
|
251
|
+
os :family => 'nix', :version => '2.7', :arch => 'x86_64', :name => 'linux'
|
252
|
+
file :missing => 'required_file', :exists => 'optional'
|
253
|
+
property :name => 'test', :value => 'extended'
|
239
254
|
end
|
240
255
|
end
|
241
256
|
end
|
242
257
|
|
243
|
-
# <directory/>
|
244
|
-
# <finalName/>
|
245
258
|
# <filters/>
|
246
259
|
# </build>
|
247
260
|
|