* New upstream release:
- Drop all previous patches.
- d/control: Build-Depends on libcommons-net2-java, junit4,
libcommons-compress-java.
* Bump Standards-Version 3.9.2: no changes needed.
* d/copyright: Use DEP-5 format.
* Switch to Maven build system:
- d/patches/skip_examples.diff: Don't build examples module.
- d/patches/disable_webdav_provider.diff: Disable webdav provider.
- Drop B-D on ant, but add B-D on maven-debian-helper
- Use ${maven:Depends} and ${maven:OptionalDepends} for Depends
and Recommends.
* d/docs: Update for new release.
Damien Raude-Morvan
12 years ago
0 | commons-vfs (2.0-1) unstable; urgency=low | |
1 | ||
2 | * New upstream release: | |
3 | - Drop all previous patches. | |
4 | - d/control: Build-Depends on libcommons-net2-java, junit4, | |
5 | libcommons-compress-java. | |
6 | * Bump Standards-Version 3.9.2: no changes needed. | |
7 | * d/copyright: Use DEP-5 format. | |
8 | * Switch to Maven build system: | |
9 | - d/patches/skip_examples.diff: Don't build examples module. | |
10 | - d/patches/disable_webdav_provider.diff: Disable webdav provider. | |
11 | - Drop B-D on ant, but add B-D on maven-debian-helper | |
12 | - Use ${maven:Depends} and ${maven:OptionalDepends} for Depends | |
13 | and Recommends. | |
14 | * d/docs: Update for new release. | |
15 | ||
16 | -- Damien Raude-Morvan <drazzib@debian.org> Sun, 11 Sep 2011 00:44:27 +0200 | |
17 | ||
0 | 18 | commons-vfs (1.0-6) unstable; urgency=low |
1 | 19 | |
2 | 20 | * Team upload |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
4 | 4 | Uploaders: Damien Raude-Morvan <drazzib@debian.org> |
5 | Build-Depends-Indep: ant-optional, junit, libcommons-net-java, libcommons-logging-java, | |
6 | libcommons-httpclient-java, libcommons-collections3-java, libjsch-java, maven-repo-helper | |
7 | Build-Depends: ant, debhelper (>= 7), cdbs, default-jdk | |
8 | Standards-Version: 3.9.1 | |
5 | Build-Depends-Indep: ant-doc, | |
6 | junit4, | |
7 | libcommons-collections3-java, | |
8 | libcommons-collections3-java-doc, | |
9 | libcommons-compress-java, | |
10 | libcommons-httpclient-java, | |
11 | libcommons-httpclient-java-doc, | |
12 | libcommons-logging-java, | |
13 | libcommons-logging-java-doc, | |
14 | libcommons-net2-java, | |
15 | libcommons-net2-java-doc, | |
16 | libjdom1-java-doc, | |
17 | libjsch-java, | |
18 | libmaven-antrun-plugin-java, | |
19 | libmaven-javadoc-plugin-java | |
20 | Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper | |
21 | Standards-Version: 3.9.2 | |
9 | 22 | Homepage: http://commons.apache.org/vfs/ |
10 | 23 | Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-vfs |
11 | 24 | Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-vfs |
12 | 25 | |
13 | 26 | Package: libcommons-vfs-java |
14 | 27 | Architecture: all |
15 | Depends: ${misc:Depends}, libcommons-logging-java | |
16 | Recommends: libcommons-net-java, libcommons-httpclient-java, libcommons-collections3-java, libjsch-java | |
28 | Depends: ${maven:Depends}, ${misc:Depends} | |
29 | Recommends: ${maven:OptionalDepends} | |
17 | 30 | Suggests: libcommons-vfs-java-doc |
18 | 31 | Description: Java API for accessing various filesystems |
19 | 32 | Commons VFS provides a single API for accessing various different file |
27 | 40 | Architecture: all |
28 | 41 | Section: doc |
29 | 42 | Depends: ${misc:Depends} |
43 | Recommends: default-jdk-doc | |
30 | 44 | Suggests: libcommons-vfs-java |
31 | 45 | Description: Java API for accessing various filesystems - documentation |
32 | 46 | Commons VFS provides a single API for accessing various different file |
0 | This package was debianized by Damien Raude-Morvan <drazzib@drazzib.com> | |
1 | ||
2 | It was downloaded from http://commons.apache.org/vfs | |
3 | ||
4 | Upstream Authors: Adam Murdoch <adammurdoch@apache.org> | |
0 | Format: http://dep.debian.net/deps/dep5/ | |
1 | Upstream-Name: Apache Commons VFS | |
2 | Upstream-Contact: http://commons.apache.org/vfs/ | |
3 | Source: http://www.apache.org/dist/commons/vfs/ | |
4 | Comment: | |
5 | Upstream Authors: Adam Murdoch <adammurdoch@apache.org> | |
5 | 6 | James Strachan <jstrachan@apache.org> |
6 | 7 | Mario Ivankovits <imario@apache.org> |
7 | 8 | Rahul Akolkar <rahul@apache.org> |
9 | 10 | Anthony Goubard <adagoubard@chello.nl> |
10 | 11 | Christopher Ottley <xknight@users.sourceforge.net> |
11 | 12 | |
12 | Copyright: © 2002-2008 The Apache Software Foundation | |
13 | Files: * | |
14 | Copyright: Copyright 2002-2011 The Apache Software Foundation | |
15 | License: Apache-2.0 | |
13 | 16 | |
14 | License: Apache 2.0 | |
17 | Files: debian/* | |
18 | Copyright: Copyright (C) 2008-2011, Damien Raude-Morvan <drazzib@drazzib.com> | |
19 | License: Apache-2.0 | |
15 | 20 | |
16 | On Debian systems the full text of the Apache License can be found | |
17 | in `/usr/share/common-licenses/Apache-2.0'. | |
18 | ||
19 | The Debian packaging is | |
20 | Copyright (C) 2008, Damien Raude-Morvan <drazzib@drazzib.com> | |
21 | and is licensed under the BSD, see `/usr/share/common-licenses/BSD'. | |
21 | License: Apache-2.0 | |
22 | On Debian systems the full text of the Apache License can be found | |
23 | in `/usr/share/common-licenses/Apache-2.0'. |
0 | dist/docs/api /usr/share/doc/libcommons-vfs-java/ | |
0 | target/site/apidocs/* /usr/share/doc/libcommons-vfs-java/api/ |
0 | core/pom.xml --no-parent | |
0 | pom.xml --no-parent | |
1 | examples/pom.xml | |
2 | core/pom.xml | |
3 | dist/pom.xml --ignore |
0 | # Maven ignore rules - ignore some Maven dependencies and plugins | |
1 | # Format of this file is: | |
2 | # [group] [artifact] [type] [version] [classifier] [scope] | |
3 | # where each element can be either | |
4 | # - the exact string, for example org.apache for the group, or 3.1 | |
5 | # for the version. In this case, the element is simply matched | |
6 | # and left as it is | |
7 | # - * (the star character, alone). In this case, anything will | |
8 | # match and be left as it is. For example, using * on the | |
9 | # position of the artifact field will match any artifact id | |
10 | # All elements much match before a rule can be applied | |
11 | # Example rule: match jar with groupid= junit, artifactid= junit | |
12 | # and version starting with 3., this dependency is then removed | |
13 | # from the POM | |
14 | # junit junit jar s/3\\..*/3.x/ | |
15 | ||
16 | org.codehaus.mojo findbugs-maven-plugin * * * * | |
17 | org.apache.maven.plugins maven-checkstyle-plugin * * * * | |
18 | org.apache.maven.plugins maven-changes-plugin * * * * | |
19 | org.apache.commons commons-build-plugin * * * * | |
20 | ||
21 | org.apache.jackrabbit jackrabbit-webdav * * * *⏎ |
0 | junit junit jar s/3\..*/3.x/ | |
0 | junit junit jar s/4\..*/4.x/ | |
1 | 1 | s/ant/org.apache.ant/ * * s/.*/debian/ |
2 | 2 | commons-collections commons-collections jar s/3\..*/3.x/ |
3 | 3 | s/jdom/org.jdom/ * * s/.*/debian/ |
4 | 4 | commons-httpclient commons-httpclient jar s/.*/3.x/ |
5 | commons-net commons-net jar s/1\..*/1.x/ | |
5 | commons-net commons-net jar s/2\..*/2.x/ |
0 | Description: Adapt build.xml file to Debian packaging | |
1 | - Remove build.classpath variable | |
2 | - Remove get.deps target | |
3 | Author: Damien Raude-Morvan <drazzib@drazzib.com> | |
4 | Forwarded: not-needed | |
5 | Origin: vendor | |
6 | Last-Update: 2009-07-16 | |
7 | --- a/build.xml | |
8 | +++ b/build.xml | |
9 | @@ -36,32 +36,6 @@ | |
10 | </property> | |
11 | <property name="proxy.password" value=""> | |
12 | </property> | |
13 | - <path id="build.classpath"> | |
14 | - <pathelement location="${libdir}/ant/jars/ant-1.6.2.jar"> | |
15 | - </pathelement> | |
16 | - <pathelement location="${libdir}/commons-net/jars/commons-net-1.4.1.jar"> | |
17 | - </pathelement> | |
18 | - <pathelement location="${libdir}/commons-logging/jars/commons-logging-1.0.4.jar"> | |
19 | - </pathelement> | |
20 | - <pathelement location="${libdir}/commons-collections/jars/commons-collections-3.1.jar"> | |
21 | - </pathelement> | |
22 | - <pathelement location="${libdir}/jcifs/jars/jcifs-0.8.3.jar"> | |
23 | - </pathelement> | |
24 | - <pathelement location="${libdir}/slide/jars/jakarta-slide-webdavlib-20050629.161100.jar"> | |
25 | - </pathelement> | |
26 | - <pathelement location="${libdir}/jdom/jars/jdom-1.0.jar"> | |
27 | - </pathelement> | |
28 | - <pathelement location="${libdir}/commons-httpclient/jars/commons-httpclient-2.0.2.jar"> | |
29 | - </pathelement> | |
30 | - <pathelement location="${libdir}/com.jcraft/jars/jsch-0.1.23.jar"> | |
31 | - </pathelement> | |
32 | - <pathelement location="${libdir}/xml-apis/jars/xml-apis-1.0.b2.jar"> | |
33 | - </pathelement> | |
34 | - <pathelement location="${libdir}/oro/jars/oro-2.0.8.jar"> | |
35 | - </pathelement> | |
36 | - <pathelement location="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar"> | |
37 | - </pathelement> | |
38 | - </path> | |
39 | <target name="init" description="o Initializes some properties"> | |
40 | <mkdir dir="${libdir}"> | |
41 | </mkdir> | |
42 | @@ -86,7 +60,7 @@ | |
43 | </and> | |
44 | </condition> | |
45 | </target> | |
46 | - <target name="compile" description="o Compile the code" depends="get-deps"> | |
47 | + <target name="compile" description="o Compile the code"> | |
48 | <mkdir dir="${classesdir}"> | |
49 | </mkdir> | |
50 | <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> | |
51 | @@ -94,8 +68,6 @@ | |
52 | <pathelement location="${basedir}/core/src/main/java"> | |
53 | </pathelement> | |
54 | </src> | |
55 | - <classpath refid="build.classpath"> | |
56 | - </classpath> | |
57 | </javac> | |
58 | <copy todir="${classesdir}"> | |
59 | <fileset dir="${basedir}/core/src/main/java"> | |
60 | @@ -151,8 +123,6 @@ | |
61 | <formatter usefile="false" type="plain"> | |
62 | </formatter> | |
63 | <classpath> | |
64 | - <path refid="build.classpath"> | |
65 | - </path> | |
66 | <pathelement path="${testclassesdir}"> | |
67 | </pathelement> | |
68 | <pathelement path="${classesdir}"> | |
69 | @@ -184,14 +154,12 @@ | |
70 | </pathelement> | |
71 | </src> | |
72 | <classpath> | |
73 | - <path refid="build.classpath"> | |
74 | - </path> | |
75 | <pathelement path="${classesdir}"> | |
76 | </pathelement> | |
77 | </classpath> | |
78 | </javac> | |
79 | </target> | |
80 | - <target name="javadoc" description="o Generate javadoc" depends="get-deps"> | |
81 | + <target name="javadoc" description="o Generate javadoc"> | |
82 | <mkdir dir="${javadocdir}"> | |
83 | </mkdir> | |
84 | <tstamp> | |
85 | @@ -203,10 +171,6 @@ | |
86 | <property name="title" value="Commons VFS 1.0 API"> | |
87 | </property> | |
88 | <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/core/src/main/java" packagenames="org.apache.commons.vfs.*"> | |
89 | - <classpath> | |
90 | - <path refid="build.classpath"> | |
91 | - </path> | |
92 | - </classpath> | |
93 | </javadoc> | |
94 | </target> | |
95 | <target name="get-dep-ant.jar" description="o Download the dependency : ant.jar" unless="ant.jar" depends="init,setProxy,noProxy,get-custom-dep-ant.jar"> |
0 | Description: (build.xml) Don't use user.home as many buildd | |
1 | don't have a $HOME directory | |
2 | Author: Damien Raude-Morvan <drazzib@drazzib.com> | |
3 | Forwarded: not-needed | |
4 | Origin: vendor | |
5 | Last-Update: 2009-07-16 | |
6 | --- a/build.xml | |
7 | +++ b/build.xml | |
8 | @@ -8,14 +8,10 @@ | |
9 | ||
10 | <property file="build.properties"> | |
11 | </property> | |
12 | - <property file="${user.home}/build.properties"> | |
13 | - </property> | |
14 | <!--Build properties--> | |
15 | ||
16 | <property name="defaulttargetdir" value="${basedir}/target"> | |
17 | </property> | |
18 | - <property name="libdir" value="${user.home}/.maven/repository"> | |
19 | - </property> | |
20 | <property name="classesdir" value="${basedir}/target/classes"> | |
21 | </property> | |
22 | <property name="testclassesdir" value="${basedir}/target/test-classes"> | |
23 | @@ -37,8 +33,6 @@ | |
24 | <property name="proxy.password" value=""> | |
25 | </property> | |
26 | <target name="init" description="o Initializes some properties"> | |
27 | - <mkdir dir="${libdir}"> | |
28 | - </mkdir> | |
29 | <condition property="noget"> | |
30 | <equals arg2="only" arg1="${build.sysclasspath}"> | |
31 | </equals> |
0 | Description: Disable webdav module (source code build and javadoc package) | |
1 | because jackrabbit JCR provider is not yet in Debian. | |
2 | Author: Damien Raude-Morvan <drazzib@debian.org> | |
3 | Last-Update: 2011-09-11 | |
4 | Forwarded: not-needed | |
5 | Index: b/core/pom.xml | |
6 | =================================================================== | |
7 | --- a/core/pom.xml | |
8 | +++ b/core/pom.xml | |
9 | @@ -167,6 +167,36 @@ | |
10 | </configuration> | |
11 | </plugin> | |
12 | ||
13 | + <plugin> | |
14 | + <artifactId>maven-compiler-plugin</artifactId> | |
15 | + <executions> | |
16 | + <execution> | |
17 | + <id>default-compile</id> | |
18 | + <phase>compile</phase> | |
19 | + <configuration> | |
20 | + <excludes> | |
21 | + <exclude>**/webdav/*</exclude> | |
22 | + </excludes> | |
23 | + </configuration> | |
24 | + <goals> | |
25 | + <goal>compile</goal> | |
26 | + </goals> | |
27 | + </execution> | |
28 | + <execution> | |
29 | + <id>default-testCompile</id> | |
30 | + <phase>test-compile</phase> | |
31 | + <configuration> | |
32 | + <testExcludes> | |
33 | + <exclude>**/webdav/test/*</exclude> | |
34 | + </testExcludes> | |
35 | + </configuration> | |
36 | + <goals> | |
37 | + <goal>testCompile</goal> | |
38 | + </goals> | |
39 | + </execution> | |
40 | + </executions> | |
41 | + </plugin> | |
42 | + | |
43 | </plugins> | |
44 | </build> | |
45 | <profiles> | |
46 | Index: b/pom.xml | |
47 | =================================================================== | |
48 | --- a/pom.xml | |
49 | +++ b/pom.xml | |
50 | @@ -243,6 +243,7 @@ | |
51 | </tag> | |
52 | </tags> | |
53 | <aggregate>true</aggregate> | |
54 | + <excludePackageNames>*.webdav.*</excludePackageNames> | |
55 | </configuration> | |
56 | </plugin> | |
57 | <plugin> |
0 | 01_build-xml-nodownload.diff | |
1 | 02_no_home_dir.diff | |
0 | disable_webdav_provider.diff | |
1 | skip_examples.diff |
0 | Description: Disable examples module. | |
1 | Author: Damien Raude-Morvan <drazzib@debian.org> | |
2 | Last-Update: 2011-09-11 | |
3 | Forwarded: not-needed | |
4 | ||
5 | Index: b/pom.xml | |
6 | =================================================================== | |
7 | --- a/pom.xml | |
8 | +++ b/pom.xml | |
9 | @@ -38,8 +38,10 @@ | |
10 | ||
11 | <modules> | |
12 | <module>core</module> | |
13 | +<!-- | |
14 | <module>examples</module> | |
15 | <module>dist</module> | |
16 | +--> | |
17 | </modules> | |
18 | ||
19 | <issueManagement> |
1 | 1 | # debian/rules for commons-vfs |
2 | 2 | |
3 | 3 | include /usr/share/cdbs/1/rules/debhelper.mk |
4 | include /usr/share/cdbs/1/class/ant.mk | |
4 | include /usr/share/cdbs/1/class/maven.mk | |
5 | 5 | |
6 | 6 | JAVA_HOME := /usr/lib/jvm/default-java |
7 | DEB_JARS := commons-net.jar commons-logging.jar commons-collections3.jar commons-httpclient.jar jsch.jar | |
8 | DEB_ANT_BUILD_TARGET := dist | |
9 | #DEB_ANT_CHECK_TARGET := test | |
10 | ||
11 | 7 | PACKAGE := $(DEB_SOURCE_PACKAGE) |
12 | 8 | VERSION := $(DEB_UPSTREAM_VERSION) |
13 | 9 | |
14 | binary-post-install/lib$(PACKAGE)-java:: | |
15 | mh_installpoms -plib$(PACKAGE)-java | |
16 | mh_installjar -plib$(PACKAGE)-java -l core/pom.xml target/$(PACKAGE)-$(VERSION).jar | |
17 | ||
18 | clean:: | |
19 | -rm -rf debian/tmp | |
10 | DEB_MAVEN_DOC_TARGET := javadoc:aggregate | |
20 | 11 | |
21 | 12 | get-orig-source: |
22 | 13 | uscan --force-download --rename |