Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/java:master commit in: dev-java/jersey-atom/, dev-java/jersey-atom/files/, dev-java/jersey-client/, ...
Date: Thu, 01 Oct 2015 09:43:56
Message-Id: 1443692549.05c1e3fd7d1e3c028d3eedcccc0eeed0d9c7b0f1.monsieurp@gentoo
1 commit: 05c1e3fd7d1e3c028d3eedcccc0eeed0d9c7b0f1
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 1 09:42:25 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 1 09:42:29 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=05c1e3fd
7
8 dev-java/jersey-*: Very old and outdated. Deleted.
9
10 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
11
12 dev-java/jersey-atom/Manifest | 2 -
13 dev-java/jersey-atom/files/generic-maven-build.xml | 305 --------------------
14 dev-java/jersey-atom/jersey-atom-1.1.0-r1.ebuild | 72 -----
15 dev-java/jersey-atom/jersey-atom-1.1.0.ebuild | 72 -----
16 dev-java/jersey-atom/metadata.xml | 9 -
17 dev-java/jersey-client/Manifest | 2 -
18 .../jersey-client/files/generic-maven-build.xml | 305 --------------------
19 .../jersey-client/jersey-client-1.1.0-r1.ebuild | 66 -----
20 dev-java/jersey-client/jersey-client-1.1.0.ebuild | 66 -----
21 dev-java/jersey-client/metadata.xml | 9 -
22 dev-java/jersey-core/Manifest | 2 -
23 dev-java/jersey-core/files/generic-maven-build.xml | 305 --------------------
24 .../jersey-core-1.1.0-maven-ant-convert.patch | 131 ---------
25 dev-java/jersey-core/jersey-core-1.1.0-r1.ebuild | 86 ------
26 dev-java/jersey-core/jersey-core-1.1.0.ebuild | 86 ------
27 dev-java/jersey-core/metadata.xml | 9 -
28 dev-java/jersey-fastinfoset/Manifest | 2 -
29 .../files/generic-maven-build.xml | 312 ---------------------
30 .../jersey-fastinfoset-1.1.0-r1.ebuild | 68 -----
31 .../jersey-fastinfoset-1.1.0.ebuild | 68 -----
32 dev-java/jersey-fastinfoset/metadata.xml | 9 -
33 21 files changed, 1986 deletions(-)
34
35 diff --git a/dev-java/jersey-atom/Manifest b/dev-java/jersey-atom/Manifest
36 deleted file mode 100644
37 index 49130af..0000000
38 --- a/dev-java/jersey-atom/Manifest
39 +++ /dev/null
40 @@ -1,2 +0,0 @@
41 -DIST jersey-1.1.0-ea-src-generated.tar.bz2 19021 SHA256 b4ead023147eea3887ef491489b555bbb7b3a85882c42a98a2503facd18496c2
42 -DIST jersey-1.1.0-ea-src.tar.bz2 849808 SHA256 03f7144503aa095ab922730d8187401d4222ec77b4bc1a6bd6e46ae28c38f6a4
43
44 diff --git a/dev-java/jersey-atom/files/generic-maven-build.xml b/dev-java/jersey-atom/files/generic-maven-build.xml
45 deleted file mode 100644
46 index d71a89f..0000000
47 --- a/dev-java/jersey-atom/files/generic-maven-build.xml
48 +++ /dev/null
49 @@ -1,305 +0,0 @@
50 -<?xml version="1.0" encoding="UTF-8"?>
51 -
52 -<!-- Ant build modified for Gentoo @ Sat, 20 Jun 2009 23:58:40 +0000 -->
53 -<!-- Robin H. Johnson <robbat2@g.o> -->
54 -
55 -<!-- ====================================================================== -->
56 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
57 -<!-- ====================================================================== -->
58 -
59 -<!-- ====================================================================== -->
60 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
61 -<!-- ====================================================================== -->
62 -<!-- -->
63 -<!-- Any modifications will be overwritten. -->
64 -<!-- -->
65 -<!-- Generated by Maven Ant Plugin on 6/20/09 4:57 PM -->
66 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
67 -<!-- -->
68 -<!-- ====================================================================== -->
69 -
70 -<project name="@@GENTOO_PN@@-from-maven" default="package" basedir=".">
71 -
72 - <!-- ====================================================================== -->
73 - <!-- Build environment properties -->
74 - <!-- ====================================================================== -->
75 -<!--
76 - <property file="${user.home}/.m2/maven.properties"/>
77 - -->
78 - <property file="maven-build.properties"/>
79 -
80 - <property name="maven.build.finalName" value="@@GENTOO_PN@@-@@GENTOO_PV@@"/>
81 - <property name="maven.build.dir" value="target"/>
82 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
83 - <property name="maven.build.srcDir.0" value="src/main/java"/>
84 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
85 - <property name="maven.build.resourceDir.1" value="src/main/java"/>
86 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
87 - <property name="maven.build.testDir.0" value="src/test/java"/>
88 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
89 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
90 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
91 -
92 -<!--
93 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
94 - <property name="maven.settings.offline" value="false"/>
95 --->
96 - <property name="maven.settings.interactiveMode" value="true"/>
97 -
98 - <!-- ====================================================================== -->
99 - <!-- Defining classpaths -->
100 - <!-- ====================================================================== -->
101 -
102 - <path id="build.classpath">
103 - <fileset dir=".">
104 - <include name="*.jar"/>
105 - </fileset>
106 - <!--
107 - <fileset dir="${maven.repo.local}">
108 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
109 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
110 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
111 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
112 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
113 - </fileset>
114 - -->
115 - </path>
116 - <path id="build.test.classpath">
117 - <!--
118 - <fileset dir="${maven.repo.local}">
119 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
120 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
121 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
122 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
123 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
124 - </fileset>
125 - -->
126 - </path>
127 -
128 - <!-- ====================================================================== -->
129 - <!-- Cleaning up target -->
130 - <!-- ====================================================================== -->
131 -
132 - <target name="clean" description="Clean the output directory">
133 - <delete dir="${maven.build.dir}"/>
134 - </target>
135 -
136 - <!-- ====================================================================== -->
137 - <!-- Compilation target -->
138 - <!-- ====================================================================== -->
139 -<!--
140 - <target name="compile" depends="get-deps" description="Compile the code">
141 --->
142 - <target name="compile" description="Compile the code">
143 - <mkdir dir="${maven.build.outputDir}"/>
144 - <javac destdir="${maven.build.outputDir}"
145 - nowarn="false"
146 - debug="true"
147 - optimize="false"
148 - deprecation="true"
149 - target="1.5"
150 - verbose="false"
151 - fork="false"
152 - classpath="${gentoo.classpath}"
153 - source="1.5">
154 - <src>
155 - <pathelement location="${maven.build.srcDir.0}"/>
156 - </src>
157 - <classpath refid="build.classpath"/>
158 - </javac>
159 - <copy todir="${maven.build.outputDir}">
160 - <fileset dir="${maven.build.resourceDir.0}"/>
161 - </copy>
162 - <copy todir="${maven.build.outputDir}">
163 - <fileset dir="${maven.build.resourceDir.1}">
164 - <exclude name="**/*.java"/>
165 - </fileset>
166 - </copy>
167 - </target>
168 -
169 - <!-- ====================================================================== -->
170 - <!-- Test-compilation target -->
171 - <!-- ====================================================================== -->
172 -
173 - <target name="compile-tests"
174 - depends="compile"
175 - description="Compile the test code"
176 - unless="maven.test.skip">
177 - <mkdir dir="${maven.build.testOutputDir}"/>
178 - </target>
179 -
180 - <!-- ====================================================================== -->
181 - <!-- Run all tests -->
182 - <!-- ====================================================================== -->
183 -
184 - <target name="test"
185 - depends="compile-tests"
186 - unless="junit.skipped"
187 - description="Run the test cases"/>
188 -<!--
189 - <target name="test-junit-present">
190 - <available classname="junit.framework.Test" property="junit.present"/>
191 - </target>
192 -
193 - <target name="test-junit-status"
194 - depends="test-junit-present">
195 - <condition property="junit.missing">
196 - <and>
197 - <isfalse value="${junit.present}"/>
198 - <isfalse value="${maven.test.skip}"/>
199 - </and>
200 - </condition>
201 - <condition property="junit.skipped">
202 - <or>
203 - <isfalse value="${junit.present}"/>
204 - <istrue value="${maven.test.skip}"/>
205 - </or>
206 - </condition>
207 - </target>
208 -
209 - <target name="junit-missing"
210 - depends="test-junit-status"
211 - if="junit.missing">
212 - <echo>=================================== WARNING ===================================</echo>
213 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
214 - <echo>===============================================================================</echo>
215 - </target>
216 --->
217 - <!-- ====================================================================== -->
218 - <!-- Javadoc target -->
219 - <!-- ====================================================================== -->
220 -
221 - <target name="javadoc" description="Generates the Javadoc of the application">
222 - <javadoc sourcepath="${maven.build.srcDir.0}"
223 - packagenames="*"
224 - excludepackagenames="com.sun.jersey.core.impl"
225 - destdir="${maven.reporting.outputDirectory}/apidocs"
226 - access="protected"
227 - old="false"
228 - verbose="false"
229 - version="true"
230 - use="true"
231 - author="true"
232 - splitindex="false"
233 - nodeprecated="false"
234 - nodeprecatedlist="false"
235 - notree="false"
236 - noindex="false"
237 - nohelp="false"
238 - nonavbar="false"
239 - serialwarn="false"
240 - charset="ISO-8859-1"
241 - linksource="false"
242 - classpathref="build.classpath"
243 - breakiterator="false"/>
244 - </target>
245 -
246 - <!-- ====================================================================== -->
247 - <!-- Package target -->
248 - <!-- ====================================================================== -->
249 -<!--
250 - <target name="package" depends="compile,test" description="Package the application">
251 --->
252 - <target name="package" depends="compile" description="Package the application">
253 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
254 - compress="true"
255 - index="false"
256 - basedir="${maven.build.outputDir}"
257 - excludes="**/package.html">
258 - <!--
259 - <manifest>
260 - <attribute name="Main-Class"/>
261 - </manifest>
262 - -->
263 - </jar>
264 - </target>
265 -
266 - <!-- ====================================================================== -->
267 - <!-- A dummy target for the package named after the type it creates -->
268 - <!-- ====================================================================== -->
269 -
270 - <target name="jar" depends="package" description="Builds the jar for the application"/>
271 -
272 - <!-- ====================================================================== -->
273 - <!-- Download dependencies target -->
274 - <!-- ====================================================================== -->
275 -<!--
276 - <target name="test-offline">
277 - <condition property="maven.mode.offline">
278 - <equals arg1="${maven.settings.offline}" arg2="true"/>
279 - </condition>
280 - </target>
281 -
282 - <target name="get-deps"
283 - depends="test-offline"
284 - description="Download all dependencies"
285 - unless="maven.mode.offline">
286 - <mkdir dir="${maven.repo.local}"/>
287 - <mkdir dir="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1"/>
288 - <get src="http://download.java.net/maven/1/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
289 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
290 - usetimestamp="false"
291 - ignoreerrors="true"/>
292 - <get src="http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
293 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
294 - usetimestamp="false"
295 - ignoreerrors="true"/>
296 - <get src="http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
297 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
298 - usetimestamp="false"
299 - ignoreerrors="true"/>
300 - <mkdir dir="${maven.repo.local}/javax/mail/mail/1.4"/>
301 - <get src="http://download.java.net/maven/1/javax/mail/mail/1.4/mail-1.4.jar"
302 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
303 - usetimestamp="false"
304 - ignoreerrors="true"/>
305 - <get src="http://download.java.net/maven/2/javax/mail/mail/1.4/mail-1.4.jar"
306 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
307 - usetimestamp="false"
308 - ignoreerrors="true"/>
309 - <get src="http://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar"
310 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
311 - usetimestamp="false"
312 - ignoreerrors="true"/>
313 - <mkdir dir="${maven.repo.local}/javax/activation/activation/1.1"/>
314 - <get src="http://download.java.net/maven/1/javax/activation/activation/1.1/activation-1.1.jar"
315 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
316 - usetimestamp="false"
317 - ignoreerrors="true"/>
318 - <get src="http://download.java.net/maven/2/javax/activation/activation/1.1/activation-1.1.jar"
319 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
320 - usetimestamp="false"
321 - ignoreerrors="true"/>
322 - <get src="http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar"
323 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
324 - usetimestamp="false"
325 - ignoreerrors="true"/>
326 - <mkdir dir="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1"/>
327 - <get src="http://download.java.net/maven/1/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
328 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
329 - usetimestamp="false"
330 - ignoreerrors="true"/>
331 - <get src="http://download.java.net/maven/2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
332 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
333 - usetimestamp="false"
334 - ignoreerrors="true"/>
335 - <get src="http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
336 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
337 - usetimestamp="false"
338 - ignoreerrors="true"/>
339 - <mkdir dir="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2"/>
340 - <get src="http://download.java.net/maven/1/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
341 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
342 - usetimestamp="false"
343 - ignoreerrors="true"/>
344 - <get src="http://download.java.net/maven/2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
345 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
346 - usetimestamp="false"
347 - ignoreerrors="true"/>
348 - <get src="http://repo1.maven.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
349 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
350 - usetimestamp="false"
351 - ignoreerrors="true"/>
352 - </target>
353 --->
354 -</project>
355
356 diff --git a/dev-java/jersey-atom/jersey-atom-1.1.0-r1.ebuild b/dev-java/jersey-atom/jersey-atom-1.1.0-r1.ebuild
357 deleted file mode 100644
358 index 55e427e..0000000
359 --- a/dev-java/jersey-atom/jersey-atom-1.1.0-r1.ebuild
360 +++ /dev/null
361 @@ -1,72 +0,0 @@
362 -# Copyright 1999-2015 Gentoo Foundation
363 -# Distributed under the terms of the GNU General Public License v2
364 -# $Id$
365 -
366 -EAPI="2"
367 -JAVA_PKG_IUSE="doc source test"
368 -PROJ_PV="${PV}-ea"
369 -PROJ_PN="jersey"
370 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
371 -
372 -inherit java-pkg-2 java-ant-2
373 -
374 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - atom"
375 -HOMEPAGE="https://jersey.dev.java.net/"
376 -
377 -SRC_FILE="${PROJ_P}-src.tar.bz2"
378 -SRC_URI="mirror://gentoo/${SRC_FILE}
379 - mirror://gentoo/${SRC_FILE/src/src-generated}
380 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
381 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
382 -
383 -LICENSE="|| ( CDDL GPL-2 )"
384 -SLOT="0"
385 -KEYWORDS="~amd64 ~x86"
386 -IUSE=""
387 -
388 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
389 - java-virtuals/jaxb-api:2
390 - java-virtuals/stax-api
391 - dev-java/istack-commons-runtime:1.1
392 - dev-java/jersey-core
393 - dev-java/jdom:1.0
394 - dev-java/rome
395 - java-virtuals/jaf"
396 -DEPEND=">=virtual/jdk-1.5
397 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
398 - ${COMMON_DEPEND}"
399 -RDEPEND=">=virtual/jre-1.5
400 - ${COMMON_DEPEND}"
401 -
402 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
403 -
404 -# src_tarball is ONLY available in jersey-core
405 -
406 -java_prepare() {
407 - sed \
408 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
409 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
410 - <"${FILESDIR}"/generic-maven-build.xml \
411 - >build.xml
412 -
413 - java-pkg_jar-from jsr311-api
414 - java-pkg_jar-from jaxb-api-2
415 - java-pkg_jar-from jaf
416 - java-pkg_jar-from stax-api
417 - java-pkg_jar-from istack-commons-runtime-1.1
418 - java-pkg_jar-from jersey-core
419 - java-pkg_jar-from jdom:1.0
420 - java-pkg_jar-from rome
421 -}
422 -
423 -src_install() {
424 - java-pkg_newjar target/${P}.jar ${PN}.jar
425 - use doc && java-pkg_dojavadoc target/site/apidocs
426 - use source && java-pkg_dosrc src/main/java
427 -}
428 -
429 -src_test() {
430 - EANT_GENTOO_CLASSPATH="junit ant-core" \
431 - ANT_TASKS="ant-junit" \
432 - eant test
433 -}
434
435 diff --git a/dev-java/jersey-atom/jersey-atom-1.1.0.ebuild b/dev-java/jersey-atom/jersey-atom-1.1.0.ebuild
436 deleted file mode 100644
437 index 080d424..0000000
438 --- a/dev-java/jersey-atom/jersey-atom-1.1.0.ebuild
439 +++ /dev/null
440 @@ -1,72 +0,0 @@
441 -# Copyright 1999-2015 Gentoo Foundation
442 -# Distributed under the terms of the GNU General Public License v2
443 -# $Id$
444 -
445 -EAPI="2"
446 -JAVA_PKG_IUSE="doc source test"
447 -PROJ_PV="${PV}-ea"
448 -PROJ_PN="jersey"
449 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
450 -
451 -inherit java-pkg-2 java-ant-2
452 -
453 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - atom"
454 -HOMEPAGE="https://jersey.dev.java.net/"
455 -
456 -SRC_FILE="${PROJ_P}-src.tar.bz2"
457 -SRC_URI="mirror://gentoo/${SRC_FILE}
458 - mirror://gentoo/${SRC_FILE/src/src-generated}
459 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
460 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
461 -
462 -LICENSE="|| ( CDDL GPL-2 )"
463 -SLOT="0"
464 -KEYWORDS="~amd64 ~x86"
465 -IUSE=""
466 -
467 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
468 - dev-java/jaxb:2
469 - dev-java/stax
470 - dev-java/istack-commons-runtime:1.1
471 - dev-java/jersey-core
472 - dev-java/jdom:1.0
473 - dev-java/rome
474 - java-virtuals/jaf"
475 -DEPEND=">=virtual/jdk-1.5
476 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
477 - ${COMMON_DEPEND}"
478 -RDEPEND=">=virtual/jre-1.5
479 - ${COMMON_DEPEND}"
480 -
481 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
482 -
483 -# src_tarball is ONLY available in jersey-core
484 -
485 -java_prepare() {
486 - sed \
487 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
488 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
489 - <"${FILESDIR}"/generic-maven-build.xml \
490 - >build.xml
491 -
492 - java-pkg_jar-from jsr311-api
493 - java-pkg_jar-from jaxb-2 jaxb-api.jar
494 - java-pkg_jar-from jaf
495 - java-pkg_jar-from stax stax-api.jar
496 - java-pkg_jar-from istack-commons-runtime-1.1
497 - java-pkg_jar-from jersey-core
498 - java-pkg_jar-from jdom:1.0
499 - java-pkg_jar-from rome
500 -}
501 -
502 -src_install() {
503 - java-pkg_newjar target/${P}.jar ${PN}.jar
504 - use doc && java-pkg_dojavadoc target/site/apidocs
505 - use source && java-pkg_dosrc src/main/java
506 -}
507 -
508 -src_test() {
509 - EANT_GENTOO_CLASSPATH="junit ant-core" \
510 - ANT_TASKS="ant-junit" \
511 - eant test
512 -}
513
514 diff --git a/dev-java/jersey-atom/metadata.xml b/dev-java/jersey-atom/metadata.xml
515 deleted file mode 100644
516 index a8562b8..0000000
517 --- a/dev-java/jersey-atom/metadata.xml
518 +++ /dev/null
519 @@ -1,9 +0,0 @@
520 -<?xml version="1.0" encoding="UTF-8"?>
521 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
522 -<pkgmetadata>
523 -<herd>java</herd>
524 -<maintainer>
525 - <email>robbat2@g.o</email>
526 - <description>Maintainer for actual Lucene issues.</description>
527 -</maintainer>
528 -</pkgmetadata>
529
530 diff --git a/dev-java/jersey-client/Manifest b/dev-java/jersey-client/Manifest
531 deleted file mode 100644
532 index 49130af..0000000
533 --- a/dev-java/jersey-client/Manifest
534 +++ /dev/null
535 @@ -1,2 +0,0 @@
536 -DIST jersey-1.1.0-ea-src-generated.tar.bz2 19021 SHA256 b4ead023147eea3887ef491489b555bbb7b3a85882c42a98a2503facd18496c2
537 -DIST jersey-1.1.0-ea-src.tar.bz2 849808 SHA256 03f7144503aa095ab922730d8187401d4222ec77b4bc1a6bd6e46ae28c38f6a4
538
539 diff --git a/dev-java/jersey-client/files/generic-maven-build.xml b/dev-java/jersey-client/files/generic-maven-build.xml
540 deleted file mode 100644
541 index 805fe45..0000000
542 --- a/dev-java/jersey-client/files/generic-maven-build.xml
543 +++ /dev/null
544 @@ -1,305 +0,0 @@
545 -<?xml version="1.0" encoding="UTF-8"?>
546 -
547 -<!-- Ant build modified for Gentoo @ Sat, 20 Jun 2009 23:58:40 +0000 -->
548 -<!-- Robin H. Johnson <robbat2@g.o> -->
549 -
550 -<!-- ====================================================================== -->
551 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
552 -<!-- ====================================================================== -->
553 -
554 -<!-- ====================================================================== -->
555 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
556 -<!-- ====================================================================== -->
557 -<!-- -->
558 -<!-- Any modifications will be overwritten. -->
559 -<!-- -->
560 -<!-- Generated by Maven Ant Plugin on 6/20/09 4:57 PM -->
561 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
562 -<!-- -->
563 -<!-- ====================================================================== -->
564 -
565 -<project name="@@GENTOO_PN@@-from-maven" default="package" basedir=".">
566 -
567 - <!-- ====================================================================== -->
568 - <!-- Build environment properties -->
569 - <!-- ====================================================================== -->
570 -<!--
571 - <property file="${user.home}/.m2/maven.properties"/>
572 - -->
573 - <property file="maven-build.properties"/>
574 -
575 - <property name="maven.build.finalName" value="@@GENTOO_PN@@-@@GENTOO_PV@@"/>
576 - <property name="maven.build.dir" value="target"/>
577 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
578 - <property name="maven.build.srcDir.0" value="src/main/java"/>
579 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
580 - <property name="maven.build.resourceDir.1" value="src/main/java"/>
581 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
582 - <property name="maven.build.testDir.0" value="src/test/java"/>
583 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
584 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
585 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
586 -
587 -<!--
588 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
589 - <property name="maven.settings.offline" value="false"/>
590 --->
591 - <property name="maven.settings.interactiveMode" value="true"/>
592 -
593 - <!-- ====================================================================== -->
594 - <!-- Defining classpaths -->
595 - <!-- ====================================================================== -->
596 -
597 - <path id="build.classpath">
598 - <fileset dir=".">
599 - <include name="*.jar"/>
600 - </fileset>
601 - <!--
602 - <fileset dir="${maven.repo.local}">
603 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
604 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
605 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
606 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
607 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
608 - </fileset>
609 - -->
610 - </path>
611 - <path id="build.test.classpath">
612 - <!--
613 - <fileset dir="${maven.repo.local}">
614 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
615 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
616 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
617 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
618 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
619 - </fileset>
620 - -->
621 - </path>
622 -
623 - <!-- ====================================================================== -->
624 - <!-- Cleaning up target -->
625 - <!-- ====================================================================== -->
626 -
627 - <target name="clean" description="Clean the output directory">
628 - <delete dir="${maven.build.dir}"/>
629 - </target>
630 -
631 - <!-- ====================================================================== -->
632 - <!-- Compilation target -->
633 - <!-- ====================================================================== -->
634 -<!--
635 - <target name="compile" depends="get-deps" description="Compile the code">
636 --->
637 - <target name="compile" description="Compile the code">
638 - <mkdir dir="${maven.build.outputDir}"/>
639 - <javac destdir="${maven.build.outputDir}"
640 - nowarn="false"
641 - debug="true"
642 - optimize="false"
643 - deprecation="true"
644 - target="1.5"
645 - verbose="false"
646 - fork="false"
647 - classpath="${gentoo.classpath}"
648 - source="1.5">
649 - <src>
650 - <pathelement location="${maven.build.srcDir.0}"/>
651 - </src>
652 - <classpath refid="build.classpath"/>
653 - </javac>
654 - <copy todir="${maven.build.outputDir}">
655 - <fileset dir="${maven.build.resourceDir.0}"/>
656 - </copy>
657 - <copy todir="${maven.build.outputDir}">
658 - <fileset dir="${maven.build.resourceDir.1}">
659 - <exclude name="**/*.java"/>
660 - </fileset>
661 - </copy>
662 - </target>
663 -
664 - <!-- ====================================================================== -->
665 - <!-- Test-compilation target -->
666 - <!-- ====================================================================== -->
667 -
668 - <target name="compile-tests"
669 - depends="compile"
670 - description="Compile the test code"
671 - unless="maven.test.skip">
672 - <mkdir dir="${maven.build.testOutputDir}"/>
673 - </target>
674 -
675 - <!-- ====================================================================== -->
676 - <!-- Run all tests -->
677 - <!-- ====================================================================== -->
678 -
679 - <target name="test"
680 - depends="compile-tests"
681 - unless="junit.skipped"
682 - description="Run the test cases"/>
683 -<!--
684 - <target name="test-junit-present">
685 - <available classname="junit.framework.Test" property="junit.present"/>
686 - </target>
687 -
688 - <target name="test-junit-status"
689 - depends="test-junit-present">
690 - <condition property="junit.missing">
691 - <and>
692 - <isfalse value="${junit.present}"/>
693 - <isfalse value="${maven.test.skip}"/>
694 - </and>
695 - </condition>
696 - <condition property="junit.skipped">
697 - <or>
698 - <isfalse value="${junit.present}"/>
699 - <istrue value="${maven.test.skip}"/>
700 - </or>
701 - </condition>
702 - </target>
703 -
704 - <target name="junit-missing"
705 - depends="test-junit-status"
706 - if="junit.missing">
707 - <echo>=================================== WARNING ===================================</echo>
708 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
709 - <echo>===============================================================================</echo>
710 - </target>
711 --->
712 - <!-- ====================================================================== -->
713 - <!-- Javadoc target -->
714 - <!-- ====================================================================== -->
715 -
716 - <target name="javadoc" description="Generates the Javadoc of the application">
717 - <javadoc sourcepath="${maven.build.srcDir.0}"
718 - packagenames="*"
719 - excludepackagenames="com.sun.jersey.core.impl,com.sun.jersey.client.impl,com.sun.ws.rs.ex"
720 - destdir="${maven.reporting.outputDirectory}/apidocs"
721 - access="protected"
722 - old="false"
723 - verbose="false"
724 - version="true"
725 - use="true"
726 - author="true"
727 - splitindex="false"
728 - nodeprecated="false"
729 - nodeprecatedlist="false"
730 - notree="false"
731 - noindex="false"
732 - nohelp="false"
733 - nonavbar="false"
734 - serialwarn="false"
735 - charset="ISO-8859-1"
736 - linksource="false"
737 - classpathref="build.classpath"
738 - breakiterator="false"/>
739 - </target>
740 -
741 - <!-- ====================================================================== -->
742 - <!-- Package target -->
743 - <!-- ====================================================================== -->
744 -<!--
745 - <target name="package" depends="compile,test" description="Package the application">
746 --->
747 - <target name="package" depends="compile" description="Package the application">
748 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
749 - compress="true"
750 - index="false"
751 - basedir="${maven.build.outputDir}"
752 - excludes="**/package.html">
753 - <!--
754 - <manifest>
755 - <attribute name="Main-Class"/>
756 - </manifest>
757 - -->
758 - </jar>
759 - </target>
760 -
761 - <!-- ====================================================================== -->
762 - <!-- A dummy target for the package named after the type it creates -->
763 - <!-- ====================================================================== -->
764 -
765 - <target name="jar" depends="package" description="Builds the jar for the application"/>
766 -
767 - <!-- ====================================================================== -->
768 - <!-- Download dependencies target -->
769 - <!-- ====================================================================== -->
770 -<!--
771 - <target name="test-offline">
772 - <condition property="maven.mode.offline">
773 - <equals arg1="${maven.settings.offline}" arg2="true"/>
774 - </condition>
775 - </target>
776 -
777 - <target name="get-deps"
778 - depends="test-offline"
779 - description="Download all dependencies"
780 - unless="maven.mode.offline">
781 - <mkdir dir="${maven.repo.local}"/>
782 - <mkdir dir="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1"/>
783 - <get src="http://download.java.net/maven/1/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
784 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
785 - usetimestamp="false"
786 - ignoreerrors="true"/>
787 - <get src="http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
788 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
789 - usetimestamp="false"
790 - ignoreerrors="true"/>
791 - <get src="http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
792 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
793 - usetimestamp="false"
794 - ignoreerrors="true"/>
795 - <mkdir dir="${maven.repo.local}/javax/mail/mail/1.4"/>
796 - <get src="http://download.java.net/maven/1/javax/mail/mail/1.4/mail-1.4.jar"
797 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
798 - usetimestamp="false"
799 - ignoreerrors="true"/>
800 - <get src="http://download.java.net/maven/2/javax/mail/mail/1.4/mail-1.4.jar"
801 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
802 - usetimestamp="false"
803 - ignoreerrors="true"/>
804 - <get src="http://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar"
805 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
806 - usetimestamp="false"
807 - ignoreerrors="true"/>
808 - <mkdir dir="${maven.repo.local}/javax/activation/activation/1.1"/>
809 - <get src="http://download.java.net/maven/1/javax/activation/activation/1.1/activation-1.1.jar"
810 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
811 - usetimestamp="false"
812 - ignoreerrors="true"/>
813 - <get src="http://download.java.net/maven/2/javax/activation/activation/1.1/activation-1.1.jar"
814 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
815 - usetimestamp="false"
816 - ignoreerrors="true"/>
817 - <get src="http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar"
818 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
819 - usetimestamp="false"
820 - ignoreerrors="true"/>
821 - <mkdir dir="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1"/>
822 - <get src="http://download.java.net/maven/1/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
823 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
824 - usetimestamp="false"
825 - ignoreerrors="true"/>
826 - <get src="http://download.java.net/maven/2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
827 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
828 - usetimestamp="false"
829 - ignoreerrors="true"/>
830 - <get src="http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
831 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
832 - usetimestamp="false"
833 - ignoreerrors="true"/>
834 - <mkdir dir="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2"/>
835 - <get src="http://download.java.net/maven/1/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
836 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
837 - usetimestamp="false"
838 - ignoreerrors="true"/>
839 - <get src="http://download.java.net/maven/2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
840 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
841 - usetimestamp="false"
842 - ignoreerrors="true"/>
843 - <get src="http://repo1.maven.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
844 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
845 - usetimestamp="false"
846 - ignoreerrors="true"/>
847 - </target>
848 --->
849 -</project>
850
851 diff --git a/dev-java/jersey-client/jersey-client-1.1.0-r1.ebuild b/dev-java/jersey-client/jersey-client-1.1.0-r1.ebuild
852 deleted file mode 100644
853 index cfda8e6..0000000
854 --- a/dev-java/jersey-client/jersey-client-1.1.0-r1.ebuild
855 +++ /dev/null
856 @@ -1,66 +0,0 @@
857 -# Copyright 1999-2015 Gentoo Foundation
858 -# Distributed under the terms of the GNU General Public License v2
859 -# $Id$
860 -
861 -EAPI="2"
862 -JAVA_PKG_IUSE="doc source test"
863 -PROJ_PV="${PV}-ea"
864 -PROJ_PN="jersey"
865 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
866 -
867 -inherit java-pkg-2 java-ant-2
868 -
869 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - client"
870 -HOMEPAGE="https://jersey.dev.java.net/"
871 -
872 -SRC_FILE="${PROJ_P}-src.tar.bz2"
873 -SRC_URI="mirror://gentoo/${SRC_FILE}
874 - mirror://gentoo/${SRC_FILE/src/src-generated}
875 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
876 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
877 -
878 -LICENSE="|| ( CDDL GPL-2 )"
879 -SLOT="0"
880 -KEYWORDS="~amd64 ~ppc ~x86"
881 -IUSE=""
882 -
883 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
884 - java-virtuals/jaxb-api:2
885 - java-virtuals/stax-api
886 - dev-java/jersey-core
887 - java-virtuals/jaf"
888 -DEPEND=">=virtual/jdk-1.5
889 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
890 - ${COMMON_DEPEND}"
891 -RDEPEND=">=virtual/jre-1.5
892 - ${COMMON_DEPEND}"
893 -
894 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
895 -
896 -# src_tarball is ONLY available in jersey-core
897 -
898 -java_prepare() {
899 - sed \
900 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
901 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
902 - <"${FILESDIR}"/generic-maven-build.xml \
903 - >build.xml
904 -
905 - java-pkg_jar-from jsr311-api
906 - java-pkg_jar-from jaxb-api-2
907 - java-pkg_jar-from jaf
908 - java-pkg_jar-from stax-api
909 - java-pkg_jar-from jersey-core
910 -}
911 -
912 -src_install() {
913 - java-pkg_newjar target/${P}.jar ${PN}.jar
914 - use doc && java-pkg_dojavadoc target/site/apidocs
915 - use source && java-pkg_dosrc src/main/java
916 -}
917 -
918 -src_test() {
919 - EANT_GENTOO_CLASSPATH="junit ant-core" \
920 - ANT_TASKS="ant-junit" \
921 - eant test
922 -}
923
924 diff --git a/dev-java/jersey-client/jersey-client-1.1.0.ebuild b/dev-java/jersey-client/jersey-client-1.1.0.ebuild
925 deleted file mode 100644
926 index a3b4e5d..0000000
927 --- a/dev-java/jersey-client/jersey-client-1.1.0.ebuild
928 +++ /dev/null
929 @@ -1,66 +0,0 @@
930 -# Copyright 1999-2015 Gentoo Foundation
931 -# Distributed under the terms of the GNU General Public License v2
932 -# $Id$
933 -
934 -EAPI="2"
935 -JAVA_PKG_IUSE="doc source test"
936 -PROJ_PV="${PV}-ea"
937 -PROJ_PN="jersey"
938 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
939 -
940 -inherit java-pkg-2 java-ant-2
941 -
942 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - client"
943 -HOMEPAGE="https://jersey.dev.java.net/"
944 -
945 -SRC_FILE="${PROJ_P}-src.tar.bz2"
946 -SRC_URI="mirror://gentoo/${SRC_FILE}
947 - mirror://gentoo/${SRC_FILE/src/src-generated}
948 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
949 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
950 -
951 -LICENSE="|| ( CDDL GPL-2 )"
952 -SLOT="0"
953 -KEYWORDS="~amd64 ~ppc ~x86"
954 -IUSE=""
955 -
956 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
957 - dev-java/jaxb:2
958 - dev-java/stax
959 - dev-java/jersey-core
960 - java-virtuals/jaf"
961 -DEPEND=">=virtual/jdk-1.5
962 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
963 - ${COMMON_DEPEND}"
964 -RDEPEND=">=virtual/jre-1.5
965 - ${COMMON_DEPEND}"
966 -
967 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
968 -
969 -# src_tarball is ONLY available in jersey-core
970 -
971 -java_prepare() {
972 - sed \
973 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
974 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
975 - <"${FILESDIR}"/generic-maven-build.xml \
976 - >build.xml
977 -
978 - java-pkg_jar-from jsr311-api
979 - java-pkg_jar-from jaxb-2 jaxb-api.jar
980 - java-pkg_jar-from jaf
981 - java-pkg_jar-from stax stax-api.jar
982 - java-pkg_jar-from jersey-core
983 -}
984 -
985 -src_install() {
986 - java-pkg_newjar target/${P}.jar ${PN}.jar
987 - use doc && java-pkg_dojavadoc target/site/apidocs
988 - use source && java-pkg_dosrc src/main/java
989 -}
990 -
991 -src_test() {
992 - EANT_GENTOO_CLASSPATH="junit ant-core" \
993 - ANT_TASKS="ant-junit" \
994 - eant test
995 -}
996
997 diff --git a/dev-java/jersey-client/metadata.xml b/dev-java/jersey-client/metadata.xml
998 deleted file mode 100644
999 index a8562b8..0000000
1000 --- a/dev-java/jersey-client/metadata.xml
1001 +++ /dev/null
1002 @@ -1,9 +0,0 @@
1003 -<?xml version="1.0" encoding="UTF-8"?>
1004 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1005 -<pkgmetadata>
1006 -<herd>java</herd>
1007 -<maintainer>
1008 - <email>robbat2@g.o</email>
1009 - <description>Maintainer for actual Lucene issues.</description>
1010 -</maintainer>
1011 -</pkgmetadata>
1012
1013 diff --git a/dev-java/jersey-core/Manifest b/dev-java/jersey-core/Manifest
1014 deleted file mode 100644
1015 index 49130af..0000000
1016 --- a/dev-java/jersey-core/Manifest
1017 +++ /dev/null
1018 @@ -1,2 +0,0 @@
1019 -DIST jersey-1.1.0-ea-src-generated.tar.bz2 19021 SHA256 b4ead023147eea3887ef491489b555bbb7b3a85882c42a98a2503facd18496c2
1020 -DIST jersey-1.1.0-ea-src.tar.bz2 849808 SHA256 03f7144503aa095ab922730d8187401d4222ec77b4bc1a6bd6e46ae28c38f6a4
1021
1022 diff --git a/dev-java/jersey-core/files/generic-maven-build.xml b/dev-java/jersey-core/files/generic-maven-build.xml
1023 deleted file mode 100644
1024 index d71a89f..0000000
1025 --- a/dev-java/jersey-core/files/generic-maven-build.xml
1026 +++ /dev/null
1027 @@ -1,305 +0,0 @@
1028 -<?xml version="1.0" encoding="UTF-8"?>
1029 -
1030 -<!-- Ant build modified for Gentoo @ Sat, 20 Jun 2009 23:58:40 +0000 -->
1031 -<!-- Robin H. Johnson <robbat2@g.o> -->
1032 -
1033 -<!-- ====================================================================== -->
1034 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
1035 -<!-- ====================================================================== -->
1036 -
1037 -<!-- ====================================================================== -->
1038 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
1039 -<!-- ====================================================================== -->
1040 -<!-- -->
1041 -<!-- Any modifications will be overwritten. -->
1042 -<!-- -->
1043 -<!-- Generated by Maven Ant Plugin on 6/20/09 4:57 PM -->
1044 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
1045 -<!-- -->
1046 -<!-- ====================================================================== -->
1047 -
1048 -<project name="@@GENTOO_PN@@-from-maven" default="package" basedir=".">
1049 -
1050 - <!-- ====================================================================== -->
1051 - <!-- Build environment properties -->
1052 - <!-- ====================================================================== -->
1053 -<!--
1054 - <property file="${user.home}/.m2/maven.properties"/>
1055 - -->
1056 - <property file="maven-build.properties"/>
1057 -
1058 - <property name="maven.build.finalName" value="@@GENTOO_PN@@-@@GENTOO_PV@@"/>
1059 - <property name="maven.build.dir" value="target"/>
1060 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
1061 - <property name="maven.build.srcDir.0" value="src/main/java"/>
1062 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
1063 - <property name="maven.build.resourceDir.1" value="src/main/java"/>
1064 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
1065 - <property name="maven.build.testDir.0" value="src/test/java"/>
1066 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
1067 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
1068 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
1069 -
1070 -<!--
1071 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
1072 - <property name="maven.settings.offline" value="false"/>
1073 --->
1074 - <property name="maven.settings.interactiveMode" value="true"/>
1075 -
1076 - <!-- ====================================================================== -->
1077 - <!-- Defining classpaths -->
1078 - <!-- ====================================================================== -->
1079 -
1080 - <path id="build.classpath">
1081 - <fileset dir=".">
1082 - <include name="*.jar"/>
1083 - </fileset>
1084 - <!--
1085 - <fileset dir="${maven.repo.local}">
1086 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1087 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1088 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
1089 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1090 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1091 - </fileset>
1092 - -->
1093 - </path>
1094 - <path id="build.test.classpath">
1095 - <!--
1096 - <fileset dir="${maven.repo.local}">
1097 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1098 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1099 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
1100 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1101 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1102 - </fileset>
1103 - -->
1104 - </path>
1105 -
1106 - <!-- ====================================================================== -->
1107 - <!-- Cleaning up target -->
1108 - <!-- ====================================================================== -->
1109 -
1110 - <target name="clean" description="Clean the output directory">
1111 - <delete dir="${maven.build.dir}"/>
1112 - </target>
1113 -
1114 - <!-- ====================================================================== -->
1115 - <!-- Compilation target -->
1116 - <!-- ====================================================================== -->
1117 -<!--
1118 - <target name="compile" depends="get-deps" description="Compile the code">
1119 --->
1120 - <target name="compile" description="Compile the code">
1121 - <mkdir dir="${maven.build.outputDir}"/>
1122 - <javac destdir="${maven.build.outputDir}"
1123 - nowarn="false"
1124 - debug="true"
1125 - optimize="false"
1126 - deprecation="true"
1127 - target="1.5"
1128 - verbose="false"
1129 - fork="false"
1130 - classpath="${gentoo.classpath}"
1131 - source="1.5">
1132 - <src>
1133 - <pathelement location="${maven.build.srcDir.0}"/>
1134 - </src>
1135 - <classpath refid="build.classpath"/>
1136 - </javac>
1137 - <copy todir="${maven.build.outputDir}">
1138 - <fileset dir="${maven.build.resourceDir.0}"/>
1139 - </copy>
1140 - <copy todir="${maven.build.outputDir}">
1141 - <fileset dir="${maven.build.resourceDir.1}">
1142 - <exclude name="**/*.java"/>
1143 - </fileset>
1144 - </copy>
1145 - </target>
1146 -
1147 - <!-- ====================================================================== -->
1148 - <!-- Test-compilation target -->
1149 - <!-- ====================================================================== -->
1150 -
1151 - <target name="compile-tests"
1152 - depends="compile"
1153 - description="Compile the test code"
1154 - unless="maven.test.skip">
1155 - <mkdir dir="${maven.build.testOutputDir}"/>
1156 - </target>
1157 -
1158 - <!-- ====================================================================== -->
1159 - <!-- Run all tests -->
1160 - <!-- ====================================================================== -->
1161 -
1162 - <target name="test"
1163 - depends="compile-tests"
1164 - unless="junit.skipped"
1165 - description="Run the test cases"/>
1166 -<!--
1167 - <target name="test-junit-present">
1168 - <available classname="junit.framework.Test" property="junit.present"/>
1169 - </target>
1170 -
1171 - <target name="test-junit-status"
1172 - depends="test-junit-present">
1173 - <condition property="junit.missing">
1174 - <and>
1175 - <isfalse value="${junit.present}"/>
1176 - <isfalse value="${maven.test.skip}"/>
1177 - </and>
1178 - </condition>
1179 - <condition property="junit.skipped">
1180 - <or>
1181 - <isfalse value="${junit.present}"/>
1182 - <istrue value="${maven.test.skip}"/>
1183 - </or>
1184 - </condition>
1185 - </target>
1186 -
1187 - <target name="junit-missing"
1188 - depends="test-junit-status"
1189 - if="junit.missing">
1190 - <echo>=================================== WARNING ===================================</echo>
1191 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
1192 - <echo>===============================================================================</echo>
1193 - </target>
1194 --->
1195 - <!-- ====================================================================== -->
1196 - <!-- Javadoc target -->
1197 - <!-- ====================================================================== -->
1198 -
1199 - <target name="javadoc" description="Generates the Javadoc of the application">
1200 - <javadoc sourcepath="${maven.build.srcDir.0}"
1201 - packagenames="*"
1202 - excludepackagenames="com.sun.jersey.core.impl"
1203 - destdir="${maven.reporting.outputDirectory}/apidocs"
1204 - access="protected"
1205 - old="false"
1206 - verbose="false"
1207 - version="true"
1208 - use="true"
1209 - author="true"
1210 - splitindex="false"
1211 - nodeprecated="false"
1212 - nodeprecatedlist="false"
1213 - notree="false"
1214 - noindex="false"
1215 - nohelp="false"
1216 - nonavbar="false"
1217 - serialwarn="false"
1218 - charset="ISO-8859-1"
1219 - linksource="false"
1220 - classpathref="build.classpath"
1221 - breakiterator="false"/>
1222 - </target>
1223 -
1224 - <!-- ====================================================================== -->
1225 - <!-- Package target -->
1226 - <!-- ====================================================================== -->
1227 -<!--
1228 - <target name="package" depends="compile,test" description="Package the application">
1229 --->
1230 - <target name="package" depends="compile" description="Package the application">
1231 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
1232 - compress="true"
1233 - index="false"
1234 - basedir="${maven.build.outputDir}"
1235 - excludes="**/package.html">
1236 - <!--
1237 - <manifest>
1238 - <attribute name="Main-Class"/>
1239 - </manifest>
1240 - -->
1241 - </jar>
1242 - </target>
1243 -
1244 - <!-- ====================================================================== -->
1245 - <!-- A dummy target for the package named after the type it creates -->
1246 - <!-- ====================================================================== -->
1247 -
1248 - <target name="jar" depends="package" description="Builds the jar for the application"/>
1249 -
1250 - <!-- ====================================================================== -->
1251 - <!-- Download dependencies target -->
1252 - <!-- ====================================================================== -->
1253 -<!--
1254 - <target name="test-offline">
1255 - <condition property="maven.mode.offline">
1256 - <equals arg1="${maven.settings.offline}" arg2="true"/>
1257 - </condition>
1258 - </target>
1259 -
1260 - <target name="get-deps"
1261 - depends="test-offline"
1262 - description="Download all dependencies"
1263 - unless="maven.mode.offline">
1264 - <mkdir dir="${maven.repo.local}"/>
1265 - <mkdir dir="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1"/>
1266 - <get src="http://download.java.net/maven/1/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1267 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1268 - usetimestamp="false"
1269 - ignoreerrors="true"/>
1270 - <get src="http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1271 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1272 - usetimestamp="false"
1273 - ignoreerrors="true"/>
1274 - <get src="http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1275 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1276 - usetimestamp="false"
1277 - ignoreerrors="true"/>
1278 - <mkdir dir="${maven.repo.local}/javax/mail/mail/1.4"/>
1279 - <get src="http://download.java.net/maven/1/javax/mail/mail/1.4/mail-1.4.jar"
1280 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1281 - usetimestamp="false"
1282 - ignoreerrors="true"/>
1283 - <get src="http://download.java.net/maven/2/javax/mail/mail/1.4/mail-1.4.jar"
1284 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1285 - usetimestamp="false"
1286 - ignoreerrors="true"/>
1287 - <get src="http://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar"
1288 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1289 - usetimestamp="false"
1290 - ignoreerrors="true"/>
1291 - <mkdir dir="${maven.repo.local}/javax/activation/activation/1.1"/>
1292 - <get src="http://download.java.net/maven/1/javax/activation/activation/1.1/activation-1.1.jar"
1293 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1294 - usetimestamp="false"
1295 - ignoreerrors="true"/>
1296 - <get src="http://download.java.net/maven/2/javax/activation/activation/1.1/activation-1.1.jar"
1297 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1298 - usetimestamp="false"
1299 - ignoreerrors="true"/>
1300 - <get src="http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar"
1301 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1302 - usetimestamp="false"
1303 - ignoreerrors="true"/>
1304 - <mkdir dir="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1"/>
1305 - <get src="http://download.java.net/maven/1/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1306 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1307 - usetimestamp="false"
1308 - ignoreerrors="true"/>
1309 - <get src="http://download.java.net/maven/2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1310 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1311 - usetimestamp="false"
1312 - ignoreerrors="true"/>
1313 - <get src="http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1314 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1315 - usetimestamp="false"
1316 - ignoreerrors="true"/>
1317 - <mkdir dir="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2"/>
1318 - <get src="http://download.java.net/maven/1/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1319 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1320 - usetimestamp="false"
1321 - ignoreerrors="true"/>
1322 - <get src="http://download.java.net/maven/2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1323 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1324 - usetimestamp="false"
1325 - ignoreerrors="true"/>
1326 - <get src="http://repo1.maven.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1327 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1328 - usetimestamp="false"
1329 - ignoreerrors="true"/>
1330 - </target>
1331 --->
1332 -</project>
1333
1334 diff --git a/dev-java/jersey-core/files/jersey-core-1.1.0-maven-ant-convert.patch b/dev-java/jersey-core/files/jersey-core-1.1.0-maven-ant-convert.patch
1335 deleted file mode 100644
1336 index d05c2ed..0000000
1337 --- a/dev-java/jersey-core/files/jersey-core-1.1.0-maven-ant-convert.patch
1338 +++ /dev/null
1339 @@ -1,131 +0,0 @@
1340 -diff -Nuar -wbB jersey-core.orig/maven-build.xml jersey-core/maven-build.xml
1341 ---- jersey-core.orig/maven-build.xml 2009-06-20 16:57:09.000000000 -0700
1342 -+++ jersey-core/maven-build.xml 2009-06-20 17:04:29.000000000 -0700
1343 -@@ -1,5 +1,8 @@
1344 - <?xml version="1.0" encoding="UTF-8"?>
1345 -
1346 -+<!-- Ant build modified for Gentoo @ Sat, 20 Jun 2009 23:58:40 +0000 -->
1347 -+<!-- Robin H. Johnson <robbat2@g.o> -->
1348 -+
1349 - <!-- ====================================================================== -->
1350 - <!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
1351 - <!-- ====================================================================== -->
1352 -@@ -20,8 +23,9 @@
1353 - <!-- ====================================================================== -->
1354 - <!-- Build environment properties -->
1355 - <!-- ====================================================================== -->
1356 --
1357 -+<!--
1358 - <property file="${user.home}/.m2/maven.properties"/>
1359 -+ -->
1360 - <property file="maven-build.properties"/>
1361 -
1362 - <property name="maven.build.finalName" value="jersey-core-1.1.0-ea"/>
1363 -@@ -36,8 +40,10 @@
1364 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
1365 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
1366 -
1367 -+<!--
1368 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
1369 - <property name="maven.settings.offline" value="false"/>
1370 -+-->
1371 - <property name="maven.settings.interactiveMode" value="true"/>
1372 -
1373 - <!-- ====================================================================== -->
1374 -@@ -45,6 +51,7 @@
1375 - <!-- ====================================================================== -->
1376 -
1377 - <path id="build.classpath">
1378 -+ <!--
1379 - <fileset dir="${maven.repo.local}">
1380 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1381 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1382 -@@ -52,8 +59,10 @@
1383 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1384 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1385 - </fileset>
1386 -+ -->
1387 - </path>
1388 - <path id="build.test.classpath">
1389 -+ <!--
1390 - <fileset dir="${maven.repo.local}">
1391 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1392 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1393 -@@ -61,6 +70,7 @@
1394 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1395 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1396 - </fileset>
1397 -+ -->
1398 - </path>
1399 -
1400 - <!-- ====================================================================== -->
1401 -@@ -74,8 +84,10 @@
1402 - <!-- ====================================================================== -->
1403 - <!-- Compilation target -->
1404 - <!-- ====================================================================== -->
1405 --
1406 -+<!--
1407 - <target name="compile" depends="get-deps" description="Compile the code">
1408 -+-->
1409 -+ <target name="compile" description="Compile the code">
1410 - <mkdir dir="${maven.build.outputDir}"/>
1411 - <javac destdir="${maven.build.outputDir}"
1412 - nowarn="false"
1413 -@@ -85,6 +97,7 @@
1414 - target="1.5"
1415 - verbose="false"
1416 - fork="false"
1417 -+ classpath="${gentoo.classpath}"
1418 - source="1.5">
1419 - <src>
1420 - <pathelement location="${maven.build.srcDir.0}"/>
1421 -@@ -117,10 +130,10 @@
1422 - <!-- ====================================================================== -->
1423 -
1424 - <target name="test"
1425 -- depends="compile-tests, junit-missing"
1426 -+ depends="compile-tests"
1427 - unless="junit.skipped"
1428 - description="Run the test cases"/>
1429 --
1430 -+<!--
1431 - <target name="test-junit-present">
1432 - <available classname="junit.framework.Test" property="junit.present"/>
1433 - </target>
1434 -@@ -148,7 +161,7 @@
1435 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
1436 - <echo>===============================================================================</echo>
1437 - </target>
1438 --
1439 -+-->
1440 - <!-- ====================================================================== -->
1441 - <!-- Javadoc target -->
1442 - <!-- ====================================================================== -->
1443 -@@ -179,8 +192,10 @@
1444 - <!-- ====================================================================== -->
1445 - <!-- Package target -->
1446 - <!-- ====================================================================== -->
1447 --
1448 -+<!--
1449 - <target name="package" depends="compile,test" description="Package the application">
1450 -+-->
1451 -+ <target name="package" depends="compile" description="Package the application">
1452 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
1453 - compress="true"
1454 - index="false"
1455 -@@ -201,7 +216,7 @@
1456 - <!-- ====================================================================== -->
1457 - <!-- Download dependencies target -->
1458 - <!-- ====================================================================== -->
1459 --
1460 -+<!--
1461 - <target name="test-offline">
1462 - <condition property="maven.mode.offline">
1463 - <equals arg1="${maven.settings.offline}" arg2="true"/>
1464 -@@ -279,5 +294,5 @@
1465 - usetimestamp="false"
1466 - ignoreerrors="true"/>
1467 - </target>
1468 --
1469 -+-->
1470 - </project>
1471
1472 diff --git a/dev-java/jersey-core/jersey-core-1.1.0-r1.ebuild b/dev-java/jersey-core/jersey-core-1.1.0-r1.ebuild
1473 deleted file mode 100644
1474 index b0dd4ad..0000000
1475 --- a/dev-java/jersey-core/jersey-core-1.1.0-r1.ebuild
1476 +++ /dev/null
1477 @@ -1,86 +0,0 @@
1478 -# Copyright 1999-2015 Gentoo Foundation
1479 -# Distributed under the terms of the GNU General Public License v2
1480 -# $Id$
1481 -
1482 -EAPI="2"
1483 -JAVA_PKG_IUSE="doc source test"
1484 -PROJ_PV="${PV}-ea"
1485 -PROJ_PN="jersey"
1486 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
1487 -
1488 -inherit java-pkg-2 java-ant-2
1489 -
1490 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - core"
1491 -HOMEPAGE="https://jersey.dev.java.net/"
1492 -
1493 -SRC_FILE="${PROJ_P}-src.tar.bz2"
1494 -SRC_URI="mirror://gentoo/${SRC_FILE}
1495 - mirror://gentoo/${SRC_FILE/src/src-generated}
1496 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
1497 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
1498 -
1499 -LICENSE="|| ( CDDL GPL-2 )"
1500 -SLOT="0"
1501 -KEYWORDS="~amd64 ~ppc ~x86"
1502 -IUSE=""
1503 -
1504 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
1505 - java-virtuals/javamail
1506 - java-virtuals/jaxb-api:2
1507 - java-virtuals/stax-api
1508 - dev-java/istack-commons-runtime:1.1
1509 - java-virtuals/jaf"
1510 -DEPEND=">=virtual/jdk-1.5
1511 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
1512 - ${COMMON_DEPEND}"
1513 -RDEPEND=">=virtual/jre-1.5
1514 - ${COMMON_DEPEND}"
1515 -
1516 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
1517 -
1518 -# Helper to generate the tarball :-)
1519 -# ( PN=jersey ; PV=1.1.0 ; . ${PN}*-${PV}.ebuild ; src_tarball )
1520 -src_tarball() {
1521 - SVN_SRC_URI="${HOMEPAGE}/svn/${PROJ_PN}/tags/${PROJ_P}"
1522 - tarball="${PROJ_P}"
1523 - svn export \
1524 - --username guest --password '' --non-interactive \
1525 - ${SVN_SRC_URI} ${tarball} \
1526 - && \
1527 - tar cvjf ${SRC_FILE} \
1528 - --exclude '*.jar' \
1529 - --exclude '*.zip' \
1530 - ${tarball} \
1531 - && \
1532 - echo "New tarball located at ${SRC_FILE}" \
1533 - echo "Now you should make ${SRC_FILE/src/src-generated}.tar.bz2 using the"
1534 - echo "generate-sources maven targets, and symlink back to the real src"
1535 - echo "directories. It's not automated yet :-("
1536 -}
1537 -
1538 -java_prepare() {
1539 - sed \
1540 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
1541 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
1542 - <"${FILESDIR}"/generic-maven-build.xml \
1543 - >build.xml
1544 -
1545 - java-pkg_jar-from javamail
1546 - java-pkg_jar-from jsr311-api
1547 - java-pkg_jar-from jaxb-api-2
1548 - java-pkg_jar-from jaf
1549 - java-pkg_jar-from stax-api
1550 - java-pkg_jar-from istack-commons-runtime-1.1
1551 -}
1552 -
1553 -src_install() {
1554 - java-pkg_newjar target/${P}.jar ${PN}.jar
1555 - use doc && java-pkg_dojavadoc target/site/apidocs
1556 - use source && java-pkg_dosrc src/main/java
1557 -}
1558 -
1559 -src_test() {
1560 - EANT_GENTOO_CLASSPATH="junit ant-core" \
1561 - ANT_TASKS="ant-junit" \
1562 - eant test
1563 -}
1564
1565 diff --git a/dev-java/jersey-core/jersey-core-1.1.0.ebuild b/dev-java/jersey-core/jersey-core-1.1.0.ebuild
1566 deleted file mode 100644
1567 index c36decb..0000000
1568 --- a/dev-java/jersey-core/jersey-core-1.1.0.ebuild
1569 +++ /dev/null
1570 @@ -1,86 +0,0 @@
1571 -# Copyright 1999-2015 Gentoo Foundation
1572 -# Distributed under the terms of the GNU General Public License v2
1573 -# $Id$
1574 -
1575 -EAPI="2"
1576 -JAVA_PKG_IUSE="doc source test"
1577 -PROJ_PV="${PV}-ea"
1578 -PROJ_PN="jersey"
1579 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
1580 -
1581 -inherit java-pkg-2 java-ant-2
1582 -
1583 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - core"
1584 -HOMEPAGE="https://jersey.dev.java.net/"
1585 -
1586 -SRC_FILE="${PROJ_P}-src.tar.bz2"
1587 -SRC_URI="mirror://gentoo/${SRC_FILE}
1588 - mirror://gentoo/${SRC_FILE/src/src-generated}
1589 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
1590 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
1591 -
1592 -LICENSE="|| ( CDDL GPL-2 )"
1593 -SLOT="0"
1594 -KEYWORDS="~amd64 ~ppc ~x86"
1595 -IUSE=""
1596 -
1597 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
1598 - java-virtuals/javamail
1599 - dev-java/jaxb:2
1600 - dev-java/stax
1601 - dev-java/istack-commons-runtime:1.1
1602 - java-virtuals/jaf"
1603 -DEPEND=">=virtual/jdk-1.5
1604 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
1605 - ${COMMON_DEPEND}"
1606 -RDEPEND=">=virtual/jre-1.5
1607 - ${COMMON_DEPEND}"
1608 -
1609 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
1610 -
1611 -# Helper to generate the tarball :-)
1612 -# ( PN=jersey ; PV=1.1.0 ; . ${PN}*-${PV}.ebuild ; src_tarball )
1613 -src_tarball() {
1614 - SVN_SRC_URI="${HOMEPAGE}/svn/${PROJ_PN}/tags/${PROJ_P}"
1615 - tarball="${PROJ_P}"
1616 - svn export \
1617 - --username guest --password '' --non-interactive \
1618 - ${SVN_SRC_URI} ${tarball} \
1619 - && \
1620 - tar cvjf ${SRC_FILE} \
1621 - --exclude '*.jar' \
1622 - --exclude '*.zip' \
1623 - ${tarball} \
1624 - && \
1625 - echo "New tarball located at ${SRC_FILE}" \
1626 - echo "Now you should make ${SRC_FILE/src/src-generated}.tar.bz2 using the"
1627 - echo "generate-sources maven targets, and symlink back to the real src"
1628 - echo "directories. It's not automated yet :-("
1629 -}
1630 -
1631 -java_prepare() {
1632 - sed \
1633 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
1634 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
1635 - <"${FILESDIR}"/generic-maven-build.xml \
1636 - >build.xml
1637 -
1638 - java-pkg_jar-from javamail
1639 - java-pkg_jar-from jsr311-api
1640 - java-pkg_jar-from jaxb-2 jaxb-api.jar
1641 - java-pkg_jar-from jaf
1642 - java-pkg_jar-from stax stax-api.jar
1643 - java-pkg_jar-from istack-commons-runtime-1.1
1644 -}
1645 -
1646 -src_install() {
1647 - java-pkg_newjar target/${P}.jar ${PN}.jar
1648 - use doc && java-pkg_dojavadoc target/site/apidocs
1649 - use source && java-pkg_dosrc src/main/java
1650 -}
1651 -
1652 -src_test() {
1653 - EANT_GENTOO_CLASSPATH="junit ant-core" \
1654 - ANT_TASKS="ant-junit" \
1655 - eant test
1656 -}
1657
1658 diff --git a/dev-java/jersey-core/metadata.xml b/dev-java/jersey-core/metadata.xml
1659 deleted file mode 100644
1660 index a8562b8..0000000
1661 --- a/dev-java/jersey-core/metadata.xml
1662 +++ /dev/null
1663 @@ -1,9 +0,0 @@
1664 -<?xml version="1.0" encoding="UTF-8"?>
1665 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1666 -<pkgmetadata>
1667 -<herd>java</herd>
1668 -<maintainer>
1669 - <email>robbat2@g.o</email>
1670 - <description>Maintainer for actual Lucene issues.</description>
1671 -</maintainer>
1672 -</pkgmetadata>
1673
1674 diff --git a/dev-java/jersey-fastinfoset/Manifest b/dev-java/jersey-fastinfoset/Manifest
1675 deleted file mode 100644
1676 index 49130af..0000000
1677 --- a/dev-java/jersey-fastinfoset/Manifest
1678 +++ /dev/null
1679 @@ -1,2 +0,0 @@
1680 -DIST jersey-1.1.0-ea-src-generated.tar.bz2 19021 SHA256 b4ead023147eea3887ef491489b555bbb7b3a85882c42a98a2503facd18496c2
1681 -DIST jersey-1.1.0-ea-src.tar.bz2 849808 SHA256 03f7144503aa095ab922730d8187401d4222ec77b4bc1a6bd6e46ae28c38f6a4
1682
1683 diff --git a/dev-java/jersey-fastinfoset/files/generic-maven-build.xml b/dev-java/jersey-fastinfoset/files/generic-maven-build.xml
1684 deleted file mode 100644
1685 index 9575280..0000000
1686 --- a/dev-java/jersey-fastinfoset/files/generic-maven-build.xml
1687 +++ /dev/null
1688 @@ -1,312 +0,0 @@
1689 -<?xml version="1.0" encoding="UTF-8"?>
1690 -
1691 -<!-- Ant build modified for Gentoo @ Sat, 20 Jun 2009 23:58:40 +0000 -->
1692 -<!-- Robin H. Johnson <robbat2@g.o> -->
1693 -
1694 -<!-- ====================================================================== -->
1695 -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
1696 -<!-- ====================================================================== -->
1697 -
1698 -<!-- ====================================================================== -->
1699 -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
1700 -<!-- ====================================================================== -->
1701 -<!-- -->
1702 -<!-- Any modifications will be overwritten. -->
1703 -<!-- -->
1704 -<!-- Generated by Maven Ant Plugin on 6/20/09 4:57 PM -->
1705 -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
1706 -<!-- -->
1707 -<!-- ====================================================================== -->
1708 -
1709 -<project name="@@GENTOO_PN@@-from-maven" default="package" basedir=".">
1710 -
1711 - <!-- ====================================================================== -->
1712 - <!-- Build environment properties -->
1713 - <!-- ====================================================================== -->
1714 -<!--
1715 - <property file="${user.home}/.m2/maven.properties"/>
1716 - -->
1717 - <property file="maven-build.properties"/>
1718 -
1719 - <property name="maven.build.finalName" value="@@GENTOO_PN@@-@@GENTOO_PV@@"/>
1720 - <property name="maven.build.dir" value="target"/>
1721 - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
1722 - <property name="maven.build.srcDir.0" value="src/main/java"/>
1723 - <property name="maven.build.resourceDir.0" value="src/main/resources"/>
1724 - <property name="maven.build.resourceDir.1" value="src/main/java"/>
1725 - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
1726 - <property name="maven.build.testDir.0" value="src/test/java"/>
1727 - <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
1728 - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
1729 - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
1730 -
1731 -<!--
1732 - <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
1733 - <property name="maven.settings.offline" value="false"/>
1734 --->
1735 - <property name="maven.settings.interactiveMode" value="true"/>
1736 -
1737 - <!-- ====================================================================== -->
1738 - <!-- Defining classpaths -->
1739 - <!-- ====================================================================== -->
1740 -
1741 - <path id="build.classpath">
1742 - <fileset dir=".">
1743 - <include name="*.jar"/>
1744 - </fileset>
1745 - <!--
1746 - <fileset dir="${maven.repo.local}">
1747 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1748 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1749 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
1750 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1751 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1752 - </fileset>
1753 - -->
1754 - </path>
1755 - <path id="build.test.classpath">
1756 - <!--
1757 - <fileset dir="${maven.repo.local}">
1758 - <include name="javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"/>
1759 - <include name="javax/mail/mail/1.4/mail-1.4.jar"/>
1760 - <include name="javax/activation/activation/1.1/activation-1.1.jar"/>
1761 - <include name="javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
1762 - <include name="javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
1763 - </fileset>
1764 - -->
1765 - </path>
1766 -
1767 - <!-- ====================================================================== -->
1768 - <!-- Cleaning up target -->
1769 - <!-- ====================================================================== -->
1770 -
1771 - <target name="clean" description="Clean the output directory">
1772 - <delete dir="${maven.build.dir}"/>
1773 - </target>
1774 -
1775 - <!-- ====================================================================== -->
1776 - <!-- Compilation target -->
1777 - <!-- ====================================================================== -->
1778 -<!--
1779 - <target name="compile" depends="get-deps" description="Compile the code">
1780 --->
1781 - <target name="compile" description="Compile the code">
1782 - <mkdir dir="${maven.build.outputDir}"/>
1783 - <javac destdir="${maven.build.outputDir}"
1784 - nowarn="false"
1785 - debug="true"
1786 - optimize="false"
1787 - deprecation="true"
1788 - target="1.5"
1789 - verbose="false"
1790 - fork="false"
1791 - classpath="${gentoo.classpath}"
1792 - source="1.5">
1793 - <src>
1794 - <pathelement location="${maven.build.srcDir.0}"/>
1795 - </src>
1796 - <classpath refid="build.classpath"/>
1797 - </javac>
1798 - <!--
1799 - <copy todir="${maven.build.outputDir}">
1800 - <fileset dir="${maven.build.resourceDir.0}"/>
1801 - </copy>
1802 - -->
1803 - <copy todir="${maven.build.outputDir}">
1804 - <fileset dir="${maven.build.resourceDir.1}">
1805 - <exclude name="**/*.java"/>
1806 - </fileset>
1807 - </copy>
1808 - <copy todir="${maven.build.outputDir}">
1809 - <fileset dir="${maven.build.resourceDir.1}">
1810 - <include name="META-INF/**/*"/>
1811 - </fileset>
1812 - </copy>
1813 - </target>
1814 -
1815 - <!-- ====================================================================== -->
1816 - <!-- Test-compilation target -->
1817 - <!-- ====================================================================== -->
1818 -
1819 - <target name="compile-tests"
1820 - depends="compile"
1821 - description="Compile the test code"
1822 - unless="maven.test.skip">
1823 - <mkdir dir="${maven.build.testOutputDir}"/>
1824 - </target>
1825 -
1826 - <!-- ====================================================================== -->
1827 - <!-- Run all tests -->
1828 - <!-- ====================================================================== -->
1829 -
1830 - <target name="test"
1831 - depends="compile-tests"
1832 - unless="junit.skipped"
1833 - description="Run the test cases"/>
1834 -<!--
1835 - <target name="test-junit-present">
1836 - <available classname="junit.framework.Test" property="junit.present"/>
1837 - </target>
1838 -
1839 - <target name="test-junit-status"
1840 - depends="test-junit-present">
1841 - <condition property="junit.missing">
1842 - <and>
1843 - <isfalse value="${junit.present}"/>
1844 - <isfalse value="${maven.test.skip}"/>
1845 - </and>
1846 - </condition>
1847 - <condition property="junit.skipped">
1848 - <or>
1849 - <isfalse value="${junit.present}"/>
1850 - <istrue value="${maven.test.skip}"/>
1851 - </or>
1852 - </condition>
1853 - </target>
1854 -
1855 - <target name="junit-missing"
1856 - depends="test-junit-status"
1857 - if="junit.missing">
1858 - <echo>=================================== WARNING ===================================</echo>
1859 - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
1860 - <echo>===============================================================================</echo>
1861 - </target>
1862 --->
1863 - <!-- ====================================================================== -->
1864 - <!-- Javadoc target -->
1865 - <!-- ====================================================================== -->
1866 -
1867 - <target name="javadoc" description="Generates the Javadoc of the application">
1868 - <javadoc sourcepath="${maven.build.srcDir.0}"
1869 - packagenames="*"
1870 - excludepackagenames="com.sun.jersey.core.impl,com.sun.jersey.client.impl,com.sun.ws.rs.ex,com.sun.jersey.fastinfoset.impl"
1871 - destdir="${maven.reporting.outputDirectory}/apidocs"
1872 - access="protected"
1873 - old="false"
1874 - verbose="false"
1875 - version="true"
1876 - use="true"
1877 - author="true"
1878 - splitindex="false"
1879 - nodeprecated="false"
1880 - nodeprecatedlist="false"
1881 - notree="false"
1882 - noindex="false"
1883 - nohelp="false"
1884 - nonavbar="false"
1885 - serialwarn="false"
1886 - charset="ISO-8859-1"
1887 - linksource="false"
1888 - classpathref="build.classpath"
1889 - breakiterator="false"/>
1890 - </target>
1891 -
1892 - <!-- ====================================================================== -->
1893 - <!-- Package target -->
1894 - <!-- ====================================================================== -->
1895 -<!--
1896 - <target name="package" depends="compile,test" description="Package the application">
1897 --->
1898 - <target name="package" depends="compile" description="Package the application">
1899 - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
1900 - compress="true"
1901 - index="false"
1902 - basedir="${maven.build.outputDir}"
1903 - excludes="**/package.html">
1904 - <!--
1905 - <manifest>
1906 - <attribute name="Main-Class"/>
1907 - </manifest>
1908 - -->
1909 - </jar>
1910 - </target>
1911 -
1912 - <!-- ====================================================================== -->
1913 - <!-- A dummy target for the package named after the type it creates -->
1914 - <!-- ====================================================================== -->
1915 -
1916 - <target name="jar" depends="package" description="Builds the jar for the application"/>
1917 -
1918 - <!-- ====================================================================== -->
1919 - <!-- Download dependencies target -->
1920 - <!-- ====================================================================== -->
1921 -<!--
1922 - <target name="test-offline">
1923 - <condition property="maven.mode.offline">
1924 - <equals arg1="${maven.settings.offline}" arg2="true"/>
1925 - </condition>
1926 - </target>
1927 -
1928 - <target name="get-deps"
1929 - depends="test-offline"
1930 - description="Download all dependencies"
1931 - unless="maven.mode.offline">
1932 - <mkdir dir="${maven.repo.local}"/>
1933 - <mkdir dir="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1"/>
1934 - <get src="http://download.java.net/maven/1/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1935 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1936 - usetimestamp="false"
1937 - ignoreerrors="true"/>
1938 - <get src="http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1939 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1940 - usetimestamp="false"
1941 - ignoreerrors="true"/>
1942 - <get src="http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1943 - dest="${maven.repo.local}/javax/ws/rs/jsr311-api/1.1/jsr311-api-1.1.jar"
1944 - usetimestamp="false"
1945 - ignoreerrors="true"/>
1946 - <mkdir dir="${maven.repo.local}/javax/mail/mail/1.4"/>
1947 - <get src="http://download.java.net/maven/1/javax/mail/mail/1.4/mail-1.4.jar"
1948 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1949 - usetimestamp="false"
1950 - ignoreerrors="true"/>
1951 - <get src="http://download.java.net/maven/2/javax/mail/mail/1.4/mail-1.4.jar"
1952 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1953 - usetimestamp="false"
1954 - ignoreerrors="true"/>
1955 - <get src="http://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar"
1956 - dest="${maven.repo.local}/javax/mail/mail/1.4/mail-1.4.jar"
1957 - usetimestamp="false"
1958 - ignoreerrors="true"/>
1959 - <mkdir dir="${maven.repo.local}/javax/activation/activation/1.1"/>
1960 - <get src="http://download.java.net/maven/1/javax/activation/activation/1.1/activation-1.1.jar"
1961 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1962 - usetimestamp="false"
1963 - ignoreerrors="true"/>
1964 - <get src="http://download.java.net/maven/2/javax/activation/activation/1.1/activation-1.1.jar"
1965 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1966 - usetimestamp="false"
1967 - ignoreerrors="true"/>
1968 - <get src="http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar"
1969 - dest="${maven.repo.local}/javax/activation/activation/1.1/activation-1.1.jar"
1970 - usetimestamp="false"
1971 - ignoreerrors="true"/>
1972 - <mkdir dir="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1"/>
1973 - <get src="http://download.java.net/maven/1/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1974 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1975 - usetimestamp="false"
1976 - ignoreerrors="true"/>
1977 - <get src="http://download.java.net/maven/2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1978 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1979 - usetimestamp="false"
1980 - ignoreerrors="true"/>
1981 - <get src="http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1982 - dest="${maven.repo.local}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
1983 - usetimestamp="false"
1984 - ignoreerrors="true"/>
1985 - <mkdir dir="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2"/>
1986 - <get src="http://download.java.net/maven/1/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1987 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1988 - usetimestamp="false"
1989 - ignoreerrors="true"/>
1990 - <get src="http://download.java.net/maven/2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1991 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1992 - usetimestamp="false"
1993 - ignoreerrors="true"/>
1994 - <get src="http://repo1.maven.org/maven2/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1995 - dest="${maven.repo.local}/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
1996 - usetimestamp="false"
1997 - ignoreerrors="true"/>
1998 - </target>
1999 --->
2000 -</project>
2001
2002 diff --git a/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0-r1.ebuild b/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0-r1.ebuild
2003 deleted file mode 100644
2004 index d4dca67..0000000
2005 --- a/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0-r1.ebuild
2006 +++ /dev/null
2007 @@ -1,68 +0,0 @@
2008 -# Copyright 1999-2015 Gentoo Foundation
2009 -# Distributed under the terms of the GNU General Public License v2
2010 -# $Id$
2011 -
2012 -EAPI="2"
2013 -JAVA_PKG_IUSE="doc source test"
2014 -PROJ_PV="${PV}-ea"
2015 -PROJ_PN="jersey"
2016 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
2017 -
2018 -inherit java-pkg-2 java-ant-2
2019 -
2020 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - fastinfoset"
2021 -HOMEPAGE="https://jersey.dev.java.net/"
2022 -
2023 -SRC_FILE="${PROJ_P}-src.tar.bz2"
2024 -SRC_URI="mirror://gentoo/${SRC_FILE}
2025 - mirror://gentoo/${SRC_FILE/src/src-generated}
2026 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
2027 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
2028 -
2029 -LICENSE="|| ( CDDL GPL-2 )"
2030 -SLOT="0"
2031 -KEYWORDS="~amd64 ~ppc ~x86"
2032 -IUSE=""
2033 -
2034 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
2035 - java-virtuals/jaxb-api:2
2036 - java-virtuals/stax-api
2037 - dev-java/jersey-core
2038 - dev-java/fastinfoset
2039 - java-virtuals/jaf"
2040 -DEPEND=">=virtual/jdk-1.5
2041 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
2042 - ${COMMON_DEPEND}"
2043 -RDEPEND=">=virtual/jre-1.5
2044 - ${COMMON_DEPEND}"
2045 -
2046 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
2047 -
2048 -# src_tarball is ONLY available in jersey-core
2049 -
2050 -java_prepare() {
2051 - sed \
2052 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
2053 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
2054 - <"${FILESDIR}"/generic-maven-build.xml \
2055 - >build.xml
2056 -
2057 - java-pkg_jar-from jsr311-api
2058 - java-pkg_jar-from jaxb-api-2
2059 - java-pkg_jar-from jaf
2060 - java-pkg_jar-from stax-api
2061 - java-pkg_jar-from jersey-core
2062 - java-pkg_jar-from fastinfoset
2063 -}
2064 -
2065 -src_install() {
2066 - java-pkg_newjar target/${P}.jar ${PN}.jar
2067 - use doc && java-pkg_dojavadoc target/site/apidocs
2068 - use source && java-pkg_dosrc src/main/java
2069 -}
2070 -
2071 -src_test() {
2072 - EANT_GENTOO_CLASSPATH="junit ant-core" \
2073 - ANT_TASKS="ant-junit" \
2074 - eant test
2075 -}
2076
2077 diff --git a/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0.ebuild b/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0.ebuild
2078 deleted file mode 100644
2079 index ad74288..0000000
2080 --- a/dev-java/jersey-fastinfoset/jersey-fastinfoset-1.1.0.ebuild
2081 +++ /dev/null
2082 @@ -1,68 +0,0 @@
2083 -# Copyright 1999-2015 Gentoo Foundation
2084 -# Distributed under the terms of the GNU General Public License v2
2085 -# $Id$
2086 -
2087 -EAPI="2"
2088 -JAVA_PKG_IUSE="doc source test"
2089 -PROJ_PV="${PV}-ea"
2090 -PROJ_PN="jersey"
2091 -PROJ_P="${PROJ_PN}-${PROJ_PV}"
2092 -
2093 -inherit java-pkg-2 java-ant-2
2094 -
2095 -DESCRIPTION="JAX-RS Reference Implementation for building RESTful Web services - fastinfoset"
2096 -HOMEPAGE="https://jersey.dev.java.net/"
2097 -
2098 -SRC_FILE="${PROJ_P}-src.tar.bz2"
2099 -SRC_URI="mirror://gentoo/${SRC_FILE}
2100 - mirror://gentoo/${SRC_FILE/src/src-generated}
2101 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE}
2102 - http://dev.gentoo.org/~robbat2/java/${SRC_FILE/src/src-generated}"
2103 -
2104 -LICENSE="|| ( CDDL GPL-2 )"
2105 -SLOT="0"
2106 -KEYWORDS="~amd64 ~ppc ~x86"
2107 -IUSE=""
2108 -
2109 -COMMON_DEPEND=">=dev-java/jsr311-api-1.1
2110 - dev-java/jaxb:2
2111 - dev-java/stax
2112 - dev-java/jersey-core
2113 - dev-java/fastinfoset
2114 - java-virtuals/jaf"
2115 -DEPEND=">=virtual/jdk-1.5
2116 - test? ( dev-java/ant-junit:0 dev-java/junit:0 )
2117 - ${COMMON_DEPEND}"
2118 -RDEPEND=">=virtual/jre-1.5
2119 - ${COMMON_DEPEND}"
2120 -
2121 -S="${WORKDIR}/${PROJ_P}/${PROJ_PN}/${PN}"
2122 -
2123 -# src_tarball is ONLY available in jersey-core
2124 -
2125 -java_prepare() {
2126 - sed \
2127 - -e "/@@GENTOO_PN@@/s,@@GENTOO_PN@@,${PN},g" \
2128 - -e "/@@GENTOO_PV@@/s,@@GENTOO_PV@@,${PV},g" \
2129 - <"${FILESDIR}"/generic-maven-build.xml \
2130 - >build.xml
2131 -
2132 - java-pkg_jar-from jsr311-api
2133 - java-pkg_jar-from jaxb-2
2134 - java-pkg_jar-from jaf
2135 - java-pkg_jar-from stax stax-api.jar
2136 - java-pkg_jar-from jersey-core
2137 - java-pkg_jar-from fastinfoset
2138 -}
2139 -
2140 -src_install() {
2141 - java-pkg_newjar target/${P}.jar ${PN}.jar
2142 - use doc && java-pkg_dojavadoc target/site/apidocs
2143 - use source && java-pkg_dosrc src/main/java
2144 -}
2145 -
2146 -src_test() {
2147 - EANT_GENTOO_CLASSPATH="junit ant-core" \
2148 - ANT_TASKS="ant-junit" \
2149 - eant test
2150 -}
2151
2152 diff --git a/dev-java/jersey-fastinfoset/metadata.xml b/dev-java/jersey-fastinfoset/metadata.xml
2153 deleted file mode 100644
2154 index a8562b8..0000000
2155 --- a/dev-java/jersey-fastinfoset/metadata.xml
2156 +++ /dev/null
2157 @@ -1,9 +0,0 @@
2158 -<?xml version="1.0" encoding="UTF-8"?>
2159 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
2160 -<pkgmetadata>
2161 -<herd>java</herd>
2162 -<maintainer>
2163 - <email>robbat2@g.o</email>
2164 - <description>Maintainer for actual Lucene issues.</description>
2165 -</maintainer>
2166 -</pkgmetadata>