[jboss-cvs] JBossAS SVN: r85920 - in projects/jboss-osgi/trunk: build and 5 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 16 07:54:45 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-03-16 07:54:45 -0400 (Mon, 16 Mar 2009)
New Revision: 85920

Added:
   projects/jboss-osgi/trunk/build/docbook/
   projects/jboss-osgi/trunk/build/docbook/en/
   projects/jboss-osgi/trunk/build/docbook/en/images/
   projects/jboss-osgi/trunk/build/docbook/en/master.xml
   projects/jboss-osgi/trunk/build/docbook/en/modules/
   projects/jboss-osgi/trunk/build/docbook/en/modules/gettingstarted.xml
   projects/jboss-osgi/trunk/build/docbook/en/modules/introduction.xml
   projects/jboss-osgi/trunk/build/docbook/pom.xml
Modified:
   projects/jboss-osgi/trunk/build/distribution/pom.xml
   projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml
   projects/jboss-osgi/trunk/pom.xml
Log:
Add docbook - first cut

Modified: projects/jboss-osgi/trunk/build/distribution/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/build/distribution/pom.xml	2009-03-16 11:40:51 UTC (rev 85919)
+++ projects/jboss-osgi/trunk/build/distribution/pom.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -101,6 +101,27 @@
       <classifier>sources</classifier>
       <version>${version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.jboss.osgi</groupId>
+      <artifactId>jboss-osgi-userguide</artifactId>
+      <classifier>pdf</classifier>
+      <version>${version}</version>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.osgi</groupId>
+      <artifactId>jboss-osgi-userguide</artifactId>
+      <classifier>html</classifier>
+      <version>${version}</version>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.osgi</groupId>
+      <artifactId>jboss-osgi-userguide</artifactId>
+      <classifier>html_single</classifier>
+      <version>${version}</version>
+      <type>war</type>
+    </dependency>
 
     <!-- javadoc -->
     <dependency>

Modified: projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml
===================================================================
--- projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml	2009-03-16 11:40:51 UTC (rev 85919)
+++ projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -93,6 +93,12 @@
       <!-- JBossOSGi Docs -->
       <file src="@{deploy.artifacts.dir}/lib/jboss-osgi-runtime-spi-javadoc.jar" targetdir="$INSTALL_PATH/docs/apidocs"
         unpack="true" override="true" />
+      <file src="@{deploy.artifacts.dir}/lib/jboss-osgi-userguide-html.war" targetdir="$INSTALL_PATH/docs/userguide/html"
+        unpack="true" override="true" />
+      <file src="@{deploy.artifacts.dir}/lib/jboss-osgi-userguide-html_single.war" targetdir="$INSTALL_PATH/docs/userguide/html_single"
+        unpack="true" override="true" />
+      <file src="@{deploy.artifacts.dir}/lib/jboss-osgi-userguide-pdf.war" targetdir="$INSTALL_PATH/docs/userguide/pdf"
+        unpack="true" override="true" />
       
       <!-- JBossOSGi Lib -->
       <fileset dir="@{deploy.artifacts.dir}/lib" targetdir="$INSTALL_PATH/lib" override="true">


Property changes on: projects/jboss-osgi/trunk/build/docbook
___________________________________________________________________
Name: svn:ignore
   + target


Added: projects/jboss-osgi/trunk/build/docbook/en/master.xml
===================================================================
--- projects/jboss-osgi/trunk/build/docbook/en/master.xml	                        (rev 0)
+++ projects/jboss-osgi/trunk/build/docbook/en/master.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
+"../dtd/docbookx.dtd" [
+<!ENTITY introduction SYSTEM "modules/introduction.xml">
+<!ENTITY gettingstarted SYSTEM "modules/gettingstarted.xml">
+<!ENTITY version "1.0.0.Alpha3">
+]>
+
+<book lang="en">
+  <bookinfo>
+    <title>JBossOSGi</title>
+    <subtitle>User Guide</subtitle>
+    <releaseinfo>&version;</releaseinfo>
+    <mediaobject>
+      <imageobject>
+        <imagedata fileref="images/jbpm_logotype_jpdl.svg" align="center" />
+      </imageobject>
+    </mediaobject>
+  </bookinfo>
+
+  <toc />
+
+  &introduction;
+  &gettingstarted;
+  
+</book>
\ No newline at end of file


Property changes on: projects/jboss-osgi/trunk/build/docbook/en/master.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/trunk/build/docbook/en/modules/gettingstarted.xml
===================================================================
--- projects/jboss-osgi/trunk/build/docbook/en/modules/gettingstarted.xml	                        (rev 0)
+++ projects/jboss-osgi/trunk/build/docbook/en/modules/gettingstarted.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -0,0 +1,19 @@
+<chapter id="gettingstarted">
+
+  <title>Getting Started</title>
+  
+  <para>This chapter takes you through the first steps of getting JBossOSGi and 
+  provides the initial pointers to get up and running in no time.</para>
+  
+  <section id="download_and_install">  
+    <title>Downloading and Installing JBossOSGi</title>
+  </section>
+  
+  <section>
+    <title>The JBossOSGi Wiki</title>
+    <para>The <ulink url="http://www.jboss.org/community/docs/DOC-13273">JBossOSGi Wiki</ulink> provides 
+    news, details about forums, mailing lists, issue tracker, downloads, source repositories, etc.
+    </para>
+  </section>
+  
+</chapter>
\ No newline at end of file


Property changes on: projects/jboss-osgi/trunk/build/docbook/en/modules/gettingstarted.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/trunk/build/docbook/en/modules/introduction.xml
===================================================================
--- projects/jboss-osgi/trunk/build/docbook/en/modules/introduction.xml	                        (rev 0)
+++ projects/jboss-osgi/trunk/build/docbook/en/modules/introduction.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -0,0 +1,18 @@
+<chapter id="introduction">
+
+  <title>Introduction</title>
+  
+  <para>The <ulink url="http://www2.osgi.org/Release4/HomePage">Open Services Gateway Initiative (OSGi)</ulink>, 
+  specifications define a standardized, component-oriented, computing environment for networked services that is the foundation 
+  of an enhanced service-oriented architecture.</para>
+
+  <para>The OSGi specification defines two things:</para>
+
+  <itemizedlist>
+    <listitem><para>A set of services that an OSGi container must implement</para></listitem>
+    <listitem><para>A contract between the container and your application</para></listitem>
+  </itemizedlist>
+
+  <para>Developing on the OSGi platform means first building your application using OSGi APIs, then deploying it in an OSGi container.</para>
+  
+</chapter>


Property changes on: projects/jboss-osgi/trunk/build/docbook/en/modules/introduction.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/trunk/build/docbook/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/build/docbook/pom.xml	                        (rev 0)
+++ projects/jboss-osgi/trunk/build/docbook/pom.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- ====================================================================== -->
+  <!--                                                                        -->
+  <!--  JBoss, the OpenSource J2EE webOS                                      -->
+  <!--                                                                        -->
+  <!--  Distributable under LGPL license.                                     -->
+  <!--  See terms of license at http://www.gnu.org.                           -->
+  <!--                                                                        -->
+  <!-- ====================================================================== -->
+
+  <!-- $Id$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <name>JBossOSGi - Userguide</name>
+  <groupId>org.jboss.osgi</groupId>
+  <artifactId>jboss-osgi-userguide</artifactId>
+  <packaging>jdocbook</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jboss.osgi</groupId>
+    <artifactId>jboss-osgi</artifactId>
+    <version>1.0.0.Alpha3</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Plugins -->
+  <build>
+    <plugins>
+      <!--
+        Maven JDocbook Plugin 
+        http://www.jboss.org/maven-jdocbook-plugin 
+        
+        mvn jdocbook:generate
+        mvn jdocbook:bundle
+      -->
+      <plugin>
+        <groupId>org.jboss.maven.plugins</groupId>
+        <artifactId>maven-jdocbook-plugin</artifactId>
+        <version>2.0.0</version>
+        <extensions>true</extensions>
+        <dependencies>
+          <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-docbook-xslt</artifactId>
+            <version>1.0.0</version>
+          </dependency>
+          <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-jdocbook-style</artifactId>
+            <version>1.0.0</version>
+            <type>jdocbook-style</type>
+          </dependency>
+        </dependencies>
+        <configuration>
+          <sourceDocumentName>master.xml</sourceDocumentName>
+          <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+          <imageResource>
+            <directory>${pom.basedir}/en</directory>
+            <includes>
+              <include>images/**/*</include>
+            </includes>
+          </imageResource>
+          <!--
+          <cssResource>
+            <directory>src/main/css</directory>
+          </cssResource>
+          -->
+          <formats>
+            <format>
+              <formatName>pdf</formatName>
+              <stylesheetResource>classpath:/xslt/org/jboss/main-pdf.xsl</stylesheetResource>
+              <finalName>${pom.name}.pdf</finalName>
+            </format>
+            <format>
+              <formatName>html</formatName>
+              <stylesheetResource>classpath:/xslt/org/jboss/main-html.xsl</stylesheetResource>
+              <finalName>index.html</finalName>
+            </format>
+            <format>
+              <formatName>html_single</formatName>
+              <stylesheetResource>classpath:/xslt/org/jboss/nochunk-html.xsl</stylesheetResource>
+              <finalName>index.html</finalName>
+            </format>
+          </formats>
+          <options>
+            <xincludeSupported>true</xincludeSupported>
+            <xmlTransformerType>saxon</xmlTransformerType>
+            <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+            <!-- could also locate the docbook dependency and inspect its version... -->
+            <docbookVersion>1.72.0</docbookVersion>
+          </options>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>


Property changes on: projects/jboss-osgi/trunk/build/docbook/pom.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: projects/jboss-osgi/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/pom.xml	2009-03-16 11:40:51 UTC (rev 85919)
+++ projects/jboss-osgi/trunk/pom.xml	2009-03-16 11:54:45 UTC (rev 85920)
@@ -24,6 +24,7 @@
     <url>http://fisheye.jboss.com/qsearch/JBossOSGi/</url>
   </scm>
 
+  <!-- Modules -->
   <modules>
     <module>microcontainer</module>
     <module>repository</module>
@@ -32,6 +33,7 @@
     <module>testsuite</module>
   </modules>
 
+  <!-- Properties -->
   <properties>
     <version.aqute.bnd>0.0.249</version.aqute.bnd>
     <version.felix.configadmin>1.0.10</version.felix.configadmin>
@@ -58,6 +60,7 @@
     <version.org.jboss.test>1.0.5.GA</version.org.jboss.test>
   </properties>
 
+  <!-- DependencyManagement -->
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -231,6 +234,8 @@
   </dependencyManagement>
 
   <build>
+  
+    <!-- Plugins -->
     <plugins>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -251,6 +256,7 @@
       </plugin>
     </plugins>
 
+    <!-- PluginManagement -->
     <pluginManagement>
       <plugins>
         <plugin>
@@ -276,6 +282,7 @@
     </pluginManagement>
   </build>
 
+  <!-- Repositories -->
   <repositories>
     <repository>
       <id>repository.jboss.org</id>
@@ -300,6 +307,18 @@
     </repository>
   </repositories>
 
+  <!-- PluginRepositories -->
+  <pluginRepositories>
+    <pluginRepository>
+      <id>repository.jboss.org</id>
+      <url>http://repository.jboss.org/maven2</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </pluginRepository>
+  </pluginRepositories>
+  
+  <!-- Reporting -->
   <reporting>
     <plugins>
       <plugin>
@@ -349,6 +368,7 @@
       <id>distro</id>
       <modules>
         <module>build/distribution</module>
+        <module>build/docbook</module>
       </modules>
       <build>
         <plugins>




More information about the jboss-cvs-commits mailing list