pompompom 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +11 -0
- data/LICENSE +20 -0
- data/README.mdown +32 -0
- data/Rakefile +7 -0
- data/TODO +0 -0
- data/bin/pompompom +17 -0
- data/lib/pom_pom_pom.rb +1 -0
- data/lib/pompompom/cli.rb +87 -0
- data/lib/pompompom/dependency.rb +55 -0
- data/lib/pompompom/downloader.rb +15 -0
- data/lib/pompompom/metadata.rb +26 -0
- data/lib/pompompom/pom.rb +234 -0
- data/lib/pompompom/resolver.rb +149 -0
- data/lib/pompompom/url_builder.rb +37 -0
- data/lib/pompompom.rb +10 -0
- data/pompompom.gemspec +116 -0
- data/spec/pompompom/cli_spec.rb +93 -0
- data/spec/pompompom/dependency_spec.rb +144 -0
- data/spec/pompompom/metadata_spec.rb +38 -0
- data/spec/pompompom/pom_spec.rb +221 -0
- data/spec/pompompom/resolver_spec.rb +205 -0
- data/spec/pompompom/url_builders_shared.rb +33 -0
- data/spec/resources/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar +0 -0
- data/spec/resources/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.pom +15 -0
- data/spec/resources/repository/aopalliance/aopalliance/maven-metadata.xml +5 -0
- data/spec/resources/repository/com/example/test/8.8/test-8.8.jar +0 -0
- data/spec/resources/repository/com/example/test/8.8/test-8.8.pom +11 -0
- data/spec/resources/repository/com/example/test/9.9/test-9.9.jar +0 -0
- data/spec/resources/repository/com/example/test/9.9/test-9.9.pom +11 -0
- data/spec/resources/repository/com/example/test/maven-metadata.xml +11 -0
- data/spec/resources/repository/com/example/test-abc/1.0/test-abc-1.0.jar +0 -0
- data/spec/resources/repository/com/example/test-abc/1.0/test-abc-1.0.pom +19 -0
- data/spec/resources/repository/com/example/test-abc/maven-metadata.xml +13 -0
- data/spec/resources/repository/com/example/test-child/1.0/test-child-1.0.pom +16 -0
- data/spec/resources/repository/com/example/test-def/1.0/test-def-1.0.jar +0 -0
- data/spec/resources/repository/com/example/test-def/1.0/test-def-1.0.pom +19 -0
- data/spec/resources/repository/com/example/test-exclusions/1.0/test-exclusions-1.0.jar +1 -0
- data/spec/resources/repository/com/example/test-exclusions/1.0/test-exclusions-1.0.pom +25 -0
- data/spec/resources/repository/com/example/test-optional/1.0/test-optional-1.0.jar +1 -0
- data/spec/resources/repository/com/example/test-optional/1.0/test-optional-1.0.pom +20 -0
- data/spec/resources/repository/com/example/test-parent/1.0/test-parent-1.0.pom +16 -0
- data/spec/resources/repository/com/google/google/1/google-1.pom +37 -0
- data/spec/resources/repository/com/google/inject/guice/2.0/guice-2.0.jar +1 -0
- data/spec/resources/repository/com/google/inject/guice/2.0/guice-2.0.pom +20 -0
- data/spec/resources/repository/com/google/inject/guice-parent/2.0/guice-parent-2.0.pom +70 -0
- data/spec/resources/repository/com/rabbitmq/amqp-client/1.8.0/amqp-client-1.8.0.jar +1 -0
- data/spec/resources/repository/com/rabbitmq/amqp-client/1.8.0/amqp-client-1.8.0.pom +98 -0
- data/spec/resources/repository/commons-cli/commons-cli/1.1/commons-cli-1.1.jar +1 -0
- data/spec/resources/repository/commons-cli/commons-cli/1.1/commons-cli-1.1.pom +165 -0
- data/spec/resources/repository/commons-io/commons-io/1.2/commons-io-1.2.jar +1 -0
- data/spec/resources/repository/commons-io/commons-io/1.2/commons-io-1.2.pom +235 -0
- data/spec/resources/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar +0 -0
- data/spec/resources/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom +6 -0
- data/spec/resources/repository/net/iconara/pompompom/1.0/pompompom-1.0.jar +0 -0
- data/spec/resources/repository/net/iconara/pompompom/1.0/pompompom-1.0.pom +11 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-continuation/7.1.4.v20100610/jetty-continuation-7.1.4.v20100610.pom +73 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-http/7.1.4.v20100610/jetty-http-7.1.4.v20100610.pom +73 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-io/7.1.4.v20100610/jetty-io-7.1.4.v20100610.pom +62 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-parent/15/jetty-parent-15.pom +419 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-project/7.1.4.v20100610/jetty-project-7.1.4.v20100610.pom +368 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-server/7.1.4.v20100610/jetty-server-7.1.4.v20100610.jar +0 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-server/7.1.4.v20100610/jetty-server-7.1.4.v20100610.pom +101 -0
- data/spec/resources/repository/org/eclipse/jetty/jetty-util/7.1.4.v20100610/jetty-util-7.1.4.v20100610.pom +80 -0
- data/spec/spec_helper.rb +5 -0
- data/tasks/gem.rake +18 -0
- data/tasks/rdoc.rake +13 -0
- data/tasks/spec.rake +17 -0
- metadata +142 -0
@@ -0,0 +1,368 @@
|
|
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
|
+
<modelVersion>4.0.0</modelVersion>
|
3
|
+
<parent>
|
4
|
+
<groupId>org.eclipse.jetty</groupId>
|
5
|
+
<artifactId>jetty-parent</artifactId>
|
6
|
+
<version>15</version>
|
7
|
+
</parent>
|
8
|
+
<groupId>org.eclipse.jetty</groupId>
|
9
|
+
<artifactId>jetty-project</artifactId>
|
10
|
+
<version>7.1.4.v20100610</version>
|
11
|
+
<name>Jetty :: Project</name>
|
12
|
+
<url>${jetty.url}</url>
|
13
|
+
<packaging>pom</packaging>
|
14
|
+
<properties>
|
15
|
+
<felix.bundle.version>2.0.0</felix.bundle.version>
|
16
|
+
<javax-activation-version>1.1</javax-activation-version>
|
17
|
+
<javax-mail-version>1.4.1</javax-mail-version>
|
18
|
+
<javax-servlet-jsp-version>2.1.v20100127</javax-servlet-jsp-version>
|
19
|
+
<javax-transaction-version>1.1.1</javax-transaction-version>
|
20
|
+
<jetty.url>http://www.eclipse.org/jetty</jetty.url>
|
21
|
+
<junit-version>3.8.2</junit-version>
|
22
|
+
<junit4-version>4.8.1</junit4-version>
|
23
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
24
|
+
<slf4j-version>1.5.10</slf4j-version>
|
25
|
+
<build-support-version>1.0</build-support-version>
|
26
|
+
</properties>
|
27
|
+
<scm>
|
28
|
+
<connection>scm:svn:http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/tags/jetty-7.1.4.v20100610</connection>
|
29
|
+
<developerConnection>scm:svn:svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/tags/jetty-7.1.4.v20100610</developerConnection>
|
30
|
+
<url>http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/tags/jetty-7.1.4.v20100610</url>
|
31
|
+
</scm>
|
32
|
+
<build>
|
33
|
+
<defaultGoal>install</defaultGoal>
|
34
|
+
<plugins>
|
35
|
+
<plugin>
|
36
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
37
|
+
<configuration>
|
38
|
+
<source>1.5</source>
|
39
|
+
<target>1.5</target>
|
40
|
+
<verbose>false</verbose>
|
41
|
+
</configuration>
|
42
|
+
</plugin>
|
43
|
+
<plugin>
|
44
|
+
<artifactId>maven-release-plugin</artifactId>
|
45
|
+
<configuration>
|
46
|
+
<tagBase>svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/tags</tagBase>
|
47
|
+
<autoVersionSubmodules>true</autoVersionSubmodules>
|
48
|
+
</configuration>
|
49
|
+
</plugin>
|
50
|
+
<plugin>
|
51
|
+
<groupId>org.apache.maven.plugins</groupId>
|
52
|
+
<artifactId>maven-remote-resources-plugin</artifactId>
|
53
|
+
<executions>
|
54
|
+
<execution>
|
55
|
+
<phase>generate-resources</phase>
|
56
|
+
<goals>
|
57
|
+
<goal>process</goal>
|
58
|
+
</goals>
|
59
|
+
<configuration>
|
60
|
+
<resourceBundles>
|
61
|
+
<resourceBundle>org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.0</resourceBundle>
|
62
|
+
</resourceBundles>
|
63
|
+
</configuration>
|
64
|
+
</execution>
|
65
|
+
</executions>
|
66
|
+
</plugin>
|
67
|
+
<!-- source maven plugin creates the source bundle and adds manifest -->
|
68
|
+
<plugin>
|
69
|
+
<inherited>true</inherited>
|
70
|
+
<groupId>org.apache.maven.plugins</groupId>
|
71
|
+
<artifactId>maven-source-plugin</artifactId>
|
72
|
+
<version>2.1.1</version>
|
73
|
+
<executions>
|
74
|
+
<execution>
|
75
|
+
<id>attach-sources</id>
|
76
|
+
<phase>process-classes</phase>
|
77
|
+
<goals>
|
78
|
+
<goal>jar</goal>
|
79
|
+
</goals>
|
80
|
+
<configuration>
|
81
|
+
<archive>
|
82
|
+
<manifestEntries>
|
83
|
+
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
84
|
+
<Bundle-Name>${project.name}</Bundle-Name>
|
85
|
+
<Bundle-SymbolicName>${bundle-symbolic-name}.source;singleton:=true</Bundle-SymbolicName>
|
86
|
+
<Bundle-Vendor>Eclipse.org - Jetty</Bundle-Vendor>
|
87
|
+
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
88
|
+
<Eclipse-SourceBundle>${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle>
|
89
|
+
</manifestEntries>
|
90
|
+
</archive>
|
91
|
+
</configuration>
|
92
|
+
</execution>
|
93
|
+
</executions>
|
94
|
+
</plugin>
|
95
|
+
<!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
|
96
|
+
<plugin>
|
97
|
+
<groupId>org.codehaus.mojo</groupId>
|
98
|
+
<artifactId>build-helper-maven-plugin</artifactId>
|
99
|
+
<version>1.5</version>
|
100
|
+
<executions>
|
101
|
+
<execution>
|
102
|
+
<id>set-osgi-version</id>
|
103
|
+
<phase>validate</phase>
|
104
|
+
<goals>
|
105
|
+
<goal>parse-version</goal>
|
106
|
+
</goals>
|
107
|
+
</execution>
|
108
|
+
</executions>
|
109
|
+
</plugin>
|
110
|
+
<!-- Enforcer Plugin -->
|
111
|
+
<plugin>
|
112
|
+
<groupId>org.apache.maven.plugins</groupId>
|
113
|
+
<artifactId>maven-enforcer-plugin</artifactId>
|
114
|
+
<version>1.0-alpha-4</version>
|
115
|
+
<executions>
|
116
|
+
<execution>
|
117
|
+
<id>enforce-java</id>
|
118
|
+
<goals>
|
119
|
+
<goal>enforce</goal>
|
120
|
+
</goals>
|
121
|
+
<configuration>
|
122
|
+
<rules>
|
123
|
+
<requireMavenVersion>
|
124
|
+
<version>[2.0.6,)</version>
|
125
|
+
</requireMavenVersion>
|
126
|
+
<requireJavaVersion>
|
127
|
+
<version>[1.5,)</version>
|
128
|
+
</requireJavaVersion>
|
129
|
+
<versionTxtRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.VersionTxtRule" />
|
130
|
+
<versionOsgiRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireOsgiCompatibleVersionRule" />
|
131
|
+
<versionRedhatRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireRedhatCompatibleVersionRule" />
|
132
|
+
<versionDebianRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireDebianCompatibleVersionRule" />
|
133
|
+
</rules>
|
134
|
+
</configuration>
|
135
|
+
</execution>
|
136
|
+
</executions>
|
137
|
+
<dependencies>
|
138
|
+
<dependency>
|
139
|
+
<groupId>org.eclipse.jetty.toolchain</groupId>
|
140
|
+
<artifactId>jetty-build-support</artifactId>
|
141
|
+
<version>${build-support-version}</version>
|
142
|
+
</dependency>
|
143
|
+
</dependencies>
|
144
|
+
</plugin>
|
145
|
+
</plugins>
|
146
|
+
<pluginManagement>
|
147
|
+
<plugins>
|
148
|
+
<plugin>
|
149
|
+
<groupId>org.apache.maven.plugins</groupId>
|
150
|
+
<artifactId>maven-jar-plugin</artifactId>
|
151
|
+
<configuration>
|
152
|
+
<archive>
|
153
|
+
<manifestEntries>
|
154
|
+
<Implementation-Version>${project.version}</Implementation-Version>
|
155
|
+
<Implementation-Vendor>Eclipse.org - Jetty</Implementation-Vendor>
|
156
|
+
<url>${jetty.url}</url>
|
157
|
+
</manifestEntries>
|
158
|
+
</archive>
|
159
|
+
</configuration>
|
160
|
+
</plugin>
|
161
|
+
<plugin>
|
162
|
+
<groupId>org.apache.maven.plugins</groupId>
|
163
|
+
<artifactId>maven-surefire-plugin</artifactId>
|
164
|
+
<version>2.4.2</version>
|
165
|
+
<configuration>
|
166
|
+
<failIfNoTests>false</failIfNoTests>
|
167
|
+
</configuration>
|
168
|
+
</plugin>
|
169
|
+
<plugin>
|
170
|
+
<groupId>org.apache.felix</groupId>
|
171
|
+
<artifactId>maven-bundle-plugin</artifactId>
|
172
|
+
<version>2.0.0</version>
|
173
|
+
<extensions>true</extensions>
|
174
|
+
<configuration>
|
175
|
+
<instructions>
|
176
|
+
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
|
177
|
+
<Bundle-DocURL>${jetty.url}</Bundle-DocURL>
|
178
|
+
<Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor>
|
179
|
+
<Bundle-Localization>plugin</Bundle-Localization>
|
180
|
+
<Bundle-Classpath>.</Bundle-Classpath>
|
181
|
+
<Bundle-Copyright>Copyright (c) 2008-2009 Mort Bay Consulting Pty. Ltd.</Bundle-Copyright>
|
182
|
+
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
|
183
|
+
</instructions>
|
184
|
+
</configuration>
|
185
|
+
</plugin>
|
186
|
+
<plugin>
|
187
|
+
<groupId>org.apache.maven.plugins</groupId>
|
188
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
189
|
+
<version>2.2-beta-5</version>
|
190
|
+
<dependencies>
|
191
|
+
<dependency>
|
192
|
+
<groupId>org.eclipse.jetty.toolchain</groupId>
|
193
|
+
<artifactId>jetty-assembly-descriptors</artifactId>
|
194
|
+
<version>1.0</version>
|
195
|
+
</dependency>
|
196
|
+
</dependencies>
|
197
|
+
</plugin>
|
198
|
+
<plugin>
|
199
|
+
<groupId>org.apache.maven.plugins</groupId>
|
200
|
+
<artifactId>maven-pmd-plugin</artifactId>
|
201
|
+
<version>2.5</version>
|
202
|
+
<configuration>
|
203
|
+
<targetJdk>1.5</targetJdk>
|
204
|
+
<rulesets>
|
205
|
+
<ruleset>jetty/pmd_ruleset.xml</ruleset>
|
206
|
+
</rulesets>
|
207
|
+
</configuration>
|
208
|
+
<dependencies>
|
209
|
+
<dependency>
|
210
|
+
<groupId>org.eclipse.jetty.toolchain</groupId>
|
211
|
+
<artifactId>jetty-build-support</artifactId>
|
212
|
+
<version>${build-support-version}</version>
|
213
|
+
</dependency>
|
214
|
+
</dependencies>
|
215
|
+
</plugin>
|
216
|
+
<plugin>
|
217
|
+
<groupId>org.codehaus.mojo</groupId>
|
218
|
+
<artifactId>findbugs-maven-plugin</artifactId>
|
219
|
+
<version>2.3.1</version>
|
220
|
+
<configuration>
|
221
|
+
<findbugsXmlOutput>true</findbugsXmlOutput>
|
222
|
+
<xmlOutput>true</xmlOutput>
|
223
|
+
<effort>Max</effort>
|
224
|
+
<onlyAnalyze>org.eclipse.jetty.*</onlyAnalyze>
|
225
|
+
</configuration>
|
226
|
+
</plugin>
|
227
|
+
</plugins>
|
228
|
+
</pluginManagement>
|
229
|
+
</build>
|
230
|
+
<!--
|
231
|
+
<repositories>
|
232
|
+
<repository>
|
233
|
+
<snapshots>
|
234
|
+
<enabled>true</enabled>
|
235
|
+
</snapshots>
|
236
|
+
<id>sonatype-snapshots</id>
|
237
|
+
<name>Sonatype Jetty Snapshots</name>
|
238
|
+
<url>http://oss.sonatype.org/content/groups/jetty</url>
|
239
|
+
</repository>
|
240
|
+
</repositories>
|
241
|
+
-->
|
242
|
+
<modules>
|
243
|
+
<module>jetty-util</module>
|
244
|
+
<module>jetty-io</module>
|
245
|
+
<module>jetty-http</module>
|
246
|
+
<module>jetty-websocket</module>
|
247
|
+
<module>jetty-continuation</module>
|
248
|
+
<module>jetty-server</module>
|
249
|
+
<module>jetty-client</module>
|
250
|
+
<module>jetty-xml</module>
|
251
|
+
<module>jetty-security</module>
|
252
|
+
<module>jetty-jaspi</module>
|
253
|
+
<module>jetty-servlet</module>
|
254
|
+
<module>jetty-webapp</module>
|
255
|
+
<module>jetty-servlets</module>
|
256
|
+
<module>jetty-jsp-2.1</module>
|
257
|
+
<module>jetty-deploy</module>
|
258
|
+
<module>jetty-ajp</module>
|
259
|
+
<module>jetty-jmx</module>
|
260
|
+
<module>jetty-jndi</module>
|
261
|
+
<module>jetty-annotations</module>
|
262
|
+
<module>jetty-plus</module>
|
263
|
+
<module>jetty-rewrite</module>
|
264
|
+
<module>jetty-policy</module>
|
265
|
+
<module>jetty-start</module>
|
266
|
+
<module>jetty-osgi</module>
|
267
|
+
<module>test-continuation</module>
|
268
|
+
<module>test-continuation-jetty6</module>
|
269
|
+
<module>test-jetty-servlet</module>
|
270
|
+
<module>test-jetty-webapp</module>
|
271
|
+
<module>jetty-aggregate</module>
|
272
|
+
<module>example-jetty-embedded</module>
|
273
|
+
<module>tests</module>
|
274
|
+
<module>jetty-distribution</module>
|
275
|
+
</modules>
|
276
|
+
<dependencyManagement>
|
277
|
+
<dependencies>
|
278
|
+
<dependency>
|
279
|
+
<groupId>javax.servlet</groupId>
|
280
|
+
<artifactId>servlet-api</artifactId>
|
281
|
+
<version>2.5</version>
|
282
|
+
</dependency>
|
283
|
+
<dependency>
|
284
|
+
<groupId>org.apache.maven</groupId>
|
285
|
+
<artifactId>maven-plugin-tools-api</artifactId>
|
286
|
+
<version>2.0</version>
|
287
|
+
</dependency>
|
288
|
+
<dependency>
|
289
|
+
<groupId>junit</groupId>
|
290
|
+
<artifactId>junit</artifactId>
|
291
|
+
<version>${junit-version}</version>
|
292
|
+
</dependency>
|
293
|
+
<dependency>
|
294
|
+
<groupId>org.slf4j</groupId>
|
295
|
+
<artifactId>jcl104-over-slf4j</artifactId>
|
296
|
+
<version>${slf4j-version}</version>
|
297
|
+
</dependency>
|
298
|
+
<dependency>
|
299
|
+
<groupId>org.slf4j</groupId>
|
300
|
+
<artifactId>slf4j-simple</artifactId>
|
301
|
+
<version>${slf4j-version}</version>
|
302
|
+
</dependency>
|
303
|
+
<dependency>
|
304
|
+
<groupId>org.slf4j</groupId>
|
305
|
+
<artifactId>slf4j-api</artifactId>
|
306
|
+
<version>${slf4j-version}</version>
|
307
|
+
</dependency>
|
308
|
+
<dependency>
|
309
|
+
<groupId>org.apache.geronimo.specs</groupId>
|
310
|
+
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
311
|
+
<version>${javax-transaction-version}</version>
|
312
|
+
</dependency>
|
313
|
+
<dependency>
|
314
|
+
<groupId>javax.mail</groupId>
|
315
|
+
<artifactId>mail</artifactId>
|
316
|
+
<version>${javax-mail-version}</version>
|
317
|
+
</dependency>
|
318
|
+
<dependency>
|
319
|
+
<groupId>javax.activation</groupId>
|
320
|
+
<artifactId>activation</artifactId>
|
321
|
+
<version>${javax-activation-version}</version>
|
322
|
+
</dependency>
|
323
|
+
</dependencies>
|
324
|
+
</dependencyManagement>
|
325
|
+
<!--
|
326
|
+
Usage:
|
327
|
+
configure settings.xml for jetty.eclipse.website server entry
|
328
|
+
> mvn -Paggregate-site javadoc:aggregate jxr:jxr
|
329
|
+
> mvn -N site:deploy
|
330
|
+
or
|
331
|
+
> mvn -N site:sshdeploy (for ssh users w/passphrase and ssh-agent)
|
332
|
+
-->
|
333
|
+
<profiles>
|
334
|
+
<profile>
|
335
|
+
<id>aggregate-site</id>
|
336
|
+
<build>
|
337
|
+
<plugins>
|
338
|
+
<plugin>
|
339
|
+
<groupId>org.apache.maven.plugins</groupId>
|
340
|
+
<artifactId>maven-jxr-plugin</artifactId>
|
341
|
+
<configuration>
|
342
|
+
<aggregate>true</aggregate>
|
343
|
+
</configuration>
|
344
|
+
</plugin>
|
345
|
+
<plugin>
|
346
|
+
<groupId>org.apache.maven.plugins</groupId>
|
347
|
+
<artifactId>maven-javadoc-plugin</artifactId>
|
348
|
+
<configuration>
|
349
|
+
<excludePackageNames>com.acme</excludePackageNames>
|
350
|
+
<links>
|
351
|
+
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
|
352
|
+
<link>http://java.sun.com/javaee/5/docs/api</link>
|
353
|
+
<link>http://junit.sourceforge.net/javadoc/</link>
|
354
|
+
</links>
|
355
|
+
<tags>
|
356
|
+
<tag>
|
357
|
+
<name>org.apache.xbean.XBean</name>
|
358
|
+
<placement>X</placement>
|
359
|
+
<head />
|
360
|
+
</tag>
|
361
|
+
</tags>
|
362
|
+
</configuration>
|
363
|
+
</plugin>
|
364
|
+
</plugins>
|
365
|
+
</build>
|
366
|
+
</profile>
|
367
|
+
</profiles>
|
368
|
+
</project>
|
File without changes
|
@@ -0,0 +1,101 @@
|
|
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
|
+
<parent>
|
3
|
+
<groupId>org.eclipse.jetty</groupId>
|
4
|
+
<artifactId>jetty-project</artifactId>
|
5
|
+
<version>7.1.4.v20100610</version>
|
6
|
+
</parent>
|
7
|
+
<modelVersion>4.0.0</modelVersion>
|
8
|
+
<artifactId>jetty-server</artifactId>
|
9
|
+
<name>Jetty :: Server Core</name>
|
10
|
+
<description>The core jetty server artifact.</description>
|
11
|
+
<url>${jetty.url}</url>
|
12
|
+
<properties>
|
13
|
+
<bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name>
|
14
|
+
</properties>
|
15
|
+
<build>
|
16
|
+
<plugins>
|
17
|
+
<plugin>
|
18
|
+
<groupId>org.apache.felix</groupId>
|
19
|
+
<artifactId>maven-bundle-plugin</artifactId>
|
20
|
+
<version>${felix.bundle.version}</version>
|
21
|
+
<extensions>true</extensions>
|
22
|
+
<executions>
|
23
|
+
<execution>
|
24
|
+
<id>generate-manifest</id>
|
25
|
+
<goals>
|
26
|
+
<goal>manifest</goal>
|
27
|
+
</goals>
|
28
|
+
<configuration>
|
29
|
+
<instructions>
|
30
|
+
<Import-Package>javax.servlet.*;version="[2.5,3.0)",*</Import-Package>
|
31
|
+
</instructions>
|
32
|
+
</configuration>
|
33
|
+
</execution>
|
34
|
+
</executions>
|
35
|
+
</plugin>
|
36
|
+
<plugin>
|
37
|
+
<groupId>org.apache.maven.plugins</groupId>
|
38
|
+
<artifactId>maven-jar-plugin</artifactId>
|
39
|
+
<executions>
|
40
|
+
<execution>
|
41
|
+
<id>artifact-jar</id>
|
42
|
+
<goals>
|
43
|
+
<goal>jar</goal>
|
44
|
+
</goals>
|
45
|
+
</execution>
|
46
|
+
<execution>
|
47
|
+
<id>test-jar</id>
|
48
|
+
<goals>
|
49
|
+
<goal>test-jar</goal>
|
50
|
+
</goals>
|
51
|
+
</execution>
|
52
|
+
</executions>
|
53
|
+
<configuration>
|
54
|
+
<archive>
|
55
|
+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
56
|
+
</archive>
|
57
|
+
</configuration>
|
58
|
+
</plugin>
|
59
|
+
<plugin>
|
60
|
+
<groupId>org.apache.maven.plugins</groupId>
|
61
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
62
|
+
<executions>
|
63
|
+
<execution>
|
64
|
+
<phase>package</phase>
|
65
|
+
<goals>
|
66
|
+
<goal>single</goal>
|
67
|
+
</goals>
|
68
|
+
<configuration>
|
69
|
+
<descriptors>
|
70
|
+
<!-- <descriptor>site-component.xml</descriptor>-->
|
71
|
+
<descriptor>config.xml</descriptor>
|
72
|
+
</descriptors>
|
73
|
+
</configuration>
|
74
|
+
</execution>
|
75
|
+
</executions>
|
76
|
+
</plugin>
|
77
|
+
</plugins>
|
78
|
+
</build>
|
79
|
+
<dependencies>
|
80
|
+
<dependency>
|
81
|
+
<groupId>junit</groupId>
|
82
|
+
<artifactId>junit</artifactId>
|
83
|
+
<version>${junit4-version}</version>
|
84
|
+
<scope>test</scope>
|
85
|
+
</dependency>
|
86
|
+
<dependency>
|
87
|
+
<groupId>javax.servlet</groupId>
|
88
|
+
<artifactId>servlet-api</artifactId>
|
89
|
+
</dependency>
|
90
|
+
<dependency>
|
91
|
+
<groupId>org.eclipse.jetty</groupId>
|
92
|
+
<artifactId>jetty-continuation</artifactId>
|
93
|
+
<version>${project.version}</version>
|
94
|
+
</dependency>
|
95
|
+
<dependency>
|
96
|
+
<groupId>org.eclipse.jetty</groupId>
|
97
|
+
<artifactId>jetty-http</artifactId>
|
98
|
+
<version>${project.version}</version>
|
99
|
+
</dependency>
|
100
|
+
</dependencies>
|
101
|
+
</project>
|
@@ -0,0 +1,80 @@
|
|
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
|
+
<parent>
|
3
|
+
<groupId>org.eclipse.jetty</groupId>
|
4
|
+
<artifactId>jetty-project</artifactId>
|
5
|
+
<version>7.1.4.v20100610</version>
|
6
|
+
</parent>
|
7
|
+
<modelVersion>4.0.0</modelVersion>
|
8
|
+
<artifactId>jetty-util</artifactId>
|
9
|
+
<name>Jetty :: Utilities</name>
|
10
|
+
<description>Utility classes for Jetty</description>
|
11
|
+
<properties>
|
12
|
+
<bundle-symbolic-name>${project.groupId}.util</bundle-symbolic-name>
|
13
|
+
</properties>
|
14
|
+
<build>
|
15
|
+
<plugins>
|
16
|
+
<plugin>
|
17
|
+
<groupId>org.apache.felix</groupId>
|
18
|
+
<artifactId>maven-bundle-plugin</artifactId>
|
19
|
+
<version>${felix.bundle.version}</version>
|
20
|
+
<extensions>true</extensions>
|
21
|
+
<executions>
|
22
|
+
<execution>
|
23
|
+
<goals>
|
24
|
+
<goal>manifest</goal>
|
25
|
+
</goals>
|
26
|
+
<configuration>
|
27
|
+
<instructions>
|
28
|
+
<Import-Package>org.slf4j;version="[1.5,1.6)";resolution:=optional,*</Import-Package>
|
29
|
+
</instructions>
|
30
|
+
</configuration>
|
31
|
+
</execution>
|
32
|
+
</executions>
|
33
|
+
</plugin>
|
34
|
+
<plugin>
|
35
|
+
<!--
|
36
|
+
Required for OSGI
|
37
|
+
-->
|
38
|
+
<groupId>org.apache.maven.plugins</groupId>
|
39
|
+
<artifactId>maven-jar-plugin</artifactId>
|
40
|
+
<configuration>
|
41
|
+
<archive>
|
42
|
+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
43
|
+
</archive>
|
44
|
+
</configuration>
|
45
|
+
</plugin>
|
46
|
+
<plugin>
|
47
|
+
<groupId>org.apache.maven.plugins</groupId>
|
48
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
49
|
+
<executions>
|
50
|
+
<execution>
|
51
|
+
<phase>package</phase>
|
52
|
+
<goals>
|
53
|
+
<goal>single</goal>
|
54
|
+
</goals>
|
55
|
+
<configuration>
|
56
|
+
<descriptors>
|
57
|
+
<descriptor>config.xml</descriptor>
|
58
|
+
</descriptors>
|
59
|
+
</configuration>
|
60
|
+
</execution>
|
61
|
+
</executions>
|
62
|
+
</plugin>
|
63
|
+
</plugins>
|
64
|
+
</build>
|
65
|
+
<dependencies>
|
66
|
+
<dependency>
|
67
|
+
<groupId>junit</groupId>
|
68
|
+
<artifactId>junit</artifactId>
|
69
|
+
<version>${junit4-version}</version>
|
70
|
+
<scope>test</scope>
|
71
|
+
</dependency>
|
72
|
+
<dependency>
|
73
|
+
<groupId>org.slf4j</groupId>
|
74
|
+
<artifactId>slf4j-api</artifactId>
|
75
|
+
<scope>provided</scope>
|
76
|
+
<optional>true</optional>
|
77
|
+
</dependency>
|
78
|
+
|
79
|
+
</dependencies>
|
80
|
+
</project>
|
data/spec/spec_helper.rb
ADDED
data/tasks/gem.rake
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'jeweler'
|
4
|
+
|
5
|
+
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = 'pompompom'
|
8
|
+
gem.summary = %Q{Ruby dependency manager for Maven repository artifacts}
|
9
|
+
gem.description = %Q{Ruby dependency manager for Maven repository artifacts}
|
10
|
+
gem.email = 'theo@iconara.net'
|
11
|
+
gem.homepage = 'http://github.com/iconara/pompompom'
|
12
|
+
gem.authors = ['Theo Hultberg']
|
13
|
+
gem.version = PomPomPom::VERSION
|
14
|
+
gem.test_files = FileList['spec/**/*.rb']
|
15
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
+
end
|
17
|
+
|
18
|
+
Jeweler::GemcutterTasks.new
|
data/tasks/rdoc.rake
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake/rdoctask'
|
4
|
+
require 'sdoc'
|
5
|
+
|
6
|
+
|
7
|
+
Rake::RDocTask.new do |rdoc|
|
8
|
+
rdoc.rdoc_dir = 'rdoc'
|
9
|
+
rdoc.title = "piglet #{PomPomPom::VERSION}"
|
10
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
11
|
+
rdoc.rdoc_files.include('README.rdoc')
|
12
|
+
rdoc.options << '--charset' << 'utf-8'
|
13
|
+
end
|
data/tasks/spec.rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec/rake/spectask'
|
4
|
+
|
5
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
6
|
+
spec.libs << 'lib' << 'spec'
|
7
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
8
|
+
end
|
9
|
+
|
10
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
11
|
+
spec.libs << 'lib' << 'spec'
|
12
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
13
|
+
spec.rcov = true
|
14
|
+
end
|
15
|
+
|
16
|
+
task :spec => :check_dependencies
|
17
|
+
|