buildr4osgi 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/buildr4osgi.gemspec +2 -2
  2. data/lib/buildr4osgi.rb +2 -0
  3. data/lib/buildr4osgi/compile.rb +2 -1
  4. data/lib/buildr4osgi/compile/compiler.rb +1 -3
  5. data/lib/buildr4osgi/compile/external.rb +71 -0
  6. data/lib/buildr4osgi/eclipse.rb +3 -1
  7. data/lib/buildr4osgi/eclipse/feature.rb +12 -7
  8. data/lib/buildr4osgi/eclipse/p2.rb +137 -0
  9. data/lib/buildr4osgi/eclipse/site.rb +207 -0
  10. data/lib/buildr4osgi/osgi/bundle.rb +17 -12
  11. data/lib/buildr4osgi/osgi/bundle_package.rb +35 -11
  12. data/lib/buildr4osgi/osgi/container.rb +1 -0
  13. data/lib/buildr4osgi/osgi/execution_environment.rb +199 -0
  14. data/lib/buildr4osgi/osgi/library_extension.rb +14 -1
  15. data/lib/buildr4osgi/osgi/packaging_sources.rb +4 -0
  16. data/lib/buildr4osgi/osgi/project_extension.rb +59 -20
  17. data/lib/buildr4osgi/osgi/registry.rb +23 -29
  18. data/lib/buildr4osgi/osgi/resolving_strategies.rb +1 -0
  19. data/lib/buildr4osgi/osgi/version.rb +1 -1
  20. data/rakelib/all-in-one.rake +84 -0
  21. data/rakelib/stage.rake +5 -4
  22. data/spec/compile/external_spec.rb +41 -0
  23. data/spec/eclipse/p2_spec.rb +65 -0
  24. data/spec/eclipse/site_spec.rb +94 -0
  25. data/spec/osgi/bundle_package_spec.rb +13 -1
  26. data/spec/osgi/bundle_spec.rb +2 -2
  27. data/spec/osgi/execution_environment_spec.rb +48 -0
  28. data/spec/osgi/library_extension_spec.rb +15 -2
  29. data/spec/osgi/project_extension_spec.rb +86 -18
  30. data/spec/osgi/registry_spec.rb +30 -20
  31. data/spec/osgi/resolving_strategies_spec.rb +2 -2
  32. data/spec/osgi/version_spec.rb +6 -0
  33. data/spec/spec_helpers.rb +12 -0
  34. metadata +12 -16
  35. data/spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.jar +0 -0
  36. data/spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.pom +0 -82
  37. data/spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.jar +0 -0
  38. data/spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.pom +0 -478
  39. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8-sources.jar +0 -0
  40. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.jar +0 -0
  41. data/spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.pom +0 -30
  42. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8-sources.jar +0 -0
  43. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar +0 -0
  44. data/spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom +0 -101
  45. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8-sources.jar +0 -0
  46. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar +0 -0
  47. data/spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.pom +0 -56
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildr4osgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Toulme
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-29 00:00:00 -07:00
12
+ date: 2010-04-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.0.7
23
+ version: 0.0.8
24
24
  version:
25
25
  description: |
26
26
  A plugin for adding OSGi support to Buildr. Ever dreamt you could resolve your OSGi dependencies ?
@@ -37,15 +37,19 @@ extra_rdoc_files:
37
37
  files:
38
38
  - lib/buildr4osgi/compile/compiler.rb
39
39
  - lib/buildr4osgi/compile/ecj-3.4.1.jar
40
+ - lib/buildr4osgi/compile/external.rb
40
41
  - lib/buildr4osgi/compile.rb
41
42
  - lib/buildr4osgi/eclipse/feature.rb
43
+ - lib/buildr4osgi/eclipse/p2.rb
42
44
  - lib/buildr4osgi/eclipse/plugin.rb
45
+ - lib/buildr4osgi/eclipse/site.rb
43
46
  - lib/buildr4osgi/eclipse.rb
44
47
  - lib/buildr4osgi/nature.rb
45
48
  - lib/buildr4osgi/osgi/bundle.rb
46
49
  - lib/buildr4osgi/osgi/bundle_package.rb
47
50
  - lib/buildr4osgi/osgi/container.rb
48
51
  - lib/buildr4osgi/osgi/dependencies.rb
52
+ - lib/buildr4osgi/osgi/execution_environment.rb
49
53
  - lib/buildr4osgi/osgi/library_extension.rb
50
54
  - lib/buildr4osgi/osgi/packaging.rb
51
55
  - lib/buildr4osgi/osgi/packaging_sources.rb
@@ -55,6 +59,7 @@ files:
55
59
  - lib/buildr4osgi/osgi/version.rb
56
60
  - lib/buildr4osgi/osgi.rb
57
61
  - lib/buildr4osgi.rb
62
+ - rakelib/all-in-one.rake
58
63
  - rakelib/checks.rake
59
64
  - rakelib/doc.rake
60
65
  - rakelib/jekylltask.rb
@@ -64,11 +69,15 @@ files:
64
69
  - rakelib/setup.rake
65
70
  - rakelib/stage.rake
66
71
  - spec/compile/compiler_spec.rb
72
+ - spec/compile/external_spec.rb
67
73
  - spec/eclipse/feature_spec.rb
74
+ - spec/eclipse/p2_spec.rb
75
+ - spec/eclipse/site_spec.rb
68
76
  - spec/osgi/bundle_package_spec.rb
69
77
  - spec/osgi/bundle_spec.rb
70
78
  - spec/osgi/container_spec.rb
71
79
  - spec/osgi/dependencies_spec.rb
80
+ - spec/osgi/execution_environment_spec.rb
72
81
  - spec/osgi/library_extension_spec.rb
73
82
  - spec/osgi/packaging_sources_spec.rb
74
83
  - spec/osgi/packaging_spec.rb
@@ -84,19 +93,6 @@ files:
84
93
  - spec/osgi/resolving_strategies_spec.rb
85
94
  - spec/osgi/version_spec.rb
86
95
  - spec/spec_helpers.rb
87
- - spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.jar
88
- - spec/tmp/remote/eclipse/org.eclipse.debug.ui/3.4.1.v20080811_r341/org.eclipse.debug.ui-3.4.1.v20080811_r341.pom
89
- - spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.jar
90
- - spec/tmp/remote/log4j/log4j/1.2.15/log4j-1.2.15.pom
91
- - spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8-sources.jar
92
- - spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.jar
93
- - spec/tmp/remote/org/slf4j/jcl104-over-slf4j/1.5.8/jcl104-over-slf4j-1.5.8.pom
94
- - spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8-sources.jar
95
- - spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar
96
- - spec/tmp/remote/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom
97
- - spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8-sources.jar
98
- - spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar
99
- - spec/tmp/remote/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.pom
100
96
  - buildr4osgi.gemspec
101
97
  - LICENSE
102
98
  - NOTICE
@@ -1,82 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Generated by PomWritr v.0.1.2 -->
3
- <project>
4
- <modelVersion>4.0.0</modelVersion>
5
- <groupId>eclipse</groupId>
6
- <artifactId>org.eclipse.debug.ui</artifactId>
7
- <version>3.4.1.v20080811_r341</version>
8
- <dependencies>
9
- <dependency>
10
- <groupId>eclipse</groupId>
11
- <artifactId>org.eclipse.ui.editors</artifactId>
12
- <version>3.4.0.v20080603-2000</version>
13
- <type>osgi-bundle</type>
14
- </dependency>
15
- <dependency>
16
- <groupId>eclipse</groupId>
17
- <artifactId>org.eclipse.ui.workbench.texteditor</artifactId>
18
- <version>3.4.1.r341_v20080827-1100</version>
19
- <type>osgi-bundle</type>
20
- </dependency>
21
- <dependency>
22
- <groupId>eclipse</groupId>
23
- <artifactId>org.eclipse.ui.ide</artifactId>
24
- <version>3.4.1.M20080903-2000</version>
25
- <type>osgi-bundle</type>
26
- </dependency>
27
- <dependency>
28
- <groupId>eclipse</groupId>
29
- <artifactId>org.eclipse.ui.console</artifactId>
30
- <version>3.3.0.v20080529-1300</version>
31
- <type>osgi-bundle</type>
32
- </dependency>
33
- <dependency>
34
- <groupId>eclipse</groupId>
35
- <artifactId>org.eclipse.core.runtime</artifactId>
36
- <version>3.4.0.v20080512</version>
37
- <type>osgi-bundle</type>
38
- </dependency>
39
- <dependency>
40
- <groupId>eclipse</groupId>
41
- <artifactId>org.eclipse.debug.core</artifactId>
42
- <version>3.4.0.v20080612</version>
43
- <type>osgi-bundle</type>
44
- </dependency>
45
- <dependency>
46
- <groupId>eclipse</groupId>
47
- <artifactId>org.eclipse.ui</artifactId>
48
- <version>3.4.1.M20080910-0800</version>
49
- <type>osgi-bundle</type>
50
- </dependency>
51
- <dependency>
52
- <groupId>eclipse</groupId>
53
- <artifactId>org.eclipse.help</artifactId>
54
- <version>3.3.101.v20080702_34x</version>
55
- <type>osgi-bundle</type>
56
- </dependency>
57
- <dependency>
58
- <groupId>eclipse</groupId>
59
- <artifactId>org.eclipse.core.variables</artifactId>
60
- <version>3.2.100.v20080529-1300</version>
61
- <type>osgi-bundle</type>
62
- </dependency>
63
- <dependency>
64
- <groupId>eclipse</groupId>
65
- <artifactId>org.eclipse.core.expressions</artifactId>
66
- <version>3.4.0.v20080603-2000</version>
67
- <type>osgi-bundle</type>
68
- </dependency>
69
- <dependency>
70
- <groupId>eclipse</groupId>
71
- <artifactId>org.eclipse.core.filesystem</artifactId>
72
- <version>1.2.0.v20080604-1400</version>
73
- <type>osgi-bundle</type>
74
- </dependency>
75
- <dependency>
76
- <groupId>eclipse</groupId>
77
- <artifactId>org.eclipse.jface.text</artifactId>
78
- <version>3.4.1.r341_v20080827-1100</version>
79
- <type>osgi-bundle</type>
80
- </dependency>
81
- </dependencies>
82
- </project>
@@ -1,478 +0,0 @@
1
- <!--
2
- Licensed to the Apache Software Foundation (ASF) under one or more
3
- contributor license agreements. See the NOTICE file distributed with
4
- this work for additional information regarding copyright ownership.
5
- The ASF licenses this file to You under the Apache License, Version 2.0
6
- (the "License"); you may not use this file except in compliance with
7
- the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
- distributed under the License is distributed on an "AS IS" BASIS,
13
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- See the License for the specific language governing permissions and
15
- limitations under the License.
16
-
17
- -->
18
- <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">
19
- <modelVersion>4.0.0</modelVersion>
20
- <groupId>log4j</groupId>
21
- <artifactId>log4j</artifactId>
22
- <packaging>jar</packaging>
23
- <name>Apache Log4j</name>
24
- <version>1.2.15</version>
25
- <properties>
26
- <currentVersion>1.2.15</currentVersion>
27
- </properties>
28
- <description>Apache Log4j 1.2</description>
29
- <url>http://logging.apache.org:80/log4j/1.2/</url>
30
- <issueManagement>
31
- <system>Bugzilla</system>
32
- <url>http://issues.apache.org/bugzilla/</url>
33
- </issueManagement>
34
- <ciManagement>
35
- <system>Gump</system>
36
- <url>http://vmgump.apache.org/gump/public/logging-log4j-12/logging-log4j-12/index.html</url>
37
- </ciManagement>
38
- <inceptionYear>1999</inceptionYear>
39
- <mailingLists>
40
- <mailingList>
41
- <name>log4j-user</name>
42
- <subscribe>log4j-user-subscribe@logging.apache.org</subscribe>
43
- <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe>
44
- <post>log4j-user@logging.apache.org</post>
45
- <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
46
- <otherArchives>
47
- <otherArchive>http://marc.info/?l=log4j-user</otherArchive>
48
- <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive>
49
- </otherArchives>
50
- </mailingList>
51
- <mailingList>
52
- <name>log4j-dev</name>
53
- <subscribe>log4j-dev-subscribe@logging.apache.org</subscribe>
54
- <unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe>
55
- <post>log4j-dev@logging.apache.org</post>
56
- <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
57
- <otherArchives>
58
- <otherArchive>http://marc.info/?l=log4j-dev</otherArchive>
59
- <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive>
60
- </otherArchives>
61
- </mailingList>
62
- </mailingLists>
63
- <licenses>
64
- <license>
65
- <name>The Apache Software License, Version 2.0</name>
66
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
67
- <distribution>repo</distribution>
68
- </license>
69
- </licenses>
70
- <scm>
71
- <connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_15_rc6</connection>
72
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_15_rc6</developerConnection>
73
- <url>http://svn.apache.org/viewcvs.cgi/logging/log4j/tags/v1_2_15_rc6</url>
74
- </scm>
75
- <organization>
76
- <name>Apache Software Foundation</name>
77
- <url>http://www.apache.org</url>
78
- </organization>
79
- <build>
80
- <plugins>
81
- <plugin>
82
- <artifactId>maven-surefire-plugin</artifactId>
83
- <configuration>
84
- <workingDirectory>tests</workingDirectory>
85
- <reportFormat>plain</reportFormat>
86
- <forkMode>pertest</forkMode>
87
- <skip>true</skip>
88
- <includes>
89
- <include>org/apache/log4j/LevelTest.java</include>
90
- <include>org/apache/log4j/PriorityTest.java</include>
91
- <include>org/apache/log4j/CategoryTest.java</include>
92
- <include>org/apache/log4j/FileAppenderTest.java</include>
93
- <include>org/apache/log4j/LogManagerTest.java</include>
94
- <include>org/apache/log4j/helpers.LogLogTest.java</include>
95
- <include>org/apache/log4j/LayoutTest.java</include>
96
- <include>org/apache/log4j/helpers.DateLayoutTest.java</include>
97
- <include>org/apache/log4j/TTCCLayoutTest.java</include>
98
- <include>org/apache/log4j/xml.XMLLayoutTest.java</include>
99
- <include>org/apache/log4j/HTMLLayoutTest.java</include>
100
- <include>org/apache/log4j/PatternLayoutTest.java</include>
101
- <include>org/apache/log4j/spi.LoggingEventTest.java</include>
102
- <include>org/apache/log4j/spi.ThrowableInformationTest.java</include>
103
- <include>org/apache/log4j/spi.LocationInfoTest.java</include>
104
- <include>org/apache/log4j/PropertyConfiguratorTest.java</include>
105
- <include>org/apache/log4j/MinimumTestCase.java</include>
106
- <include>org/apache/log4j/LoggerTestCase.java</include>
107
- <include>org/apache/log4j/PatternLayoutTestCase.java</include>
108
- <include>org/apache/log4j/HierarchyThresholdTestCase.java</include>
109
- <include>org/apache/log4j/xml/DOMTestCase.java</include>
110
- <include>org/apache/log4j/xml/CustomLevelTestCase.java</include>
111
- <include>org/apache/log4j/customLogger/XLoggerTestCase.java</include>
112
- <!-- DefaultInit -->
113
- <!-- SocketServer -->
114
- <include>org/apache/log4j/xml/XMLLayoutTestCase.java</include>
115
- <include>org/apache/log4j/xml/AsyncAppenderTestCase.java</include>
116
- <include>org/apache/log4j/varia/LevelMatchFilterTestCase.java</include>
117
-
118
- <!-- ErrorHandlerTestCase is not run in Ant build either
119
- <include>org/apache/log4j/varia/ErrorHandlerTestCase.java</include>
120
- -->
121
- <!-- include>org/apache/log4j/helpers/OptionConverterTestCase.java</include -->
122
- <include>org/apache/log4j/helpers/BoundedFIFOTestCase.java</include>
123
- <include>org/apache/log4j/helpers/CyclicBufferTestCase.java</include>
124
- <include>org/apache/log4j/helpers/PatternParserTestCase.java</include>
125
- <include>org/apache/log4j/or/ORTestCase.java</include>
126
- <include>org/apache/log4j/DRFATestCase.java</include>
127
- <include>org/apache/log4j/RFATestCase.java</include>
128
- <include>org/apache/log4j/varia/ERFATestCase.java</include>
129
- <include>org/apache/log4j/net/SyslogAppenderTest</include>
130
- <include>org/apache/log4j/nt/NTEventLogAppenderTest</include>
131
- <include>org/apache/log4j/net/SocketAppenderTest</include>
132
- </includes>
133
- </configuration>
134
- </plugin>
135
- <plugin>
136
- <artifactId>maven-compiler-plugin</artifactId>
137
- <configuration>
138
- <source>1.2</source>
139
- <target>1.1</target>
140
- </configuration>
141
- </plugin>
142
- <plugin>
143
- <artifactId>maven-jar-plugin</artifactId>
144
- <configuration>
145
- <archive>
146
- <manifestSections>
147
- <manifestSection>
148
- <name>org.apache.log4j</name>
149
- <manifestEntries>
150
- <Implementation-Title>log4j</Implementation-Title>
151
- <Implementation-Version>${project.version}</Implementation-Version>
152
- <Implementation-Vendor>"Apache Software Foundation"</Implementation-Vendor>
153
- </manifestEntries>
154
- </manifestSection>
155
- </manifestSections>
156
- </archive>
157
- </configuration>
158
- </plugin>
159
- <plugin>
160
- <artifactId>maven-antrun-plugin</artifactId>
161
- <executions>
162
- <!-- generate NTEventLogAppender.dll -->
163
- <execution>
164
- <phase>process-classes</phase>
165
- <id>ntdll</id>
166
- <configuration>
167
- <tasks>
168
- <ant antfile="src/ntdll/build.xml">
169
- <property name="target.dir" location="target" />
170
- <property name="classes.dir" location="target/classes" />
171
- <property name="src.dir" location="src/ntdll" />
172
- <property name="jni.include.dir" location="${java.home}/../include" />
173
- </ant>
174
- </tasks>
175
- </configuration>
176
- <goals>
177
- <goal>run</goal>
178
- </goals>
179
- </execution>
180
- <!-- create tests/output prior to test run -->
181
- <execution>
182
- <phase>test-compile</phase>
183
- <id>mkdir_tests_output</id>
184
- <configuration>
185
- <tasks>
186
- <mkdir dir="tests/output" />
187
- </tasks>
188
- </configuration>
189
- <goals>
190
- <goal>run</goal>
191
- </goals>
192
- </execution>
193
- <execution>
194
- <phase>clean</phase>
195
- <id>rmdir_tests_output</id>
196
- <configuration>
197
- <tasks>
198
- <delete dir="tests/output" />
199
- </tasks>
200
- </configuration>
201
- <goals>
202
- <goal>run</goal>
203
- </goals>
204
- </execution>
205
- <execution>
206
- <phase>test</phase>
207
- <id>runAll</id>
208
- <configuration>
209
- <tasks>
210
- <ant dir="tests" target="runAll">
211
- <property name="junit.jar" location="${user.home}/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar" />
212
- <property name="jakarta.oro.jar" location="${user.home}/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar" />
213
- <property name="javamail.jar" location="${user.home}/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar" />
214
- <property name="activation.jar" location="${user.home}/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar" />
215
- <property name="log4j.jar" location="target/classes" />
216
- <property name="project.lib.home" location="target" />
217
- </ant>
218
- </tasks>
219
- </configuration>
220
- <goals>
221
- <goal>run</goal>
222
- </goals>
223
- </execution>
224
- <!-- release builds will put SVN tags into the SCM page, this changes it back to a branch -->
225
- <execution>
226
- <phase>site</phase>
227
- <id>untag-site</id>
228
- <configuration>
229
- <tasks>
230
- <taskdef name="replaceregexp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp" />
231
- <replaceregexp file="target/site/source-repository.html" match="/tags/[^ ]*" replace="/trunk" flags="g" />
232
- <replaceregexp match="-- Generated by (.*) on .*--" replace="-- Generated by \1 --" flags="g">
233
- <fileset dir="target/site/apidocs" includes="**/*.html" />
234
- </replaceregexp>
235
- </tasks>
236
- </configuration>
237
- <goals>
238
- <goal>run</goal>
239
- </goals>
240
- </execution>
241
- <execution>
242
- <phase>post-site</phase>
243
- <id>post-site</id>
244
- <configuration>
245
- <tasks>
246
- <ant target="post-site" />
247
- </tasks>
248
- </configuration>
249
- <goals>
250
- <goal>run</goal>
251
- </goals>
252
- </execution>
253
- <execution>
254
- <phase>site-deploy</phase>
255
- <id>site-deploy</id>
256
- <configuration>
257
- <tasks>
258
- <ant target="site-deploy" />
259
- </tasks>
260
- </configuration>
261
- <goals>
262
- <goal>run</goal>
263
- </goals>
264
- </execution>
265
- </executions>
266
- <dependencies>
267
- <dependency>
268
- <groupId>ant</groupId>
269
- <artifactId>ant-nodeps</artifactId>
270
- <version>1.6.5</version>
271
- </dependency>
272
- <dependency>
273
- <groupId>ant-contrib</groupId>
274
- <artifactId>ant-contrib</artifactId>
275
- <version>1.0b2</version>
276
- </dependency>
277
- <dependency>
278
- <groupId>ant</groupId>
279
- <artifactId>ant-junit</artifactId>
280
- <version>1.6.5</version>
281
- </dependency>
282
- <dependency>
283
- <groupId>junit</groupId>
284
- <artifactId>junit</artifactId>
285
- <version>3.8.1</version>
286
- <scope>test</scope>
287
- </dependency>
288
- <dependency>
289
- <groupId>sun.jdk</groupId>
290
- <artifactId>tools</artifactId>
291
- <version>1.4.2</version>
292
- <scope>system</scope>
293
- <systemPath>${tools.jar}</systemPath>
294
- </dependency>
295
- </dependencies>
296
- </plugin>
297
- <plugin>
298
- <artifactId>maven-assembly-plugin</artifactId>
299
- <configuration>
300
- <descriptors>
301
- <descriptor>src/assembly/bin.xml</descriptor>
302
- </descriptors>
303
- <appendAssemblyId>false</appendAssemblyId>
304
- </configuration>
305
- <executions>
306
- <execution>
307
- <goals>
308
- <goal>assembly</goal>
309
- </goals>
310
- </execution>
311
- </executions>
312
- </plugin>
313
- <plugin>
314
- <artifactId>maven-javadoc-plugin</artifactId>
315
- <executions>
316
- <execution>
317
- <goals>
318
- <goal>jar</goal>
319
- <goal>javadoc</goal>
320
- </goals>
321
- </execution>
322
- </executions>
323
- </plugin>
324
- <plugin>
325
- <artifactId>maven-source-plugin</artifactId>
326
- <executions>
327
- <execution>
328
- <goals>
329
- <goal>jar</goal>
330
- </goals>
331
- </execution>
332
- </executions>
333
- </plugin>
334
- <!--
335
- clirr:check will fail with NullPointerException
336
- due to missing javax.jms.MessageListener,
337
- however it will trigger download of supporting components
338
- which can allow "ant clirr" to succeed.
339
- Could possibly run on a JavaEE platform.
340
- -->
341
- <plugin>
342
- <groupId>org.codehaus.mojo</groupId>
343
- <artifactId>clirr-maven-plugin</artifactId>
344
- <configuration>
345
- <comparisonVersion>1.2.14</comparisonVersion>
346
- </configuration>
347
- </plugin>
348
- <plugin>
349
- <groupId>org.codehaus.mojo</groupId>
350
- <artifactId>rat-maven-plugin</artifactId>
351
- </plugin>
352
- </plugins>
353
- <testSourceDirectory>tests/src/java</testSourceDirectory>
354
- <testResources>
355
- <testResource>
356
- <directory>tests/resources</directory>
357
- </testResource>
358
- </testResources>
359
- </build>
360
- <profiles>
361
- <profile>
362
- <id>mac</id>
363
- <activation>
364
- <os><family>mac</family></os>
365
- </activation>
366
- <properties>
367
- <tools.jar>${java.home}/../Classes/classes.jar</tools.jar>
368
- </properties>
369
- </profile>
370
- <profile>
371
- <id>default</id>
372
- <activation>
373
- <activeByDefault>true</activeByDefault>
374
- </activation>
375
- <properties>
376
- <tools.jar>${java.home}/../lib/tools.jar</tools.jar>
377
- </properties>
378
- </profile>
379
- </profiles>
380
- <repositories>
381
- <repository>
382
- <id>java.net</id>
383
- <url>https://maven-repository.dev.java.net/nonav/repository</url>
384
- <layout>legacy</layout>
385
- </repository>
386
- </repositories>
387
- <dependencies>
388
- <dependency>
389
- <groupId>javax.mail</groupId>
390
- <artifactId>mail</artifactId>
391
- <version>1.4</version>
392
- </dependency>
393
- <dependency>
394
- <groupId>javax.jms</groupId>
395
- <artifactId>jms</artifactId>
396
- <version>1.1</version>
397
- </dependency>
398
- <dependency>
399
- <groupId>com.sun.jdmk</groupId>
400
- <artifactId>jmxtools</artifactId>
401
- <version>1.2.1</version>
402
- </dependency>
403
- <dependency>
404
- <groupId>com.sun.jmx</groupId>
405
- <artifactId>jmxri</artifactId>
406
- <version>1.2.1</version>
407
- </dependency>
408
- <dependency>
409
- <groupId>oro</groupId>
410
- <artifactId>oro</artifactId>
411
- <version>2.0.8</version>
412
- <scope>test</scope>
413
- </dependency>
414
- <dependency>
415
- <groupId>junit</groupId>
416
- <artifactId>junit</artifactId>
417
- <version>3.8.1</version>
418
- <scope>test</scope>
419
- </dependency>
420
- </dependencies>
421
- <reporting>
422
- <excludeDefaults>true</excludeDefaults>
423
- <plugins>
424
- <plugin>
425
- <artifactId>maven-project-info-reports-plugin</artifactId>
426
- <reportSets>
427
- <reportSet>
428
- <reports>
429
- <report>scm</report>
430
- <report>dependencies</report>
431
- <report>cim</report>
432
- <report>issue-tracking</report>
433
- <report>mailing-list</report>
434
- <report>license</report>
435
- </reports>
436
- </reportSet>
437
- </reportSets>
438
- </plugin>
439
- <plugin>
440
- <groupId>org.codehaus.mojo</groupId>
441
- <artifactId>jxr-maven-plugin</artifactId>
442
- </plugin>
443
- <plugin>
444
- <artifactId>maven-release-plugin</artifactId>
445
- <!--
446
- Bug MRELEASE273 has been throwing NPE during release:perform,
447
- typically after deploy so this places it last.
448
- -->
449
- <configuration>
450
- <goals>test site-deploy assembly:attached deploy</goals>
451
- </configuration>
452
- </plugin>
453
- <plugin>
454
- <artifactId>maven-changes-plugin</artifactId>
455
- <reportSets>
456
- <reportSet>
457
- <reports>
458
- <report>changes-report</report>
459
- </reports>
460
- </reportSet>
461
- </reportSets>
462
- <configuration>
463
- <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
464
- </configuration>
465
- </plugin>
466
- </plugins>
467
- </reporting>
468
- <distributionManagement>
469
- <repository>
470
- <id>logging.repo</id>
471
- <url>scp://people.apache.org/www/people.apache.org/builds/logging/repo/</url>
472
- </repository>
473
- <site>
474
- <id>logging.site</id>
475
- <url>scp://localhost/${user.dir}/target/site-deploy</url>
476
- </site>
477
- </distributionManagement>
478
- </project>