Skip to content

Commit

Permalink
HAWKULAR-871 - Removed distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrohling committed Dec 16, 2015
1 parent b1a22f2 commit ee5c076
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 261 deletions.
34 changes: 0 additions & 34 deletions dist/assembly.xml

This file was deleted.

123 changes: 0 additions & 123 deletions dist/pom.xml

This file was deleted.

19 changes: 0 additions & 19 deletions dist/src/distribution/resources/bin/product.conf

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions integration-tests/all-others/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
</description>

<dependencies>
<dependency>
<groupId>org.hawkular.accounts</groupId>
<artifactId>hawkular-accounts-distribution</artifactId>
<type>zip</type>
</dependency>
</dependencies>
</project>

5 changes: 0 additions & 5 deletions integration-tests/important/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
</description>

<dependencies>
<dependency>
<groupId>org.hawkular.accounts</groupId>
<artifactId>hawkular-accounts-distribution</artifactId>
<type>zip</type>
</dependency>
</dependencies>
</project>

31 changes: 15 additions & 16 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,23 @@
<dependencies>
<dependency>
<groupId>org.hawkular.accounts</groupId>
<artifactId>hawkular-accounts-distribution</artifactId>
<artifactId>hawkular-accounts-feature-pack</artifactId>
<version>2.0.8.Final-SNAPSHOT</version>
<type>pom</type>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.hawkular.accounts</groupId>
<artifactId>hawkular-accounts-feature-pack</artifactId>
<version>2.0.8.Final-SNAPSHOT</version>
<type>zip</type>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -82,21 +96,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Fork every test because it will launch a separate AS instance -->
<!--<forkMode>always</forkMode>-->
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<!-- the maven dependency plugin will have already downloaded the server on /target -->
<jboss.home>${project.basedir}/target/hawkular-accounts-distribution-${project.version}/</jboss.home>
</systemPropertyVariables>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
</configuration>
</plugin>

<!-- We want to clean the environment for the tests all the time we run -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down
36 changes: 20 additions & 16 deletions integration-tests/smoke/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,25 +75,17 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<groupId>org.wildfly.build</groupId>
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>generate-test-resources</phase>
<id>server-provisioning</id>
<goals>
<goal>unpack</goal>
<goal>build</goal>
</goals>
<phase>compile</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.hawkular.accounts</groupId>
<artifactId>hawkular-accounts-distribution</artifactId>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>target/hawkular-accounts-distribution-${project.version}</outputDirectory>
</artifactItem>
</artifactItems>
<config-file>server-provisioning.xml</config-file>
</configuration>
</execution>
</executions>
Expand All @@ -112,19 +104,31 @@
<configuration>
<transformationSets>
<transformationSet>
<dir>${project.basedir}/target/hawkular-accounts-distribution-${project.version}/standalone/configuration</dir>
<dir>${project.basedir}/target/hawkular-accounts-integration-tests-smoke-${project.version}/standalone/configuration</dir>
<stylesheet>${project.basedir}/src/test/resources/change-smtp-port.xsl</stylesheet>
<includes>
<include>standalone*.xml</include>
</includes>
<outputDir>${project.basedir}/target/hawkular-accounts-distribution-${project.version}/standalone/configuration</outputDir>
<outputDir>${project.basedir}/target/hawkular-accounts-integration-tests-smoke-${project.version}/standalone/configuration</outputDir>
</transformationSet>
</transformationSets>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<jboss.home>${project.basedir}/target/hawkular-accounts-integration-tests-smoke-${project.version}/</jboss.home>
</systemPropertyVariables>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
</configuration>
</plugin>

</plugins>
</build>
</project>
Expand Down
File renamed without changes.
21 changes: 12 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,6 @@
</dependencyManagement>

<profiles>
<profile>
<id>distribution</id>
<modules>
<module>dist</module>
<module>feature-pack</module>
<module>feature-pack-resources</module>
</modules>
</profile>
<profile>
<id>sample</id>
<modules>
Expand All @@ -257,7 +249,18 @@
<profile>
<id>itest</id>
<modules>
<module>dist</module>
<module>feature-pack</module>
<module>feature-pack-resources</module>
<module>integration-tests</module>
</modules>
</profile>
<profile>
<id>release</id>
<modules>
<module>sample</module>
<module>sample-websocket-secured</module>
<module>sample-websocket-backend</module>
<module>sample-websocket-frontend</module>
<module>feature-pack</module>
<module>feature-pack-resources</module>
<module>integration-tests</module>
Expand Down

0 comments on commit ee5c076

Please sign in to comment.