1 |
commit: 6c14ba16acaa259f7076c6bfb806c429cce81372 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 16:45:00 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 16:45:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c14ba16 |
7 |
|
8 |
dev-java/mina-core: version bump |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-java/mina-core/Manifest | 1 + |
13 |
.../files/mina-core-2.0.7-maven-build.xml | 336 +++++++++++++++++++++ |
14 |
dev-java/mina-core/mina-core-2.0.7.ebuild | 39 +++ |
15 |
3 files changed, 376 insertions(+) |
16 |
|
17 |
diff --git a/dev-java/mina-core/Manifest b/dev-java/mina-core/Manifest |
18 |
index 64e68b6..4ea8505 100644 |
19 |
--- a/dev-java/mina-core/Manifest |
20 |
+++ b/dev-java/mina-core/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST apache-mina-2.0.7-src.tar.bz2 1953751 SHA256 619c309f21c5d315c3a6e40d1c94b155b83049832d7404c28f75a49aba14f8ff SHA512 406f5fe9c389dc0a2ebe602207e1c914fee308368d5a1e15815ae4c160a986a30a453a1bfb4e010452de87aa28a6817c02f0b5a669ad272fdf603084e994e57e WHIRLPOOL 38fb6597d819758dae7477c14002b3705119bc60e09a62b55da93fdd7516cf37cb609b2b55a9a3fd36427cc3775031b6376d8ca200de0883182a5d23c59b51c9 |
23 |
DIST mina-core-1.1.7-sources.jar 272148 SHA256 53890e14b238eab91f70459f01656a6afb520364b6238c8fa9c3855b02cf8573 SHA512 44f2f94aa356ce1b4ac0379ecec7b76b15210e54314c911bd8ba6d48910415363c9a34dc50e29b8e04ad08a371398ad9e2a00065a44b71c25caa3ef14a72b832 WHIRLPOOL 82f97287027e3c32ff489345ce385bd31325e0755ef9744f1a81a9cf295f8cde1bf0ba44b1afe506a3b08f37e601e55a88d4dd0936abe7c4eccf716962bd8943 |
24 |
|
25 |
diff --git a/dev-java/mina-core/files/mina-core-2.0.7-maven-build.xml b/dev-java/mina-core/files/mina-core-2.0.7-maven-build.xml |
26 |
new file mode 100644 |
27 |
index 0000000..a07a980 |
28 |
--- /dev/null |
29 |
+++ b/dev-java/mina-core/files/mina-core-2.0.7-maven-build.xml |
30 |
@@ -0,0 +1,336 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+ |
33 |
+<!-- ====================================================================== --> |
34 |
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
35 |
+<!-- ====================================================================== --> |
36 |
+ |
37 |
+<!-- ====================================================================== --> |
38 |
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
39 |
+<!-- ====================================================================== --> |
40 |
+<!-- --> |
41 |
+<!-- Any modifications will be overwritten. --> |
42 |
+<!-- --> |
43 |
+<!-- Generated by Maven Ant Plugin on 3/12/13 12:22 AM --> |
44 |
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
45 |
+<!-- --> |
46 |
+<!-- ====================================================================== --> |
47 |
+ |
48 |
+<project name="mina-core-from-maven" default="package" basedir="."> |
49 |
+ |
50 |
+ <!-- ====================================================================== --> |
51 |
+ <!-- Build environment properties --> |
52 |
+ <!-- ====================================================================== --> |
53 |
+ |
54 |
+ <property file="${user.home}/.m2/maven.properties"/> |
55 |
+ <property file="maven-build.properties"/> |
56 |
+ |
57 |
+ <property name="maven.build.finalName" value="mina-core-2.0.7"/> |
58 |
+ <property name="maven.build.dir" value="target"/> |
59 |
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
60 |
+ <property name="maven.build.srcDir.0" value="src/main/java"/> |
61 |
+ <property name="maven.build.resourceDir.0" value="src/main/resources"/> |
62 |
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
63 |
+ <property name="maven.build.testDir.0" value="src/test/java"/> |
64 |
+ <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
65 |
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
66 |
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
67 |
+ |
68 |
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
69 |
+ <property name="maven.settings.offline" value="false"/> |
70 |
+ <property name="maven.settings.interactiveMode" value="true"/> |
71 |
+ |
72 |
+ <!-- ====================================================================== --> |
73 |
+ <!-- Defining classpaths --> |
74 |
+ <!-- ====================================================================== --> |
75 |
+ |
76 |
+ <path id="build.classpath"> |
77 |
+ <pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar"/> |
78 |
+ </path> |
79 |
+ <path id="build.test.classpath"> |
80 |
+ <pathelement location="${maven.repo.local}/org/easymock/easymock/2.5.2/easymock-2.5.2.jar"/> |
81 |
+ <pathelement location="${maven.repo.local}/org/easymock/easymockclassextension/2.5.2/easymockclassextension-2.5.2.jar"/> |
82 |
+ <pathelement location="${maven.repo.local}/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar"/> |
83 |
+ <pathelement location="${maven.repo.local}/org/objenesis/objenesis/1.2/objenesis-1.2.jar"/> |
84 |
+ <pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar"/> |
85 |
+ <pathelement location="${maven.repo.local}/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar"/> |
86 |
+ <pathelement location="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"/> |
87 |
+ <pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/> |
88 |
+ <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/> |
89 |
+ </path> |
90 |
+ |
91 |
+ <!-- ====================================================================== --> |
92 |
+ <!-- Cleaning up target --> |
93 |
+ <!-- ====================================================================== --> |
94 |
+ |
95 |
+ <target name="clean" description="Clean the output directory"> |
96 |
+ <delete dir="${maven.build.dir}"/> |
97 |
+ </target> |
98 |
+ |
99 |
+ <!-- ====================================================================== --> |
100 |
+ <!-- Compilation target --> |
101 |
+ <!-- ====================================================================== --> |
102 |
+ |
103 |
+ <target name="compile" description="Compile the code"> |
104 |
+ <mkdir dir="${maven.build.outputDir}"/> |
105 |
+ <javac destdir="${maven.build.outputDir}" |
106 |
+ encoding="UTF-8" |
107 |
+ nowarn="false" |
108 |
+ debug="true" |
109 |
+ optimize="true" |
110 |
+ deprecation="true" |
111 |
+ target="1.5" |
112 |
+ verbose="false" |
113 |
+ fork="false" |
114 |
+ source="1.5"> |
115 |
+ <src> |
116 |
+ <pathelement location="${maven.build.srcDir.0}"/> |
117 |
+ </src> |
118 |
+ <classpath refid="build.classpath"/> |
119 |
+ </javac> |
120 |
+ <copy todir="${maven.build.outputDir}"> |
121 |
+ <fileset dir="${maven.build.resourceDir.0}"/> |
122 |
+ </copy> |
123 |
+ </target> |
124 |
+ |
125 |
+ <!-- ====================================================================== --> |
126 |
+ <!-- Test-compilation target --> |
127 |
+ <!-- ====================================================================== --> |
128 |
+ |
129 |
+ <target name="compile-tests" |
130 |
+ depends="compile" |
131 |
+ description="Compile the test code" |
132 |
+ unless="maven.test.skip"> |
133 |
+ <mkdir dir="${maven.build.testOutputDir}"/> |
134 |
+ <javac destdir="${maven.build.testOutputDir}" |
135 |
+ encoding="UTF-8" |
136 |
+ nowarn="false" |
137 |
+ debug="true" |
138 |
+ optimize="true" |
139 |
+ deprecation="true" |
140 |
+ target="1.5" |
141 |
+ verbose="false" |
142 |
+ fork="false" |
143 |
+ source="1.5"> |
144 |
+ <src> |
145 |
+ <pathelement location="${maven.build.testDir.0}"/> |
146 |
+ </src> |
147 |
+ <classpath> |
148 |
+ <path refid="build.test.classpath"/> |
149 |
+ <pathelement location="${maven.build.outputDir}"/> |
150 |
+ </classpath> |
151 |
+ </javac> |
152 |
+ <copy todir="${maven.build.testOutputDir}"> |
153 |
+ <fileset dir="${maven.build.testResourceDir.0}"/> |
154 |
+ </copy> |
155 |
+ </target> |
156 |
+ |
157 |
+ <!-- ====================================================================== --> |
158 |
+ <!-- Run all tests --> |
159 |
+ <!-- ====================================================================== --> |
160 |
+ |
161 |
+ <target name="test" |
162 |
+ depends="compile-tests, junit-missing" |
163 |
+ unless="junit.skipped" |
164 |
+ description="Run the test cases"> |
165 |
+ <mkdir dir="${maven.test.reports}"/> |
166 |
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
167 |
+ <sysproperty key="basedir" value="."/> |
168 |
+ <formatter type="xml"/> |
169 |
+ <formatter type="plain" usefile="false"/> |
170 |
+ <classpath> |
171 |
+ <path refid="build.test.classpath"/> |
172 |
+ <pathelement location="${maven.build.outputDir}"/> |
173 |
+ <pathelement location="${maven.build.testOutputDir}"/> |
174 |
+ </classpath> |
175 |
+ <batchtest todir="${maven.test.reports}" unless="test"> |
176 |
+ <fileset dir="${maven.build.testDir.0}"> |
177 |
+ <include name="**/Test*.java"/> |
178 |
+ <include name="**/*Test.java"/> |
179 |
+ <include name="**/*TestCase.java"/> |
180 |
+ <exclude name="**/Abstract*"/> |
181 |
+ <exclude name="**/*RegressionTest*"/> |
182 |
+ </fileset> |
183 |
+ </batchtest> |
184 |
+ <batchtest todir="${maven.test.reports}" if="test"> |
185 |
+ <fileset dir="${maven.build.testDir.0}"> |
186 |
+ <include name="**/${test}.java"/> |
187 |
+ <exclude name="**/Abstract*"/> |
188 |
+ <exclude name="**/*RegressionTest*"/> |
189 |
+ </fileset> |
190 |
+ </batchtest> |
191 |
+ </junit> |
192 |
+ </target> |
193 |
+ |
194 |
+ <target name="test-junit-present"> |
195 |
+ <available classname="junit.framework.Test" property="junit.present"/> |
196 |
+ </target> |
197 |
+ |
198 |
+ <target name="test-junit-status" |
199 |
+ depends="test-junit-present"> |
200 |
+ <condition property="junit.missing"> |
201 |
+ <and> |
202 |
+ <isfalse value="${junit.present}"/> |
203 |
+ <isfalse value="${maven.test.skip}"/> |
204 |
+ </and> |
205 |
+ </condition> |
206 |
+ <condition property="junit.skipped"> |
207 |
+ <or> |
208 |
+ <isfalse value="${junit.present}"/> |
209 |
+ <istrue value="${maven.test.skip}"/> |
210 |
+ </or> |
211 |
+ </condition> |
212 |
+ </target> |
213 |
+ |
214 |
+ <target name="junit-missing" |
215 |
+ depends="test-junit-status" |
216 |
+ if="junit.missing"> |
217 |
+ <echo>=================================== WARNING ===================================</echo> |
218 |
+ <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
219 |
+ <echo>===============================================================================</echo> |
220 |
+ </target> |
221 |
+ |
222 |
+ <!-- ====================================================================== --> |
223 |
+ <!-- Javadoc target --> |
224 |
+ <!-- ====================================================================== --> |
225 |
+ |
226 |
+ <target name="javadoc" description="Generates the Javadoc of the application"> |
227 |
+ <javadoc sourcepath="${maven.build.srcDir.0}" |
228 |
+ packagenames="*" |
229 |
+ destdir="${maven.reporting.outputDirectory}/apidocs" |
230 |
+ access="protected" |
231 |
+ old="false" |
232 |
+ verbose="false" |
233 |
+ version="true" |
234 |
+ use="true" |
235 |
+ author="true" |
236 |
+ splitindex="false" |
237 |
+ nodeprecated="false" |
238 |
+ nodeprecatedlist="false" |
239 |
+ notree="false" |
240 |
+ noindex="false" |
241 |
+ nohelp="false" |
242 |
+ nonavbar="false" |
243 |
+ serialwarn="false" |
244 |
+ charset="ISO-8859-1" |
245 |
+ linksource="false" |
246 |
+ breakiterator="false"/> |
247 |
+ </target> |
248 |
+ |
249 |
+ <!-- ====================================================================== --> |
250 |
+ <!-- Package target --> |
251 |
+ <!-- ====================================================================== --> |
252 |
+ |
253 |
+ <target name="package" depends="compile" description="Package the application"> |
254 |
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
255 |
+ compress="true" |
256 |
+ index="false" |
257 |
+ basedir="${maven.build.outputDir}" |
258 |
+ excludes="**/package.html"> |
259 |
+ </jar> |
260 |
+ </target> |
261 |
+ |
262 |
+ <!-- ====================================================================== --> |
263 |
+ <!-- A dummy target for the package named after the type it creates --> |
264 |
+ <!-- ====================================================================== --> |
265 |
+ |
266 |
+ <target name="jar" depends="package" description="Builds the jar for the application"/> |
267 |
+ |
268 |
+ <!-- ====================================================================== --> |
269 |
+ <!-- Download dependencies target --> |
270 |
+ <!-- ====================================================================== --> |
271 |
+ |
272 |
+ <target name="test-offline"> |
273 |
+ <condition property="maven.mode.offline"> |
274 |
+ <equals arg1="${maven.settings.offline}" arg2="true"/> |
275 |
+ </condition> |
276 |
+ </target> |
277 |
+ |
278 |
+ <target name="get-deps" |
279 |
+ depends="test-offline" |
280 |
+ description="Download all dependencies" |
281 |
+ unless="maven.mode.offline"> |
282 |
+ <mkdir dir="${maven.repo.local}"/> |
283 |
+ <mkdir dir="${maven.repo.local}/org/easymock/easymock/2.5.2"/> |
284 |
+ <get src="http://repository.apache.org/snapshots/org/easymock/easymock/2.5.2/easymock-2.5.2.jar" |
285 |
+ dest="${maven.repo.local}/org/easymock/easymock/2.5.2/easymock-2.5.2.jar" |
286 |
+ usetimestamp="false" |
287 |
+ ignoreerrors="true"/> |
288 |
+ <get src="http://repo.maven.apache.org/maven2/org/easymock/easymock/2.5.2/easymock-2.5.2.jar" |
289 |
+ dest="${maven.repo.local}/org/easymock/easymock/2.5.2/easymock-2.5.2.jar" |
290 |
+ usetimestamp="false" |
291 |
+ ignoreerrors="true"/> |
292 |
+ <mkdir dir="${maven.repo.local}/org/easymock/easymockclassextension/2.5.2"/> |
293 |
+ <get src="http://repository.apache.org/snapshots/org/easymock/easymockclassextension/2.5.2/easymockclassextension-2.5.2.jar" |
294 |
+ dest="${maven.repo.local}/org/easymock/easymockclassextension/2.5.2/easymockclassextension-2.5.2.jar" |
295 |
+ usetimestamp="false" |
296 |
+ ignoreerrors="true"/> |
297 |
+ <get src="http://repo.maven.apache.org/maven2/org/easymock/easymockclassextension/2.5.2/easymockclassextension-2.5.2.jar" |
298 |
+ dest="${maven.repo.local}/org/easymock/easymockclassextension/2.5.2/easymockclassextension-2.5.2.jar" |
299 |
+ usetimestamp="false" |
300 |
+ ignoreerrors="true"/> |
301 |
+ <mkdir dir="${maven.repo.local}/cglib/cglib-nodep/2.2"/> |
302 |
+ <get src="http://repository.apache.org/snapshots/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar" |
303 |
+ dest="${maven.repo.local}/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar" |
304 |
+ usetimestamp="false" |
305 |
+ ignoreerrors="true"/> |
306 |
+ <get src="http://repo.maven.apache.org/maven2/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar" |
307 |
+ dest="${maven.repo.local}/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar" |
308 |
+ usetimestamp="false" |
309 |
+ ignoreerrors="true"/> |
310 |
+ <mkdir dir="${maven.repo.local}/org/objenesis/objenesis/1.2"/> |
311 |
+ <get src="http://repository.apache.org/snapshots/org/objenesis/objenesis/1.2/objenesis-1.2.jar" |
312 |
+ dest="${maven.repo.local}/org/objenesis/objenesis/1.2/objenesis-1.2.jar" |
313 |
+ usetimestamp="false" |
314 |
+ ignoreerrors="true"/> |
315 |
+ <get src="http://repo.maven.apache.org/maven2/org/objenesis/objenesis/1.2/objenesis-1.2.jar" |
316 |
+ dest="${maven.repo.local}/org/objenesis/objenesis/1.2/objenesis-1.2.jar" |
317 |
+ usetimestamp="false" |
318 |
+ ignoreerrors="true"/> |
319 |
+ <mkdir dir="${maven.repo.local}/org/slf4j/slf4j-api/1.6.6"/> |
320 |
+ <get src="http://repository.apache.org/snapshots/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar" |
321 |
+ dest="${maven.repo.local}/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar" |
322 |
+ usetimestamp="false" |
323 |
+ ignoreerrors="true"/> |
324 |
+ <get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar" |
325 |
+ dest="${maven.repo.local}/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.jar" |
326 |
+ usetimestamp="false" |
327 |
+ ignoreerrors="true"/> |
328 |
+ <mkdir dir="${maven.repo.local}/org/slf4j/slf4j-log4j12/1.6.6"/> |
329 |
+ <get src="http://repository.apache.org/snapshots/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar" |
330 |
+ dest="${maven.repo.local}/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar" |
331 |
+ usetimestamp="false" |
332 |
+ ignoreerrors="true"/> |
333 |
+ <get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar" |
334 |
+ dest="${maven.repo.local}/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar" |
335 |
+ usetimestamp="false" |
336 |
+ ignoreerrors="true"/> |
337 |
+ <mkdir dir="${maven.repo.local}/log4j/log4j/1.2.17"/> |
338 |
+ <get src="http://repository.apache.org/snapshots/log4j/log4j/1.2.17/log4j-1.2.17.jar" |
339 |
+ dest="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar" |
340 |
+ usetimestamp="false" |
341 |
+ ignoreerrors="true"/> |
342 |
+ <get src="http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar" |
343 |
+ dest="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar" |
344 |
+ usetimestamp="false" |
345 |
+ ignoreerrors="true"/> |
346 |
+ <mkdir dir="${maven.repo.local}/junit/junit/4.10"/> |
347 |
+ <get src="http://repository.apache.org/snapshots/junit/junit/4.10/junit-4.10.jar" |
348 |
+ dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" |
349 |
+ usetimestamp="false" |
350 |
+ ignoreerrors="true"/> |
351 |
+ <get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar" |
352 |
+ dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" |
353 |
+ usetimestamp="false" |
354 |
+ ignoreerrors="true"/> |
355 |
+ <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/> |
356 |
+ <get src="http://repository.apache.org/snapshots/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" |
357 |
+ dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" |
358 |
+ usetimestamp="false" |
359 |
+ ignoreerrors="true"/> |
360 |
+ <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" |
361 |
+ dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" |
362 |
+ usetimestamp="false" |
363 |
+ ignoreerrors="true"/> |
364 |
+ </target> |
365 |
+ |
366 |
+</project> |
367 |
|
368 |
diff --git a/dev-java/mina-core/mina-core-2.0.7.ebuild b/dev-java/mina-core/mina-core-2.0.7.ebuild |
369 |
new file mode 100644 |
370 |
index 0000000..db63a53 |
371 |
--- /dev/null |
372 |
+++ b/dev-java/mina-core/mina-core-2.0.7.ebuild |
373 |
@@ -0,0 +1,39 @@ |
374 |
+# Copyright 1999-2016 Gentoo Foundation |
375 |
+# Distributed under the terms of the GNU General Public License v2 |
376 |
+# $Id$ |
377 |
+ |
378 |
+EAPI=5 |
379 |
+JAVA_PKG_IUSE="doc source" |
380 |
+ |
381 |
+inherit java-pkg-2 java-ant-2 |
382 |
+ |
383 |
+MY_P=apache-mina-${PV} |
384 |
+ |
385 |
+DESCRIPTION="MINA (Multipurpose Infrastructure for Network Application) core framework" |
386 |
+HOMEPAGE="http://mina.apache.org/" |
387 |
+SRC_URI="mirror://apache/mina/mina/${PV}/${MY_P}-src.tar.bz2" |
388 |
+KEYWORDS="~amd64 ~x86" |
389 |
+LICENSE="Apache-2.0" |
390 |
+SLOT="0" |
391 |
+ |
392 |
+COMMON_DEP="dev-java/slf4j-api:0" |
393 |
+RDEPEND=">=virtual/jre-1.5 |
394 |
+ ${COMMON_DEP}" |
395 |
+DEPEND=">=virtual/jdk-1.5 |
396 |
+ ${COMMON_DEP}" |
397 |
+ |
398 |
+S=${WORKDIR}/${MY_P}/src/${PN} |
399 |
+ |
400 |
+EANT_GENTOO_CLASSPATH="slf4j-api" |
401 |
+JAVA_ANT_REWRITE_CLASSPATH="true" |
402 |
+EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" |
403 |
+ |
404 |
+java_prepare() { |
405 |
+ cp "${FILESDIR}"/${P}-maven-build.xml build.xml || die |
406 |
+} |
407 |
+ |
408 |
+src_install() { |
409 |
+ java-pkg_dojar target/${PN}.jar |
410 |
+ use doc && java-pkg_dojavadoc target/site/apidocs |
411 |
+ use source && java-pkg_dosrc src/main/java/* |
412 |
+} |