Gentoo Archives: gentoo-commits

From: "Johann Schmitz (ercpe)" <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/slf4j-nop/files: 1.7.5-build.xml
Date: Sat, 30 Nov 2013 09:45:55
Message-Id: 20131130094551.AB91E2004E@flycatcher.gentoo.org
1 ercpe 13/11/30 09:45:51
2
3 Added: 1.7.5-build.xml
4 Log:
5 Version bump of slf4j-nop to 1.7.5
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
8
9 Revision Changes Path
10 1.1 dev-java/slf4j-nop/files/1.7.5-build.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/slf4j-nop/files/1.7.5-build.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/slf4j-nop/files/1.7.5-build.xml?rev=1.1&content-type=text/plain
14
15 Index: 1.7.5-build.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18
19 <project name="slf4j-nop-from-maven" default="jar" basedir=".">
20 <property file="${user.home}/.m2/maven.properties" />
21 <property file="maven-build.properties" />
22
23 <property name="maven.build.finalName" value="slf4j-nop" />
24 <property name="maven.build.dir" value="target" />
25 <property name="maven.build.outputDir" value="${maven.build.dir}/classes" />
26 <property name="maven.build.srcDir.0" value="src/main/java" />
27 <property name="maven.build.resourceDir.0" value="src/main/resources" />
28 <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" />
29 <property name="maven.build.testDir.0" value="src/test/java" />
30 <property name="maven.build.testResourceDir.0" value="src/test/resources" />
31 <property name="maven.test.reports" value="${maven.build.dir}/test-reports" />
32 <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" />
33
34 <property name="maven.repo.local" value="${user.home}/.m2/repository" />
35 <property name="maven.settings.offline" value="false" />
36 <property name="maven.settings.interactiveMode" value="true" />
37
38 <path id="build.classpath"/>
39 <path id="build.test.classpath" />
40
41 <target name="clean" description="Clean the output directory">
42 <delete dir="${maven.build.dir}" />
43 </target>
44
45 <target name="compile" description="Compile the code">
46 <mkdir dir="${maven.build.outputDir}" />
47 <javac destdir="${maven.build.outputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.5" verbose="false" fork="false" source="1.5">
48 <src>
49 <pathelement location="${maven.build.srcDir.0}" />
50 </src>
51 <classpath refid="build.classpath" />
52 </javac>
53 <copy todir="${maven.build.outputDir}">
54 <fileset dir="${maven.build.resourceDir.0}" />
55 </copy>
56 </target>
57
58 <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip">
59 <mkdir dir="${maven.build.testOutputDir}" />
60 <javac destdir="${maven.build.testOutputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.5" verbose="false" fork="false" source="1.5">
61 <src>
62 <pathelement location="${maven.build.testDir.0}" />
63 </src>
64 <classpath>
65 <path refid="build.test.classpath" />
66 <pathelement location="${maven.build.outputDir}" />
67 </classpath>
68 </javac>
69 </target>
70
71 <target name="test" depends="compile-tests" description="Run the test cases">
72 <mkdir dir="${maven.test.reports}" />
73 <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
74 <sysproperty key="basedir" value="." />
75 <formatter type="xml" />
76 <formatter type="plain" usefile="false" />
77 <classpath>
78 <path refid="build.test.classpath" />
79 <pathelement location="${maven.build.outputDir}" />
80 <pathelement location="${maven.build.testOutputDir}" />
81 </classpath>
82 <batchtest todir="${maven.test.reports}" unless="test">
83 <fileset dir="${maven.build.testDir.0}">
84 <include name="**/Test*.java" />
85 <include name="**/*Test.java" />
86 <include name="**/*TestCase.java" />
87 <exclude name="**/AllTest.java" />
88 <exclude name="**/PackageTest.java" />
89 </fileset>
90 </batchtest>
91 <batchtest todir="${maven.test.reports}" if="test">
92 <fileset dir="${maven.build.testDir.0}">
93 <include name="**/${test}.java" />
94 <exclude name="**/AllTest.java" />
95 <exclude name="**/PackageTest.java" />
96 </fileset>
97 </batchtest>
98 </junit>
99 </target>
100
101
102 <target name="javadoc" description="Generates the Javadoc of the application">
103 <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" access="protected" old="false" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="ISO-8859-1" linksource="false" breakiterator="false" />
104 </target>
105
106 <target name="jar" depends="compile" description="Package the application">
107 <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="false" basedir="${maven.build.outputDir}" excludes="**/package.html" />
108 </target>
109 </project>