Skip to content

Commit

Permalink
Update pom.xml with optional bus dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Jul 31, 2015
1 parent ee8bbef commit 40c5638
Show file tree
Hide file tree
Showing 17 changed files with 235 additions and 362 deletions.
12 changes: 4 additions & 8 deletions hawkular-alerts-actions-api/pom.xml
Expand Up @@ -33,20 +33,14 @@

<dependencies>

<!-- Hawkular Alerts dependencies -->
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-api</artifactId>
<version>${project.version}</version>
</dependency>

<!-- The hawkular platform will provide these -->
<dependency>
<groupId>org.hawkular.bus</groupId>
<artifactId>hawkular-bus-mdb</artifactId>
<version>${version.org.hawkular.bus}</version>
<scope>provided</scope>
</dependency>

<!-- Wildfly dependencies -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
Expand All @@ -56,6 +50,7 @@
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand All @@ -70,6 +65,7 @@
<scope>provided</scope>
</dependency>

<!-- Tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
29 changes: 16 additions & 13 deletions hawkular-alerts-actions-bus/pom.xml
Expand Up @@ -33,6 +33,7 @@

<dependencies>

<!-- Hawkular Alerts dependencies -->
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-api</artifactId>
Expand All @@ -45,7 +46,7 @@
<version>${project.version}</version>
</dependency>

<!-- The hawkular platform will provide these -->
<!-- Hawkular Nest dependencies -->
<dependency>
<groupId>org.hawkular.bus</groupId>
<artifactId>hawkular-bus-mdb</artifactId>
Expand All @@ -54,30 +55,30 @@
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>${version.org.apache.activemq}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
<version>${version.org.jboss.jboss-vfs}</version>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jaas</artifactId>
<version>${version.org.apache.activemq}</version>
<scope>provided</scope>
</dependency>

<!-- these will be provided by our RA - the MDB itself will never need ActiveMQ specific classes -->
<!-- Wildfly dependencies -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>${version.org.apache.activemq}</version>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jaas</artifactId>
<version>${version.org.apache.activemq}</version>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
<version>${version.org.jboss.jboss-vfs}</version>
<scope>provided</scope>
</dependency>

Expand All @@ -91,6 +92,7 @@
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand All @@ -105,6 +107,7 @@
<scope>provided</scope>
</dependency>

<!-- Tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Expand Up @@ -32,52 +32,38 @@
<name>Hawkular Alerts Action Aerogear Plugin</name>

<dependencies>
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.aerogear</groupId>
<artifactId>unifiedpush-java-client</artifactId>
<version>1.1.0-alpha.1</version>
</dependency>

</dependencies>

<profiles>
<profile>
<id>dev</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<configuration>
<target>
<copy file="${project.build.directory}/${project.build.finalName}.war" todir="${org.hawkular.wildfly.deployments}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<id>bus</id>
<dependencies>

<!-- Hawkular Alerts Bus dependencies. Used only on bus deployments. -->
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>


</project>
Expand Up @@ -32,23 +32,13 @@
<name>Hawkular Alerts Action Email Plugin</name>

<dependencies>
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${version.org.freemarker}</version>
</dependency>

</dependencies>

<build>
Expand All @@ -67,29 +57,26 @@

<profiles>
<profile>
<id>dev</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<configuration>
<target>
<copy file="${project.build.directory}/${project.build.finalName}.war" todir="${org.hawkular.wildfly.deployments}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<id>bus</id>
<dependencies>

<!-- Hawkular Alerts Bus dependencies. Used only on bus deployments. -->
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>

Expand Down
Expand Up @@ -31,45 +31,28 @@

<name>Hawkular Alerts Action Filesystem Plugin</name>

<dependencies>
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<profiles>
<profile>
<id>dev</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<configuration>
<target>
<copy file="${project.build.directory}/${project.build.finalName}.war" todir="${org.hawkular.wildfly.deployments}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<id>bus</id>
<dependencies>

<!-- Hawkular Alerts Bus dependencies. Used only on bus deployments. -->
<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-bus-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.hawkular.alerts</groupId>
<artifactId>hawkular-alerts-actions-bus</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>

Expand Down

0 comments on commit 40c5638

Please sign in to comment.