debian/0000755000000000000000000000000011570427436007177 5ustar debian/patches/0000755000000000000000000000000011570427436010626 5ustar debian/patches/qdox1_9.patch0000644000000000000000000001540211265713260013127 0ustar Description: Fix build with Debian QDox version Updated patch for QDox 1.9.2 as JavaDocBuilder doesn't implement javaCache any longer. Author: Ludovic Claude Author: Damien Raude-Morvan Last-Update: 2009-10-14 --- a/src/main/java/org/codehaus/plexus/cdc/PlexusDefaultComponentGleaner.java +++ b/src/main/java/org/codehaus/plexus/cdc/PlexusDefaultComponentGleaner.java @@ -35,8 +35,8 @@ import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.JavaClassCache; import com.thoughtworks.qdox.model.JavaField; +import com.thoughtworks.qdox.JavaDocBuilder; import org.codehaus.plexus.component.repository.cdc.ComponentDescriptor; import org.codehaus.plexus.component.repository.cdc.ComponentRequirement; import org.codehaus.plexus.component.repository.cdc.ComponentRequirementList; @@ -92,7 +92,7 @@ // ComponentGleaner Implementation // ---------------------------------------------------------------------- - public ComponentDescriptor glean( JavaClassCache classCache, JavaClass javaClass ) + public ComponentDescriptor glean( JavaDocBuilder classCache, JavaClass javaClass ) throws ComponentDescriptorCreatorException { DocletTag tag = javaClass.getTagByName( PLEXUS_COMPONENT_TAG ); @@ -274,7 +274,7 @@ String fqn = ifc.getFullyQualifiedName(); - String pkg = ifc.getPackage(); + String pkg = ifc.getPackage().getName(); if ( pkg == null ) { @@ -292,7 +292,7 @@ // prepend the gleaned class' package // ----------------------------------------------------------------------- - pkg = javaClass.getPackage(); + pkg = javaClass.getPackage().getName(); fqn = pkg + "." + fqn; } @@ -335,7 +335,7 @@ return role; } - private void findRequirements( JavaClassCache classCache, ComponentDescriptor componentDescriptor, + private void findRequirements( JavaDocBuilder classCache, ComponentDescriptor componentDescriptor, JavaClass javaClass ) { JavaField[] fields = javaClass.getFields(); @@ -445,7 +445,7 @@ JavaClass roleClass = classCache.getClassByName( role ); - if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage() ) ) + if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage().getName() ) ) { role = javaClass.getPackage() + "." + roleClass.getName(); } --- a/src/main/java/org/codehaus/plexus/cdc/gleaner/QDoxComponentGleaner.java +++ b/src/main/java/org/codehaus/plexus/cdc/gleaner/QDoxComponentGleaner.java @@ -35,8 +35,8 @@ import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.JavaClassCache; import com.thoughtworks.qdox.model.JavaField; +import com.thoughtworks.qdox.JavaDocBuilder; import org.codehaus.plexus.component.repository.cdc.ComponentDescriptor; import org.codehaus.plexus.component.repository.cdc.ComponentRequirement; import org.codehaus.plexus.component.repository.cdc.ComponentRequirementList; @@ -91,7 +91,7 @@ // ComponentGleaner Implementation // ---------------------------------------------------------------------- - public ComponentDescriptor glean( JavaClassCache classCache, JavaClass javaClass ) + public ComponentDescriptor glean( JavaDocBuilder classCache, JavaClass javaClass ) throws ComponentGleanerException { DocletTag tag = javaClass.getTagByName( PLEXUS_COMPONENT_TAG ); @@ -271,7 +271,7 @@ String fqn = ifc.getFullyQualifiedName(); - String pkg = ifc.getPackage(); + String pkg = ifc.getPackage().getName(); if ( pkg == null ) { @@ -289,7 +289,7 @@ // prepend the gleaned class' package // ----------------------------------------------------------------------- - pkg = javaClass.getPackage(); + pkg = javaClass.getPackage().getName(); fqn = pkg + "." + fqn; } @@ -331,7 +331,7 @@ return role; } - private void findRequirements( JavaClassCache classCache, ComponentDescriptor componentDescriptor, + private void findRequirements( JavaDocBuilder classCache, ComponentDescriptor componentDescriptor, JavaClass javaClass ) { JavaField[] fields = javaClass.getFields(); @@ -441,7 +441,7 @@ JavaClass roleClass = classCache.getClassByName( role ); - if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage() ) ) + if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage().getName() ) ) { role = javaClass.getPackage() + "." + roleClass.getName(); } @@ -543,4 +543,4 @@ return value; } -} \ No newline at end of file +} --- a/src/main/java/org/codehaus/plexus/cdc/ComponentGleaner.java +++ b/src/main/java/org/codehaus/plexus/cdc/ComponentGleaner.java @@ -25,7 +25,7 @@ */ import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.JavaClassCache; +import com.thoughtworks.qdox.JavaDocBuilder; import org.codehaus.plexus.cdc.gleaner.SourceComponentGleaner; import org.codehaus.plexus.component.repository.cdc.ComponentDescriptor; @@ -39,6 +39,6 @@ { String ROLE = ComponentGleaner.class.getName(); - ComponentDescriptor glean( JavaClassCache classCache, JavaClass javaClass ) + ComponentDescriptor glean( JavaDocBuilder classCache, JavaClass javaClass ) throws ComponentDescriptorCreatorException; } --- a/src/main/java/org/codehaus/plexus/cdc/gleaner/SourceComponentGleaner.java +++ b/src/main/java/org/codehaus/plexus/cdc/gleaner/SourceComponentGleaner.java @@ -17,7 +17,7 @@ package org.codehaus.plexus.cdc.gleaner; import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.JavaClassCache; +import com.thoughtworks.qdox.JavaDocBuilder; import org.codehaus.plexus.cdc.gleaner.ComponentGleanerException; import org.codehaus.plexus.component.repository.cdc.ComponentDescriptor; @@ -30,5 +30,5 @@ { String ROLE = SourceComponentGleaner.class.getName(); - ComponentDescriptor glean(JavaClassCache classCache, JavaClass javaClass) throws ComponentGleanerException; -} \ No newline at end of file + ComponentDescriptor glean(JavaDocBuilder classCache, JavaClass javaClass) throws ComponentGleanerException; +} debian/patches/series0000644000000000000000000000001611225230314012020 0ustar qdox1_9.patch debian/libplexus-cdc-java.poms0000644000000000000000000000002411225230314013530 0ustar pom.xml --no-parent debian/control0000644000000000000000000000261611570427132010600 0ustar Source: plexus-cdc Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner , Damien Raude-Morvan Build-Depends: debhelper (>= 7), cdbs, default-jdk Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional, libplexus-containers-java, libplexus-utils-java, libslf4j-java, libjdom1-java, libqdox-java (>= 1.11) Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-cdc Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-cdc/ Homepage: http://plexus.codehaus.org/guides/quick-start/component-descriptor-creator.html Package: libplexus-cdc-java Architecture: all Depends: ${misc:Depends}, libplexus-containers-java, libplexus-utils-java, libslf4j-java, libjdom1-java, libqdox-java (>= 1.11) Description: Plexus Component Descriptor Creator The Plexus project provides a full software stack for creating and executing software projects. Based on the Plexus container, the applications can utilise component-oriented programming to build modular, reusable components that can easily be assembled and reused. . The Component Descriptor Creator (or CDC for short) is a tool that will create the components.xml file from your Java code. It uses JavaDoc tags to gather the information it needs to create the component descriptor. debian/watch0000644000000000000000000000005211265713526010224 0ustar # There is no svn tag for plexus-cdc! :-( debian/source/0000755000000000000000000000000011570427436010477 5ustar debian/source/format0000644000000000000000000000001411370201600011662 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000375711570427015011056 0ustar plexus-cdc (1.0~alpha14-6) unstable; urgency=low [ Torsten Werner ] * Switch to source format 3.0. [ Damien Raude-Morvan ] * Bump Standards-Version to 3.9.2: no changes needed. * Fix FTBFS: remove version param (deprecated in debian-ant-helper) and use POM version (Closes: #628361). * Use mh_clean in clean rule. * Bump to debhelper 7 compat level. -- Damien Raude-Morvan Sun, 29 May 2011 13:26:19 +0200 plexus-cdc (1.0~alpha14-5) unstable; urgency=low * Bump Standards-Version to 3.8.4, no change * Update qdox to 1.11 -- Ludovic Claude Fri, 26 Mar 2010 22:51:22 +0100 plexus-cdc (1.0~alpha14-4) unstable; urgency=low * Fix FTBFS with new QDox 1.9.2 (Closes: 545667) - Update qdox_1.9 patch for QDox 1.9.2 "JavaDocBuilder doesn't implement javaCache any longer" * Add myself to Uploaders * Bump Standards-Version to 3.8.3: - Add debian/README.source to describe patch system - Add debian/watch just to warn about missing tags in upstream svn -- Damien Raude-Morvan Thu, 15 Oct 2009 23:42:05 +0200 plexus-cdc (1.0~alpha14-3) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 23:16:21 +0200 plexus-cdc (1.0~alpha14-2) experimental; urgency=low * Change section to java, bump up Standards-Version to 3.8.1 * Add the Maven POM to the package * Add a Build-Depends-Indep dependency on maven-repo-helper * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Remove the patch for the POM as it's no longer needed * Change the build dependency on openjdk-6-jdk to default-jdk * Remove the dependencies on Java runtimes as this is a library. -- Ludovic Claude Sun, 17 May 2009 18:55:16 +0100 plexus-cdc (1.0~alpha14-1) unstable; urgency=low * Initial release. (Closes: #508465) -- Torsten Werner Tue, 09 Dec 2008 20:13:45 +0100 debian/rules0000755000000000000000000000146511570425273010262 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -s "s/~alpha/-alpha-/") JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := ant-nodeps slf4j-api qdox jdom1 plexus-container-default plexus-utils DEB_ANT_BUILD_TARGET := package #javadoc DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) API_DOCS := target/api binary-post-install/lib$(PACKAGE)-java:: mh_installpoms -plib$(PACKAGE)-java mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(VERSION).jar clean:: mh_clean get-orig-source: sh -e debian/orig-tar.sh debian/copyright0000644000000000000000000000441211120223605011112 0ustar This package was debianized by Torsten Werner Sat Nov 29 17:33:45 CET 2008 plexus-io was downloaded from http://plexus.codehaus.org Copyright: 2006-2008 The Codehaus Foundation License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The full text of the license can be found in '/usr/share/common-licenses/Apache-2.0'. ---------- Files: src/main/java/org/codehaus/plexus/cdc/*.java src/main/java/org/codehaus/plexus/cdc/gleaner/ComponentGleanerException.java src/main/java/org/codehaus/plexus/cdc/gleaner/QDoxComponentGleaner.java src/main/java/org/codehaus/plexus/cdc/merge/* test/java/org/codehaus/plexus/cdc/merge/ComponentsXmlMergerTest.java Copyright: 2006 The Codehaus Foundation License: The MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/orig-tar.sh0000755000000000000000000000072411225230314011245 0ustar #!/bin/sh -e # There is no svn tag for plexus-cdc! :-( VERSION=1.0-alpha-14 REVISION=7576 DEBVERSION=$(echo $VERSION | sed -e's,-alpha-,~alpha,') TAR=../plexus-cdc_$DEBVERSION.orig.tar.gz DIR=plexus-cdc-$VERSION svn export -r$REVISION http://svn.codehaus.org/plexus/archive/plexus-cdc $DIR tar -c -z -f $TAR $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/build.properties0000644000000000000000000000010311225230314012366 0ustar javadoc.dir=target/api build.directory=target maven.test.skip=true debian/compat0000644000000000000000000000000211570424360010366 0ustar 7 debian/maven.rules0000644000000000000000000000010611225230314011336 0ustar s/jdom/org.jdom/ jdom jar s/1\..*/debian/ junit junit jar s/3\..*/3.x/