You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/01/04 14:48:05 UTC

[sling-site] branch asf-site updated: push unpublished changes

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new ff2aa6b  push unpublished changes
ff2aa6b is described below

commit ff2aa6bc9a7f876896bbabf6b2b881d48d1b4a7d
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jan 4 15:47:21 2018 +0100

    push unpublished changes
---
 documentation/development/testing-paxexam.html | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/documentation/development/testing-paxexam.html b/documentation/development/testing-paxexam.html
index c02e20d..3035bd6 100644
--- a/documentation/development/testing-paxexam.html
+++ b/documentation/development/testing-paxexam.html
@@ -153,7 +153,6 @@
 <pre><code>  &lt;plugin&gt;
     &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
     &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
-    &lt;version&gt;2.18.1&lt;/version&gt;
     &lt;executions&gt;
       &lt;execution&gt;
         &lt;goals&gt;
@@ -178,6 +177,9 @@
     &lt;groupId&gt;org.apache.servicemix.tooling&lt;/groupId&gt;
     &lt;artifactId&gt;depends-maven-plugin&lt;/artifactId&gt;
     &lt;version&gt;1.4.0&lt;/version&gt;
+    &lt;configuration&gt;
+      &lt;outputFile&gt;${project.build.directory}/test-classes/META-INF/maven/dependencies.properties&lt;/outputFile&gt;
+    &lt;/configuration&gt;
     &lt;executions&gt;
       &lt;execution&gt;
         &lt;goals&gt;
@@ -187,6 +189,7 @@
     &lt;/executions&gt;
   &lt;/plugin&gt;
 </code></pre>
+<p><strong>NOTE:</strong> <code>&lt;version/&gt;</code>, <code>&lt;configuration/&gt;</code> and <code>&lt;executions/&gt;</code> are managed in Sling Parent and can be omitted when using version 33 or higher.</p>
 <h3>3. Create a test class and provide a <em>Configuration</em></h3>
 <p>Create a test class (extend <code>TestSupport</code> to use helper methods and <code>Option</code>s) and provide a <em>Configuration</em> (<code>Option[]</code>) for Pax Exam:</p>
 <pre><code>@Configuration
@@ -378,7 +381,7 @@ public class SimpleIT extends FreemarkerTestSupport {
 <p>See Pax Exam's <a href="https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration">Logging Configuration</a> if logging needs to be tweaked.</p>
 <p>For <a href="https://logback.qos.ch">Logback</a> use <code>SlingOptions#logback()</code> and add both <code>exam.properties</code> and <code>logback.xml</code> to <code>src/test/resources</code> as described in Pax Exam's <a href="https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration">Logging Configuration</a>.</p></section></div></div>            
             <div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Oliver Lietz</span> on <span class="comment">Tue Jan 2 14:48:24 2018 +0100</span></div>                <p>
+<div class="revisionInfo">Last modified by <span class="author">Oliver Lietz</span> on <span class="comment">Thu Jan 4 15:24:08 2018 +0100</span></div>                <p>
                     Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
                 </p><p>
                     Copyright © 2011-2017 The Apache Software Foundation.

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].