Add activeMQ broker
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 19 Mar 2010 15:52:16 +0000 (15:52 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 19 Mar 2010 15:52:16 +0000 (15:52 +0000)
Convert basic to PDE

git-svn-id: https://svn.argeo.org/commons/trunk@3434 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

basic/runtime/pom.xml
pom.xml
sandbox/runtime/org.argeo.sandbox.jackrabbit/pom.xml
server/dep/org.argeo.server.dep.activemq/pom.xml [new file with mode: 0644]
server/dep/pom.xml

index 964853e5fdd53a85512903df84eff2be9f030624..24e8f2df36f662cefbac6fb5287e57413eba5cb9 100644 (file)
                <module>org.argeo.basic.nodeps</module>
                <module>org.argeo.support.junit</module>
        </modules>
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+                       <resource>
+                               <directory>.</directory>
+                               <includes>
+                                       <include>META-INF/**</include>
+                               </includes>
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-clean-plugin</artifactId>
+                               <configuration>
+                                       <filesets>
+                                               <fileset>
+                                                       <directory>META-INF</directory>
+                                                       <includes>
+                                                               <include>MANIFEST.MF</include>
+                                                       </includes>
+                                               </fileset>
+                                       </filesets>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <configuration>
+                                       <archive>
+                                               <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                                       </archive>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>${version.maven-bundle-plugin}</version>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <manifestLocation>META-INF</manifestLocation>
+                                       <instructions>
+                                               <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
+                                               <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                                               <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
+                                               <_removeheaders>Bnd-LastModified</_removeheaders>
+                                       </instructions>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>bundle-manifest</id>
+                                               <phase>process-classes</phase>
+                                               <goals>
+                                                       <goal>manifest</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
 </project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index aa809c39e676f11bf932b7cc77a8bcb45830fbda..a51cf4322e0388d9cac4b4e538ddc02f366d947e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,7 @@ limitations under the License.
                <module>osgi</module>
                <module>server</module>
                <module>security</module>
+               <module>sandbox</module>
        </modules>
        <build>
                <pluginManagement>
index cad12b869b2f5bd8c758e419ef75ae53371ca055..0d374e966c71a03527de78a6a086648f9eeb9ae5 100644 (file)
@@ -8,6 +8,7 @@
                <relativePath>..</relativePath>
        </parent>
        <artifactId>org.argeo.sandbox.jackrabbit</artifactId>
+       <name>Sandbox Jackrabbit</name>
        <build>
                <plugins>
                        <plugin>
@@ -19,6 +20,7 @@
                                        <bundlesPomArtifactId>org.argeo.server.demo</bundlesPomArtifactId>
                                        <execDir>target/exec</execDir>
                                        <osgiBootArtifactId>org.argeo.osgi.boot</osgiBootArtifactId>
+                                       <failOnUnresolved>false</failOnUnresolved>
                                        <argsToAppend>
                                                <arg>-clean</arg>
                                        </argsToAppend>
                        <groupId>org.argeo.commons.server</groupId>
                        <artifactId>org.argeo.server.dep.tomcat</artifactId>
                        <version>${project.version}</version>
+                       <scope>test</scope>
                        <type>pom</type>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.json</artifactId>
+                       <version>${project.version}</version>
+                       <scope>test</scope>
+               </dependency>
                <!-- Spring -->
                <dependency>
                        <groupId>org.springframework.osgi</groupId>
diff --git a/server/dep/org.argeo.server.dep.activemq/pom.xml b/server/dep/org.argeo.server.dep.activemq/pom.xml
new file mode 100644 (file)
index 0000000..35d6555
--- /dev/null
@@ -0,0 +1,51 @@
+<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>
+       <parent>
+               <groupId>org.argeo.commons.server</groupId>
+               <version>0.1.3-SNAPSHOT</version>
+               <artifactId>dep</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.server.dep.activemq</artifactId>
+       <packaging>pom</packaging>
+       <name>Dep Apache Active MQ</name>
+       <dependencies>
+               <!--  Commons Dep -->
+               <dependency>
+                       <groupId>org.argeo.commons.basic</groupId>
+                       <artifactId>org.argeo.basic.dep.log4j</artifactId>
+                       <version>0.1.3-SNAPSHOT</version>
+                       <type>pom</type>
+               </dependency>
+
+               <!-- JMS / ActiveMQ -->
+               <dependency>
+                       <groupId>javax.jms</groupId>
+                       <artifactId>com.springsource.javax.jms</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.activemq</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.activemq.optional</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.activemq</groupId>
+                       <artifactId>com.springsource.org.apache.activemq.pool</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.pool</artifactId>
+               </dependency>
+
+               <!-- Required by ActiveMQ bundles -->
+               <dependency>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.net</artifactId>
+               </dependency>
+
+       </dependencies>
+</project>
\ No newline at end of file
index 22a1797f9f547e6819a0bd2903a27321d5ef5826..fd2ccb81d7ff0cd90e7152b55f14f2ecd58b1472 100644 (file)
@@ -16,5 +16,6 @@
                <module>org.argeo.server.dep.ads</module>
                <module>org.argeo.server.dep.hibernate</module>
                <module>org.argeo.server.dep.jackrabbit.server</module>
+               <module>org.argeo.server.dep.activemq</module>
        </modules>
 </project>
\ No newline at end of file