Codebase list libcommons-validator-java / c1a8a46
* New version Ludovic Claude 14 years ago
10 changed file(s) with 370 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
0 libcommons-validator-java (1:1.3.1-5) unstable; urgency=low
1
2 * Change section to java, bump up Standards-Version to 3.8.1
3 * Add the Maven POM to the package,
4 * Add a Build-Depends-Indep dependency on maven-repo-helper
5 * Use mh_installpom and mh_installjar to install the POM and the jar to the
6 Maven repository
7 * Add ${misc:Depends} to Depends to clear Lintian warnings
8 * Remove Depends on Java runtimes as it is a library
9 * Move liboro-java to Recommends as this library is optional
10 * Use default-jdk for the build instead of java-gcj-compat-dev
11 * Put the Javadoc into a separate doc package
12
13 -- Ludovic Claude <ludovic.claude@laposte.net> Thu, 02 jul 2009 14:12:30 +0100
14
015 libcommons-validator-java (1:1.3.1-4) unstable; urgency=low
116
217 [ Emmanuel Bourg ]
22 Priority: optional
33 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
44 Uploaders: Arnaud Vandyck <avdyk@debian.org>, Kumar Appaiah <akumar@debian.org>, Varun Hiremath <varun@debian.org>
5 Build-Depends: debhelper (>= 7), cdbs
6 Build-Depends-Indep: default-jdk, ant, junit (>= 3.8.1), libcommons-beanutils-java (>= 1.5), libcommons-collections-java (>= 2.1), libcommons-digester-java (>= 1.4), libcommons-logging-java (>= 1.0.3), liboro-java (>= 2.0.6), sgml-base, rhino
5 Build-Depends: debhelper (>= 7), cdbs, default-jdk
6 Build-Depends-Indep: maven-repo-helper, ant, junit (>= 3.8.1), libcommons-beanutils-java (>= 1.7),
7 libcommons-collections-java (>= 2.1), libcommons-digester-java (>= 1.6), libcommons-logging-java (>= 1.0.6),
8 liboro-java (>= 2.0.8), sgml-base, rhino
79 Standards-Version: 3.8.1
810 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-validator-java
911 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-validator-java
1113
1214 Package: libcommons-validator-java
1315 Architecture: all
14 Depends: ${misc:Depends}, default-jre | java2-runtime, libcommons-beanutils-java (>= 1.5), libcommons-collections-java (>= 2.1), libcommons-digester-java (>= 1.4), libcommons-logging-java (>= 1.0.3), liboro-java (>= 2.0.6), sgml-base, rhino
16 Depends: ${misc:Depends}, libcommons-beanutils-java (>= 1.7), libcommons-collections-java (>= 2.1),
17 libcommons-digester-java (>= 1.6), libcommons-logging-java (>= 1.0.4), sgml-base, rhino
18 Recommends: liboro-java (>= 2.0.8)
1519 Description: ease and speed development and maintenance of validation rules
1620 The Commons Validator is a basic validation framework
1721 that lets you define validation rules for a JavaBean
1923 .
2024 Validation rules can be defined in an xml file which
2125 keeps them abstracted from JavaBean you are validating.
26
27 Package: libcommons-validator-java-doc
28 Section: doc
29 Architecture: all
30 Depends: ${misc:Depends}
31 Description: API documentation for Commons Validator
32 The Commons Validator is a basic validation framework
33 that lets you define validation rules for a JavaBean
34 in an xml file.
35 .
36 Validation rules can be defined in an xml file which
37 keeps them abstracted from JavaBean you are validating.
38 .
39 This package contains the API documentation for libcommons-validator-java.
1515 Henri Yandell,
1616 Ben Speakmon
1717
18 Copyright: © 2002-2008 The Apache Software Foundation
18 Copyright: 2002-2008 The Apache Software Foundation
1919
2020 License: Apache 2.0
2121
0 Document: libcommons-validator-java-doc
1 Title: Programmer API for Commons Validator
2 Author: Apache Commons Validator developers
3 Abstract: The Commons Validator is a basic validation framework
4 that lets you define validation rules for a JavaBean
5 in an xml file.
6 Section: Programming
7
8 Format: HTML
9 Index: /usr/share/doc/libcommons-validator-java-doc/api/index.html
10 Files: /usr/share/doc/libcommons-validator-java-doc/api/*
0 debian/pom.xml --no-parent
0 debian/commons-validator_1_0_1.cat /usr/share/sgml/apache/jakarta/validator/catalog
0 junit junit jar s/3\..*/3.x/
1
0 <?xml version="1.0" encoding="UTF-8"?><project>
1 <modelVersion>4.0.0</modelVersion>
2 <groupId>commons-validator</groupId>
3 <artifactId>commons-validator</artifactId>
4 <name>Validator</name>
5 <version>1.3.1</version>
6 <description>Commons Validator provides the building blocks for both client side validation
7 and server side data validation. It may be used standalone or with a framework like
8 Struts.</description>
9 <url>http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url>
10 <issueManagement>
11 <url>http://issues.apache.org/jira/</url>
12 </issueManagement>
13 <ciManagement>
14 <notifiers>
15 <notifier>
16 <configuration>
17 <address>commons-dev@jakarta.apache.org</address>
18 </configuration>
19 </notifier>
20 </notifiers>
21 </ciManagement>
22 <inceptionYear>2002</inceptionYear>
23 <mailingLists>
24 <mailingList>
25 <name>Commons Dev List</name>
26 <subscribe>commons-dev-subscribe@jakarta.apache.org</subscribe>
27 <unsubscribe>commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
28 <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/</archive>
29 </mailingList>
30 <mailingList>
31 <name>Commons User List</name>
32 <subscribe>commons-user-subscribe@jakarta.apache.org</subscribe>
33 <unsubscribe>commons-user-unsubscribe@jakarta.apache.org</unsubscribe>
34 <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/</archive>
35 </mailingList>
36 </mailingLists>
37 <developers>
38 <developer>
39 <id>mrdon</id>
40 <name>Don Brown</name>
41 <email>mrdon@apache.org</email>
42 </developer>
43 <developer>
44 <id>martinc</id>
45 <name>Martin Cooper</name>
46 <email>martinc@apache.org</email>
47 </developer>
48 <developer>
49 <id>dgraham</id>
50 <name>David Graham</name>
51 <email>dgraham@apache.org</email>
52 </developer>
53 <developer>
54 <id>husted</id>
55 <name>Ted Husted</name>
56 <email>husted@apache.org</email>
57 </developer>
58 <developer>
59 <id>rleland</id>
60 <name>Rob Leland</name>
61 <email>rleland at apache.org</email>
62 </developer>
63 <developer>
64 <id>craigmcc</id>
65 <name>Craig McClanahan</name>
66 <email>craigmcc@apache.org</email>
67 </developer>
68 <developer>
69 <id>jmitchell</id>
70 <name>James Mitchell</name>
71 <email>jmitchell NOSPAM apache.org</email>
72 <organization>EdgeTech, Inc</organization>
73 </developer>
74 <developer>
75 <id>niallp</id>
76 <name>Niall Pemberton</name>
77 </developer>
78 <developer>
79 <id>turner</id>
80 <name>James Turner</name>
81 <email>turner@apache.org</email>
82 </developer>
83 <developer>
84 <id>dwinterfeldt</id>
85 <name>David Winterfeldt</name>
86 <email>dwinterfeldt@apache.org</email>
87 </developer>
88 <developer>
89 <id>bayard</id>
90 <name>Henri Yandell</name>
91 </developer>
92 </developers>
93 <contributors>
94 <contributor>
95 <name>Saul Q Yuan Add</name>
96 </contributor>
97 <contributor>
98 <name>Shane Bailey</name>
99 </contributor>
100 <contributor>
101 <name>Dave Derry</name>
102 </contributor>
103 <contributor>
104 <name>Tim O'Brien</name>
105 </contributor>
106 <contributor>
107 <name>Scott Clasen</name>
108 <email>ticktock@speakeasy.net></email>
109 </contributor>
110 <contributor>
111 <name>Marcus Brito Finish</name>
112 </contributor>
113 <contributor>
114 <name>Padma Ginnaram</name>
115 </contributor>
116 <contributor>
117 <name>Thomas Jacob</name>
118 <email>thomas.jacob@sinnerschrader.com</email>
119 </contributor>
120 <contributor>
121 <name>Adam Kramer</name>
122 </contributor>
123 <contributor>
124 <name>Greg Ludington</name>
125 </contributor>
126 <contributor>
127 <name>Bjorn-H. Moritz</name>
128 </contributor>
129 <contributor>
130 <name>David Neuer</name>
131 <email>DavidNeuer@nascopgh.com</email>
132 </contributor>
133 <contributor>
134 <name>Kurt Post</name>
135 </contributor>
136 <contributor>
137 <name>Arun Mammen Thomas</name>
138 </contributor>
139 <contributor>
140 <name>Steven Fines</name>
141 <email>steven.fines@cotelligent.com</email>
142 </contributor>
143 <contributor>
144 <name>Didier Romelot</name>
145 <email>didier.romelot@renault.com</email>
146 </contributor>
147 <contributor>
148 <name>Steve Stair</name>
149 </contributor>
150 <contributor>
151 <name>Jeremy Tan</name>
152 <email>jeremytan@scualum.com</email>
153 </contributor>
154 <contributor>
155 <name>94RGt2</name>
156 <email>lmagee@biziworks.com.au</email>
157 </contributor>
158 <contributor>
159 <name>Nacho G. Mac Dowell</name>
160 </contributor>
161 <contributor>
162 <name>Mark Lowe</name>
163 <email>mark.lowe@boxstuff.com</email>
164 </contributor>
165 </contributors>
166 <licenses>
167 <license>
168 <name>The Apache Software License, Version 2.0</name>
169 <url>/LICENSE.txt</url>
170 </license>
171 </licenses>
172 <scm>
173 <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</connection>
174 <url>http://svn.apache.org/viewvc</url>
175 </scm>
176 <organization>
177 <name>The Apache Software Foundation</name>
178 <url>http://jakarta.apache.org</url>
179 </organization>
180 <build>
181 <sourceDirectory>src/share</sourceDirectory>
182 <testSourceDirectory>src/test</testSourceDirectory>
183 <resources>
184 <resource>
185 <targetPath>META-INF</targetPath>
186 <directory>${basedir}</directory>
187 <includes>
188 <include>NOTICE.txt</include>
189 </includes>
190 </resource>
191 </resources>
192 <testResources>
193 <testResource>
194 <directory>${pom.build.unitTestSourceDirectory}</directory>
195 <includes>
196 <include>**/*.xml</include>
197 </includes>
198 </testResource>
199 </testResources>
200 <plugins>
201 <plugin>
202 <artifactId>maven-surefire-plugin</artifactId>
203 <configuration>
204 <includes>
205 <include>**/*Test.java</include>
206 </includes>
207 <excludes>
208 <exclude>**/routines/BaseCalendarValidatorTest.java</exclude>
209 <exclude>**/routines/BaseNumberValidatorTest.java</exclude>
210 </excludes>
211 </configuration>
212 </plugin>
213 <plugin>
214 <artifactId>maven-xdoc-plugin</artifactId>
215 <version>1.9.2</version>
216 <configuration>
217 <comment>&lt;strong>Site Only&lt;/strong> - v1.9.2 (minimum)
218 required for building the Validator Site documentation.</comment>
219 </configuration>
220 </plugin>
221 <plugin>
222 <artifactId>maven-changelog-plugin</artifactId>
223 <version>1.8.2</version>
224 <configuration>
225 <comment>&lt;strong>Site Only&lt;/strong> - v1.8.2 (minimum)
226 required for building the Validator Site documentation.</comment>
227 </configuration>
228 </plugin>
229 <plugin>
230 <artifactId>maven-changes-plugin</artifactId>
231 <version>1.6</version>
232 <configuration>
233 <comment>&lt;strong>Site Only&lt;/strong> - v1.6 (minimum)
234 required for building the Validator Site documentation.</comment>
235 </configuration>
236 </plugin>
237 <plugin>
238 <groupId>maven-plugins</groupId>
239 <artifactId>maven-cobertura-plugin</artifactId>
240 <version>1.1.1</version>
241 <configuration>
242 <scope>test</scope>
243 <comment>Required only for generating test coverage reports.</comment>
244 </configuration>
245 </plugin>
246 </plugins>
247 </build>
248 <dependencies>
249 <dependency>
250 <groupId>commons-beanutils</groupId>
251 <artifactId>commons-beanutils</artifactId>
252 <version>1.7.0</version>
253 </dependency>
254 <dependency>
255 <groupId>commons-digester</groupId>
256 <artifactId>commons-digester</artifactId>
257 <version>1.6</version>
258 </dependency>
259 <dependency>
260 <groupId>commons-logging</groupId>
261 <artifactId>commons-logging</artifactId>
262 <version>1.0.4</version>
263 </dependency>
264 <dependency>
265 <groupId>oro</groupId>
266 <artifactId>oro</artifactId>
267 <version>2.0.8</version>
268 <optional>true</optional>
269 </dependency>
270 <dependency>
271 <groupId>xml-apis</groupId>
272 <artifactId>xml-apis</artifactId>
273 <version>2.0.2</version>
274 <scope>provided</scope>
275 </dependency>
276 <dependency>
277 <groupId>junit</groupId>
278 <artifactId>junit</artifactId>
279 <version>3.8.1</version>
280 <scope>test</scope>
281 </dependency>
282 </dependencies>
283 <distributionManagement>
284 <repository>
285 <id>default</id>
286 <name>Default Repository</name>
287 <url>file:///www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}/</url>
288 </repository>
289 <site>
290 <id>default</id>
291 <name>Default Site</name>
292 <url>scp://people.apache.org//www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url>
293 </site>
294 <status>converted</status>
295 </distributionManagement>
296 </project>
66 include /usr/share/cdbs/1/rules/debhelper.mk
77 include /usr/share/cdbs/1/class/ant.mk
88
9 PACKAGE := $(DEB_SOURCE_PACKAGE)
10 VERSION := $(DEB_UPSTREAM_VERSION)
911 JAVA_HOME := /usr/lib/jvm/default-java
1012 DEB_JARS := junit commons-beanutils commons-collections commons-digester commons-logging oro
1113 DEB_ANT_BUILD_TARGET := dist
1214
13 DEB_INSTALL_DIRS_ALL := usr/share/java usr/share/sgml/apache/jakarta/validator
14 DEB_INSTALL_DOCS_ALL := NOTICE.txt dist/docs/*
15 clean::
16 $(RM) debian/install debian/sgmlcatalogs
1517
16 LIBRARY=commons-validator
17
18 clean::
19 $(RM) debian/install debian/links debian/sgmlcatalogs
20
21 install/lib${LIBRARY}-java::
18 install/$(PACKAGE)::
2219 cp conf/share/*.dtd dist/
2320 $(RM) dist/RELEASE-NOTES.txt
24 echo "dist/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar usr/share/java" > debian/install
25 echo "dist/*.dtd usr/share/sgml/apache/jakarta/validator" >> debian/install
26 echo "usr/share/java/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/links
27 echo "debian/commons-validator_1_0_1.cat /usr/share/sgml/apache/jakarta/validator/catalog" > debian/sgmlcatalogs
21 dh_install -p$(PACKAGE) dist/*.dtd usr/share/sgml/apache/jakarta/validator
22 mh_installpoms -p$(PACKAGE)
23 mh_installjar -p$(PACKAGE) -l debian/pom.xml dist/commons-validator-$(VERSION).jar
24
25 install/$(PACKAGE)-doc::
26 mv dist/docs/apidocs dist/docs/api
27
28 clean::
29 -rm -rf debian/tmp
2830
2931 get-orig-source:
30 -uscan --upstream-version 0 --rename
32 -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
33
34 get-orig-pom:
35 wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/commons-validator/commons-validator/$(VERSION)/commons-validator-$(VERSION).pom
36