You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by an...@apache.org on 2015/03/09 16:53:51 UTC

[1/2] activemq-6 git commit: Build WebSite JavaDoc on default and update links

Repository: activemq-6
Updated Branches:
  refs/heads/master 8af60b10a -> 5a0ff8fce


Build WebSite JavaDoc on default and update links


Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/140d06a4
Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/140d06a4
Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/140d06a4

Branch: refs/heads/master
Commit: 140d06a49a13c29dbe6af0a385c4ed96885ef32b
Parents: 8af60b1
Author: Martyn Taylor <mt...@redhat.com>
Authored: Mon Mar 9 15:13:20 2015 +0000
Committer: Martyn Taylor <mt...@redhat.com>
Committed: Mon Mar 9 15:13:20 2015 +0000

----------------------------------------------------------------------
 activemq-website/pom.xml                        | 79 +++++++++++---------
 .../src/main/resources/examples/index.html      |  4 +-
 activemq-website/src/main/resources/index.html  |  1 +
 .../src/main/resources/user-manual/index.html   | 26 +++++++
 distribution/activemq/pom.xml                   | 23 ++----
 5 files changed, 77 insertions(+), 56 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/140d06a4/activemq-website/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-website/pom.xml b/activemq-website/pom.xml
index 479511b..53c1b89 100644
--- a/activemq-website/pom.xml
+++ b/activemq-website/pom.xml
@@ -66,45 +66,50 @@
      <webapp-outdir>${basedir}/target/classes/user-manual</webapp-outdir>
    </properties>
 
+   <build>
+      <plugins>
+         <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.10.1</version>
+            <executions>
+               <execution>
+                  <id>javadoc-jar</id>
+                  <phase>package</phase>
+                  <goals>
+                     <goal>jar</goal>
+                  </goals>
+                  <configuration>
+                     <useStandardDocletOptions>true</useStandardDocletOptions>
+                     <minmemory>128m</minmemory>
+                     <maxmemory>512m</maxmemory>
+                     <quiet>false</quiet>
+                     <!-- switch on dependency-driven aggregation -->
+                     <includeDependencySources>true</includeDependencySources>
+
+                     <dependencySourceIncludes>
+                        <!-- include ONLY dependencies I control -->
+                        <dependencySourceInclude>org.apache.activemq:activemq-core-client</dependencySourceInclude>
+                        <dependencySourceInclude>org.apache.activemq:activemq-jms-client</dependencySourceInclude>
+                        <dependencySourceInclude>org.apache.activemq:activemq-server</dependencySourceInclude>
+                        <dependencySourceInclude>org.apache.activemq:activemq-jms-server</dependencySourceInclude>
+                        <dependencySourceInclude>org.apache.activemq:activemq-journal</dependencySourceInclude>
+                        <dependencySourceInclude>org.apache.activemq:activemq-selector</dependencySourceInclude>
+                     </dependencySourceIncludes>
+                     <quiet>false</quiet>
+                     <aggregate>true</aggregate>
+                     <excludePackageNames>org.apache.activemq.core:org.apache.activemq.utils</excludePackageNames>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+      </plugins>
+   </build>
+
    <profiles>
       <profile>
          <id>release</id>
          <build>
              <plugins>
-                 <plugin>
-                     <artifactId>maven-javadoc-plugin</artifactId>
-                     <version>2.10.1</version>
-                     <executions>
-                         <execution>
-                             <id>javadoc-jar</id>
-                             <phase>package</phase>
-                             <goals>
-                                 <goal>jar</goal>
-                             </goals>
-                             <configuration>
-                                 <useStandardDocletOptions>true</useStandardDocletOptions>
-                                 <minmemory>128m</minmemory>
-                                 <maxmemory>512m</maxmemory>
-                                 <quiet>false</quiet>
-                                 <!-- switch on dependency-driven aggregation -->
-                                 <includeDependencySources>true</includeDependencySources>
-
-                                 <dependencySourceIncludes>
-                                    <!-- include ONLY dependencies I control -->
-                                    <dependencySourceInclude>org.apache.activemq:activemq-core-client</dependencySourceInclude>
-                                    <dependencySourceInclude>org.apache.activemq:activemq-jms-client</dependencySourceInclude>
-                                    <dependencySourceInclude>org.apache.activemq:activemq-server</dependencySourceInclude>
-                                    <dependencySourceInclude>org.apache.activemq:activemq-jms-server</dependencySourceInclude>
-                                    <dependencySourceInclude>org.apache.activemq:activemq-journal</dependencySourceInclude>
-                                    <dependencySourceInclude>org.apache.activemq:activemq-selector</dependencySourceInclude>
-                                 </dependencySourceIncludes>
-                                 <quiet>false</quiet>
-                                 <aggregate>true</aggregate>
-                                 <excludePackageNames>org.apache.activemq.core:org.apache.activemq.utils</excludePackageNames>
-                             </configuration>
-                         </execution>
-                     </executions>
-                 </plugin>
                 <plugin>
                   <artifactId>maven-antrun-plugin</artifactId>
                   <version>1.6</version>
@@ -113,9 +118,9 @@
                       <phase>generate-sources</phase>
                       <configuration>
                         <target>
-			  <condition property="gitbook.cmd" value="gitbook.cmd" else="gitbook">
-			    <os family="windows" />
-			  </condition>
+                          <condition property="gitbook.cmd" value="gitbook.cmd" else="gitbook">
+                             <os family="windows" />
+                          </condition>
                           <!-- lets generate the gitbook -->
                           <mkdir dir="${webapp-outdir}/gitbook" />
                           <echo>executing ${gitbook.cmd}</echo>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/140d06a4/activemq-website/src/main/resources/examples/index.html
----------------------------------------------------------------------
diff --git a/activemq-website/src/main/resources/examples/index.html b/activemq-website/src/main/resources/examples/index.html
index a8ae835..50439e9 100644
--- a/activemq-website/src/main/resources/examples/index.html
+++ b/activemq-website/src/main/resources/examples/index.html
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <h1>Apache ActiveMQ Examples</h1>
-<h2>JMS Examples</h2>
+
 <p>Apache ActiveMQ comes with over 90 runnable examples. These can be found in the examples directory in the root of the 
 distribution folder. There are examples covering JMS as well as all the protocols and functionality that Apache ActiveMQ 
 supports.</p>
@@ -37,4 +37,4 @@ to run a different example simply edit the <code>config/examples/bootstrap.xml</
 the correct configuration (this will be found in the directory of the example you wish to run). By default the broker
 will use the <code>data/server0</code> directory for the journal, to avoid problems it is best to delete this
 directory between running different examples or set the <code>ACTIVEMQ_DATA_DIR</code> environment property in
-<code>activemq.conf</code>to use a different location</p>
\ No newline at end of file
+<code>activemq.conf</code>to use a different location</p>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/140d06a4/activemq-website/src/main/resources/index.html
----------------------------------------------------------------------
diff --git a/activemq-website/src/main/resources/index.html b/activemq-website/src/main/resources/index.html
index c3d9fc9..6c6f126 100644
--- a/activemq-website/src/main/resources/index.html
+++ b/activemq-website/src/main/resources/index.html
@@ -53,6 +53,7 @@
             <li><a target="_blank" href="api/index.html">API</a></li>
             <li><a target="_blank" href="user-manual/index.html">User Manual</a></li>
             <li><a href="examples/index.html">Examples</a></li>
+            <li><a href="http://activemq.apache.org/activemq6">Apache ActiveMQ-6 Website</a></li>
         </ul>
         <div></div>
     </div>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/140d06a4/activemq-website/src/main/resources/user-manual/index.html
----------------------------------------------------------------------
diff --git a/activemq-website/src/main/resources/user-manual/index.html b/activemq-website/src/main/resources/user-manual/index.html
new file mode 100644
index 0000000..416923c
--- /dev/null
+++ b/activemq-website/src/main/resources/user-manual/index.html
@@ -0,0 +1,26 @@
+<!--
+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.
+-->
+
+<h1>User Manual</h1>
+
+<p>If you are seeing this message, it is because the User Manual was not built during the Apache ActiveMQ-6 build.  To
+build Apache ActiveMQ-6 with the User Manual you must use the maven release profile:
+<code>mvn clean install -Prelease</code>.</p>
+
+<p>Please see the README in the source distribution for more information.</p>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/140d06a4/distribution/activemq/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/activemq/pom.xml b/distribution/activemq/pom.xml
index 91f5906..2f82924 100644
--- a/distribution/activemq/pom.xml
+++ b/distribution/activemq/pom.xml
@@ -166,25 +166,14 @@
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
       </dependency>
+      <dependency>
+         <groupId>org.apache.activemq</groupId>
+         <artifactId>activemq-website</artifactId>
+         <version>${project.version}</version>
+         <classifier>javadoc</classifier>
+      </dependency>
    </dependencies>
 
-   <profiles>
-      <profile>
-         <id>release</id>
-         <dependencies>
-            <!-- javadoc -->
-            <dependency>
-                <groupId>org.apache.activemq</groupId>
-                <artifactId>activemq-website</artifactId>
-                <version>${project.version}</version>
-                <classifier>javadoc</classifier>
-            </dependency>
-         </dependencies>
-         <build>
-         </build>
-      </profile>
-   </profiles>
-
    <build>
       <resources>
          <resource>


[2/2] activemq-6 git commit: merge #162 - Build WebSite JavaDoc on default and update links

Posted by an...@apache.org.
merge #162 - Build WebSite JavaDoc on default and update links


Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/5a0ff8fc
Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/5a0ff8fc
Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/5a0ff8fc

Branch: refs/heads/master
Commit: 5a0ff8fce0fbfea68c6e0bb9681d8488729ac7f2
Parents: 8af60b1 140d06a
Author: Andy Taylor <an...@gmail.com>
Authored: Mon Mar 9 15:53:07 2015 +0000
Committer: Andy Taylor <an...@gmail.com>
Committed: Mon Mar 9 15:53:07 2015 +0000

----------------------------------------------------------------------
 activemq-website/pom.xml                        | 79 +++++++++++---------
 .../src/main/resources/examples/index.html      |  4 +-
 activemq-website/src/main/resources/index.html  |  1 +
 .../src/main/resources/user-manual/index.html   | 26 +++++++
 distribution/activemq/pom.xml                   | 23 ++----
 5 files changed, 77 insertions(+), 56 deletions(-)
----------------------------------------------------------------------