[pkg-java] r7685 - trunk/doxia-sitetools/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Tue Dec 16 22:42:26 UTC 2008
Author: twerner
Date: 2008-12-16 22:42:26 +0000 (Tue, 16 Dec 2008)
New Revision: 7685
Added:
trunk/doxia-sitetools/debian/components.xml-decoration-model
trunk/doxia-sitetools/debian/components.xml-site-renderer
Modified:
trunk/doxia-sitetools/debian/changelog
trunk/doxia-sitetools/debian/rules
Log:
Add plexus component descriptors.
Modified: trunk/doxia-sitetools/debian/changelog
===================================================================
--- trunk/doxia-sitetools/debian/changelog 2008-12-16 22:27:41 UTC (rev 7684)
+++ trunk/doxia-sitetools/debian/changelog 2008-12-16 22:42:26 UTC (rev 7685)
@@ -1,3 +1,9 @@
+doxia-sitetools (1.0-alpha-11-3) unstable; urgency=low
+
+ * Add plexus component descriptors.
+
+ -- Torsten Werner <twerner at debian.org> Tue, 16 Dec 2008 23:36:08 +0100
+
doxia-sitetools (1.0-alpha-11-2) unstable; urgency=low
* Update for newest modello package.
Added: trunk/doxia-sitetools/debian/components.xml-decoration-model
===================================================================
--- trunk/doxia-sitetools/debian/components.xml-decoration-model (rev 0)
+++ trunk/doxia-sitetools/debian/components.xml-decoration-model 2008-12-16 22:42:26 UTC (rev 7685)
@@ -0,0 +1,9 @@
+<component-set>
+ <components>
+ <component>
+ <role>org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritanceAssembler</role>
+ <implementation>org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationModelInheritanceAssembler</implementation>
+ <description>Manage inheritance of the decoration model.</description>
+ </component>
+ </components>
+</component-set>
Added: trunk/doxia-sitetools/debian/components.xml-site-renderer
===================================================================
--- trunk/doxia-sitetools/debian/components.xml-site-renderer (rev 0)
+++ trunk/doxia-sitetools/debian/components.xml-site-renderer 2008-12-16 22:42:26 UTC (rev 7685)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+-->
+
+<component-set>
+ <components>
+ <component>
+ <role>org.codehaus.plexus.velocity.VelocityComponent</role>
+ <role-hint>doxia-default</role-hint>
+ <implementation>org.codehaus.plexus.velocity.DefaultVelocityComponent</implementation>
+ <configuration>
+ <properties>
+ <property>
+ <name>resource.loader</name>
+ <value>classpath,site</value>
+ </property>
+ <property>
+ <name>classpath.resource.loader.class</name>
+ <value>org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader</value>
+ </property>
+ <property>
+ <name>site.resource.loader.class</name>
+ <value>org.codehaus.plexus.velocity.SiteResourceLoader</value>
+ </property>
+ <property>
+ <name>runtime.log.invalid.references</name>
+ <value>false</value>
+ </property>
+ <property>
+ <name>velocimacro.messages.on</name>
+ <value>false</value>
+ </property>
+ <property>
+ <name>resource.manager.logwhenfound</name>
+ <value>false</value>
+ </property>
+
+ <property>
+ <name>velocimacro.permissions.allow.inline.to.replace.global</name>
+ <value>true</value>
+ </property>
+ </properties>
+ </configuration>
+ </component>
+
+ <!-- The Renderer component -->
+ <component>
+ <role>org.apache.maven.doxia.siterenderer.Renderer</role>
+ <role-hint>default</role-hint>
+ <implementation>org.apache.maven.doxia.siterenderer.DefaultSiteRenderer</implementation>
+ <requirements>
+ <requirement>
+ <role>org.codehaus.plexus.velocity.VelocityComponent</role>
+ <field-name>velocity</field-name>
+ <role-hint>doxia-default</role-hint>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.doxia.module.site.manager.SiteModuleManager</role>
+ <field-name>siteModuleManager</field-name>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.doxia.Doxia</role>
+ <field-name>doxia</field-name>
+ </requirement>
+ <requirement>
+ <role>org.codehaus.plexus.i18n.I18N</role>
+ <field-name>i18n</field-name>
+ </requirement>
+ </requirements>
+ </component>
+ </components>
+</component-set>
Modified: trunk/doxia-sitetools/debian/rules
===================================================================
--- trunk/doxia-sitetools/debian/rules 2008-12-16 22:27:41 UTC (rev 7684)
+++ trunk/doxia-sitetools/debian/rules 2008-12-16 22:42:26 UTC (rev 7685)
@@ -17,6 +17,12 @@
get-orig-source:
uscan --force-download
+makebuilddir/lib$(PACKAGE)-java::
+ install -d doxia-decoration-model/build/classes/META-INF/plexus/
+ install -m644 debian/components.xml-decoration-model doxia-decoration-model/build/classes/META-INF/plexus/components.xml
+ install -d doxia-site-renderer/build/classes/META-INF/plexus/
+ install -m644 debian/components.xml-site-renderer doxia-site-renderer/build/classes/META-INF/plexus/components.xml
+
binary-post-install/lib$(PACKAGE)-java::
dh_install -plib$(PACKAGE)-java doxia-decoration-model/build/doxia-decoration-model-$(VERSION).jar usr/share/java
dh_link -plib$(PACKAGE)-java usr/share/java/doxia-decoration-model-$(VERSION).jar usr/share/java/doxia-decoration-model.jar
More information about the pkg-java-commits
mailing list