activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andytay...@apache.org
Subject [2/4] activemq-6 git commit: ACTIVEMQ6-11 Fix the distribution build
Date Fri, 02 Jan 2015 08:25:37 GMT
ACTIVEMQ6-11 Fix the distribution build


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

Branch: refs/heads/master
Commit: edd5adda7d1e40c720d51b750557d712bfc87230
Parents: f0d1881
Author: jbertram <jbertram@redhat.com>
Authored: Fri Dec 19 16:59:24 2014 -0600
Committer: jbertram <jbertram@redhat.com>
Committed: Wed Dec 31 11:07:19 2014 -0600

----------------------------------------------------------------------
 activemq-native/pom.xml                         |  10 +-
 distribution/activemq/pom.xml                   |  43 ++---
 distribution/activemq/src/main/assembly/dep.xml | 159 ++++++++++---------
 .../main/resources/config/logging.properties    |   2 +-
 pom.xml                                         |   5 -
 5 files changed, 120 insertions(+), 99 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/edd5adda/activemq-native/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-native/pom.xml b/activemq-native/pom.xml
index 22a9515..0d3d67c 100644
--- a/activemq-native/pom.xml
+++ b/activemq-native/pom.xml
@@ -29,7 +29,9 @@
          <plugin>
             <artifactId>maven-resources-plugin</artifactId>
             <executions>
-               <execution>
+               <!-- We don't currently have a 32-bit shared object in the repo which means
if this is enabled the 64-bit
+                    shared object won't be copied properly. -->
+               <!--execution>
                   <id>copy-resources-32</id>
                   <phase>validate</phase>
                   <goals>
@@ -41,12 +43,12 @@
                         <resource>
                            <directory>bin/</directory>
                            <includes>
-                              <include>libActiveMQAIO32.so</include>
+                              <include>libactiveMQAIO32.so</include>
                            </includes>
                         </resource>
                      </resources>
                   </configuration>
-               </execution>
+               </execution-->
                <execution>
                   <id>copy-resources-64</id>
                   <phase>validate</phase>
@@ -59,7 +61,7 @@
                         <resource>
                            <directory>bin/</directory>
                            <includes>
-                              <include>libActiveMQAIO64.so</include>
+                              <include>libactivemqAIO64.so</include>
                            </includes>
                         </resource>
                      </resources>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/edd5adda/distribution/activemq/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/activemq/pom.xml b/distribution/activemq/pom.xml
index e99e202..0be0644 100644
--- a/distribution/activemq/pom.xml
+++ b/distribution/activemq/pom.xml
@@ -33,6 +33,7 @@
    <properties>
       <schemaLocation>${project.build.directory}/${project.artifactId}-${project.version}-bin/${project.artifactId}-${project.version}/schema</schemaLocation>
       <configLocation>src/main/resources/config</configLocation>
+      <activemq.basedir>${project.basedir}/../..</activemq.basedir>
    </properties>
 
    <dependencies>
@@ -117,17 +118,32 @@
            <artifactId>activemq-openwire-protocol</artifactId>
            <version>${project.version}</version>
        </dependency>
-       <dependency>
-           <groupId>org.apache.activemq</groupId>
-           <artifactId>activemq-native</artifactId>
-           <version>${project.version}</version>
-       </dependency>
+      <dependency>
+         <groupId>org.apache.activemq</groupId>
+         <artifactId>activemq-native</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.activemq</groupId>
+         <artifactId>activemq-website</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.activemq</groupId>
+         <artifactId>activemq-website</artifactId>
+         <version>${project.version}</version>
+         <classifier>javadoc</classifier>
+      </dependency>
 
       <!-- dependencies -->
-       <dependency>
-           <groupId>org.apache.qpid</groupId>
-           <artifactId>proton-jms</artifactId>
-       </dependency>
+      <dependency>
+         <groupId>org.jboss.logmanager</groupId>
+         <artifactId>jboss-logmanager</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.qpid</groupId>
+         <artifactId>proton-jms</artifactId>
+      </dependency>
        <dependency>
            <groupId>io.airlift</groupId>
            <artifactId>airline</artifactId>
@@ -137,15 +153,6 @@
            <artifactId>activemq-client</artifactId>
        </dependency>
        <dependency>
-           <groupId>org.apache.activemq</groupId>
-           <artifactId>activemq-client</artifactId>
-       </dependency>
-       <dependency>
-          <groupId>org.apache.activemq</groupId>
-          <artifactId>activemq-website</artifactId>
-          <version>6.0.0-SNAPSHOT</version>
-       </dependency>
-       <dependency>
           <groupId>org.eclipse.jetty.aggregate</groupId>
           <artifactId>jetty-all-server</artifactId>
        </dependency>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/edd5adda/distribution/activemq/src/main/assembly/dep.xml
----------------------------------------------------------------------
diff --git a/distribution/activemq/src/main/assembly/dep.xml b/distribution/activemq/src/main/assembly/dep.xml
index 20770c0..25bc7d1 100644
--- a/distribution/activemq/src/main/assembly/dep.xml
+++ b/distribution/activemq/src/main/assembly/dep.xml
@@ -15,27 +15,44 @@
   ~ limitations under the License.
   -->
 
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd">
 
-  <id>bin</id>
-  <formats>
-    <format>dir</format>
-    <format>zip</format>
-    <format>tar.gz</format>
-  </formats>
-  <includeBaseDirectory>true</includeBaseDirectory>
+   <id>bin</id>
+   <formats>
+      <format>dir</format>
+      <format>zip</format>
+      <format>tar.gz</format>
+   </formats>
+   <includeBaseDirectory>true</includeBaseDirectory>
    <dependencySets>
       <dependencySet>
          <includes>
             <!-- modules -->
-            <include>org.apache.activemq:*</include>
+            <include>org.apache.activemq:activemq-bootstrap</include>
+            <include>org.apache.activemq:activemq-commons</include>
+            <include>org.apache.activemq:activemq-core-client</include>
+            <include>org.apache.activemq:activemq-dto</include>
+            <include>org.apache.activemq:activemq-jms-client</include>
+            <include>org.apache.activemq:activemq-jms-server</include>
+            <include>org.apache.activemq:activemq-journal</include>
+            <include>org.apache.activemq:activemq-native</include>
+            <include>org.apache.activemq:activemq-amqp-protocol</include>
+            <include>org.apache.activemq:activemq-openwire-protocol</include>
+            <include>org.apache.activemq:activemq-proton-plug</include>
+            <include>org.apache.activemq:activemq-stomp-protocol</include>
+            <include>org.apache.activemq:activemq-ra</include>
+            <include>org.apache.activemq:activemq-selector</include>
+            <include>org.apache.activemq:activemq-server</include>
+            <include>org.apache.activemq:activemq-service-extensions</include>
+            <include>org.apache.activemq:activemq-tools</include>
+            <include>org.apache.activemq:activemq-web</include>
             <include>org.apache.activemq.rest:activemq-rest</include>
             <!-- dependencies -->
             <include>org.jboss.spec.javax.jms:jboss-jms-api_2.0_spec</include>
             <include>org.jboss.logmanager:jboss-logmanager</include>
             <include>org.jboss.logging:jboss-logging</include>
-            <include>org.jboss:jboss-common-core</include>
             <include>io.netty:netty-all</include>
             <include>org.apache.qpid:proton-j</include>
             <include>org.apache.qpid:proton-jms</include>
@@ -47,9 +64,9 @@
             <include>org.eclipse.jetty.aggregate:jetty-all-server</include>
             <include>org.apache.geronimo.specs:geronimo-servlet_3.0_spec</include>
          </includes>
-         <excludes>
-           <exclude>org.apache.activemq:activemq-website</exclude>
-         </excludes>
+         <!--excludes>
+            <exclude>org.apache.activemq:activemq-website</exclude>
+         </excludes-->
          <outputDirectory>lib</outputDirectory>
          <unpack>false</unpack>
       </dependencySet>
@@ -66,63 +83,63 @@
             </includes>
          </unpackOptions>
       </dependencySet>
-       <dependencySet>
-           <includes>
-               <include>org.apache.activemq:activemq-website</include>
-           </includes>
-           <excludes>
-               <exclude>org.apache.activemq:activemq-website:jar:javadoc</exclude>
-           </excludes>
-           <outputDirectory>web</outputDirectory>
-           <unpack>true</unpack>
-       </dependencySet>
-       <dependencySet>
-           <includes>
-               <include>org.apache.activemq:activemq-website:jar:javadoc</include>
-           </includes>
-           <outputDirectory>web/api</outputDirectory>
-           <unpack>true</unpack>
-       </dependencySet>
-       <dependencySet>
-           <includes>
-               <include>org.jolokia:jolokia-war:war</include>
-           </includes>
-           <outputDirectory>web</outputDirectory>
-           <unpack>false</unpack>
-       </dependencySet>
+      <dependencySet>
+         <includes>
+            <include>org.apache.activemq:activemq-website</include>
+         </includes>
+         <excludes>
+            <exclude>org.apache.activemq:activemq-website:jar:javadoc</exclude>
+         </excludes>
+         <outputDirectory>web</outputDirectory>
+         <unpack>true</unpack>
+      </dependencySet>
+      <dependencySet>
+         <includes>
+            <include>org.apache.activemq:activemq-website:jar:javadoc</include>
+         </includes>
+         <outputDirectory>web/api</outputDirectory>
+         <unpack>true</unpack>
+      </dependencySet>
+      <dependencySet>
+         <includes>
+            <include>org.jolokia:jolokia-war:war</include>
+         </includes>
+         <outputDirectory>web</outputDirectory>
+         <unpack>false</unpack>
+      </dependencySet>
    </dependencySets>
    <fileSets>
-     <!-- schema -->
-     <fileSet>
-       <directory>../../activemq-server/src/main/resources/schema/</directory>
-       <outputDirectory>schema</outputDirectory>
-       <lineEnding>keep</lineEnding>
-     </fileSet>
-     <fileSet>
-       <directory>../../activemq-jms-server/src/main/resources/schema/</directory>
-       <outputDirectory>schema</outputDirectory>
-       <lineEnding>keep</lineEnding>
-     </fileSet>
-     <!-- resources -->
-     <fileSet>
-       <directory>src/main/resources</directory>
-       <outputDirectory>/</outputDirectory>
-       <lineEnding>keep</lineEnding>
-        <excludes>
-           <exclude>**/target/**</exclude>
-           <exclude>**/**/*.iml</exclude>
-           <exclude>**/**/*.dat</exclude>
-        </excludes>
-     </fileSet>
-     <fileSet>
-       <directory>../../examples</directory>
-       <outputDirectory>web/examples</outputDirectory>
-       <lineEnding>keep</lineEnding>
-       <excludes>
-         <exclude>**/target/**</exclude>
-         <exclude>**/**/*.iml</exclude>
-         <exclude>**/**/*.dat</exclude>
-       </excludes>
-     </fileSet>
-  </fileSets>
+      <!-- schema -->
+      <fileSet>
+         <directory>${activemq.basedir}/activemq-server/src/main/resources/schema/</directory>
+         <outputDirectory>schema</outputDirectory>
+         <lineEnding>keep</lineEnding>
+      </fileSet>
+      <fileSet>
+         <directory>${activemq.basedir}/activemq-jms-server/src/main/resources/schema/</directory>
+         <outputDirectory>schema</outputDirectory>
+         <lineEnding>keep</lineEnding>
+      </fileSet>
+      <!-- resources -->
+      <fileSet>
+         <directory>src/main/resources</directory>
+         <outputDirectory>/</outputDirectory>
+         <lineEnding>keep</lineEnding>
+         <excludes>
+            <exclude>**/target/**</exclude>
+            <exclude>**/**/*.iml</exclude>
+            <exclude>**/**/*.dat</exclude>
+         </excludes>
+      </fileSet>
+      <fileSet>
+         <directory>${activemq.basedir}/examples</directory>
+         <outputDirectory>web/examples</outputDirectory>
+         <lineEnding>keep</lineEnding>
+         <excludes>
+            <exclude>**/target/**</exclude>
+            <exclude>**/**/*.iml</exclude>
+            <exclude>**/**/*.dat</exclude>
+         </excludes>
+      </fileSet>
+   </fileSets>
 </assembly>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/edd5adda/distribution/activemq/src/main/resources/config/logging.properties
----------------------------------------------------------------------
diff --git a/distribution/activemq/src/main/resources/config/logging.properties b/distribution/activemq/src/main/resources/config/logging.properties
index 39d42fa..f566d36 100644
--- a/distribution/activemq/src/main/resources/config/logging.properties
+++ b/distribution/activemq/src/main/resources/config/logging.properties
@@ -42,7 +42,7 @@ handler.FILE=org.jboss.logmanager.handlers.FileHandler
 handler.FILE.level=DEBUG
 handler.FILE.properties=autoFlush,fileName
 handler.FILE.autoFlush=true
-handler.FILE.fileName=${actviemq.home}/logs/activemq.log
+handler.FILE.fileName=${activemq.home}/logs/activemq.log
 handler.FILE.formatter=PATTERN
 
 # Formatter pattern configuration

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/edd5adda/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2e1c416..4dadcf6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,11 +219,6 @@
             <artifactId>geronimo-jta_1.1_spec</artifactId>
             <version>1.1.1</version>
          </dependency>
-         <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-jta_1.1_spec</artifactId>
-            <version>1.1.1</version>
-         </dependency>
 
          <!--this for xa recovery-->
          <dependency>


Mime
View raw message