Hi all. I need seems strange case: 1) pax exam starting apache servisemix (or fuse esb) 2) soap ui maven plugin run tests 3) shutdown servicemix
i maked this individually, and now i break my brain how to integrate this stuff. is there any way to order execution of tests? this is my current pom.xml: <properties> <junit-version>4.10</junit-version> <pax-exam-version>2.3.0</pax-exam-version> <paxexam-karaf-container-version>0.5.0</paxexam-karaf-container-version> <slf4j-version>1.6.1</slf4j-version> <log4j-version>1.2.16</log4j-version> <camel.version>2.8.0-fuse-02-05</camel.version> <fusesource-repo>http://repo.fusesource.com/maven2</fusesource-repo> </properties> <dependencies> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> <version>${camel.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-sql</artifactId> <version>${camel.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jetty</artifactId> <version>${camel.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId> <version>${camel.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jms</artifactId> <version>${camel.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test</artifactId> <version>${camel.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>apache-servicemix</artifactId> <version>4.4.1-fuse-02-05</version> <type>zip</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <version>2.2.4</version> <type>zip</type> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j-version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j-version}</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4j-version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit-version}</version> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam</artifactId> <version>${pax-exam-version}</version> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-junit4</artifactId> <version>${pax-exam-version}</version> </dependency> <dependency> <groupId>org.openengsb.labs.paxexam.karaf</groupId> <artifactId>paxexam-karaf-container</artifactId> <version>${paxexam-karaf-container-version}</version> </dependency> <dependency> <groupId>org.apache.felix.karaf.shell</groupId> <artifactId>org.apache.felix.karaf.shell.console</artifactId> <version>1.0.0</version> </dependency> </dependencies> <pluginRepositories> <pluginRepository> <id>eviwarePluginRepository</id> <url>http://www.eviware.com/repository/maven2/</url> </pluginRepository> </pluginRepositories> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>depends-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.2.0</version> <extensions>true</extensions> <configuration> <instructions> <Bundle-Description>${project.description}</Bundle-Description> <Private-Package>my.private</Private-Package> <DynamicImport-Package>*</DynamicImport-Package> </instructions> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>target/classes/features.xml</file> <type>xml</type> <classifier>features</classifier> </artifact> </artifacts> </configuration> </execution> </executions> </plugin> <plugin> <groupId>eviware</groupId> <artifactId>maven-soapui-pro-plugin</artifactId> <version>4.5.0</version> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> </dependency> <dependency> <groupId>jtds</groupId> <artifactId>jtds</artifactId> <version>1.2</version> </dependency> </dependencies> <executions> <execution> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <projectFile>/home/user/test-soapui-project.xml</projectFile> <outputFolder>/home/user/test/</outputFolder> <junitReport>true</junitReport> <projectProperties> <value>Server=http://localhost:8002/Services/myservice</value> </projectProperties> </configuration> </execution> </executions> </plugin> </plugins> </build> -- View this message in context: http://maven.40175.n5.nabble.com/configure-unit-integration-tests-order-tp5708894.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org