You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2019/01/28 21:34:35 UTC
svn commit: r1852411 - in /webservices/axiom/trunk/systests/eclipse-tests:
pom.xml src/test/java/EclipseTest.java
Author: veithen
Date: Mon Jan 28 21:34:35 2019
New Revision: 1852411
URL: http://svn.apache.org/viewvc?rev=1852411&view=rev
Log:
Enable hermetic-maven-plugin on eclipse-tests.
Modified:
webservices/axiom/trunk/systests/eclipse-tests/pom.xml
webservices/axiom/trunk/systests/eclipse-tests/src/test/java/EclipseTest.java
Modified: webservices/axiom/trunk/systests/eclipse-tests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/eclipse-tests/pom.xml?rev=1852411&r1=1852410&r2=1852411&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/eclipse-tests/pom.xml (original)
+++ webservices/axiom/trunk/systests/eclipse-tests/pom.xml Mon Jan 28 21:34:35 2019
@@ -112,14 +112,6 @@
</executions>
</plugin>
<plugin>
- <groupId>com.github.veithen.maven</groupId>
- <artifactId>hermetic-maven-plugin</artifactId>
- <configuration>
- <!-- TODO -->
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
Modified: webservices/axiom/trunk/systests/eclipse-tests/src/test/java/EclipseTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/eclipse-tests/src/test/java/EclipseTest.java?rev=1852411&r1=1852410&r2=1852411&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/eclipse-tests/src/test/java/EclipseTest.java (original)
+++ webservices/axiom/trunk/systests/eclipse-tests/src/test/java/EclipseTest.java Mon Jan 28 21:34:35 2019
@@ -17,6 +17,7 @@
* under the License.
*/
import static org.junit.Assert.assertEquals;
+import static org.ops4j.pax.exam.CoreOptions.frameworkProperty;
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
import static org.ops4j.pax.exam.CoreOptions.options;
import static org.ops4j.pax.exam.CoreOptions.url;
@@ -29,6 +30,7 @@ import org.apache.axiom.om.OMAbstractFac
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMXMLBuilderFactory;
import org.apache.axiom.om.dom.DOMMetaFactory;
+import org.eclipse.osgi.internal.location.EquinoxLocations;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration;
@@ -48,6 +50,7 @@ public class EclipseTest {
@Configuration
public static Option[] configuration() {
return options(
+ frameworkProperty(EquinoxLocations.PROP_HOME_LOCATION_AREA).value("target"),
// Don't start bundles. We expect Equinox to start them lazily.
url("link:classpath:org.apache.james.apache-mime4j-core.link").start(false),
url("link:classpath:org.apache.ws.commons.axiom.axiom-impl.link").start(false),