Author: rombert
Date: Wed Sep 27 12:14:08 2017
New Revision: 1809834
URL: http://svn.apache.org/viewvc?rev=1809834&view=rev
Log:
OAK-6732 - Make it simpler to run tests from oak-it-osgi
Add a basic README.md and allow running the assembly:single goal from the CLI.
Added:
jackrabbit/oak/trunk/oak-it-osgi/README.md
Modified:
jackrabbit/oak/trunk/oak-it-osgi/pom.xml
Added: jackrabbit/oak/trunk/oak-it-osgi/README.md
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it-osgi/README.md?rev=1809834&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-it-osgi/README.md (added)
+++ jackrabbit/oak/trunk/oak-it-osgi/README.md Wed Sep 27 12:14:08 2017
@@ -0,0 +1,14 @@
+Oak Integration tests for OSGi deployments
+==
+
+This modules validates basic Oak functionality in an OSGi environment.
+
+The Oak modules under test are not picked up from the reactor build. Instead,
+they are read from the local repository and copied in a well-known location
+using the maven-assembly-plugin.
+
+In order to test a change made in a different module, you would need to:
+
+* Run `mvn install` in the changed module
+* Run `mvn assembly:single` in this module
+* Re-run the test(s) in this module
Modified: jackrabbit/oak/trunk/oak-it-osgi/pom.xml
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it-osgi/pom.xml?rev=1809834&r1=1809833&r2=1809834&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-it-osgi/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-it-osgi/pom.xml Wed Sep 27 12:14:08 2017
@@ -39,19 +39,19 @@
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>test-bundles.xml</descriptor>
+ </descriptors>
+ <finalName>test</finalName>
+ <attach>false</attach>
+ </configuration>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>single</goal>
</goals>
- <configuration>
- <descriptors>
- <descriptor>test-bundles.xml</descriptor>
- </descriptors>
- <finalName>test</finalName>
- <attach>false</attach>
- </configuration>
</execution>
</executions>
</plugin>