You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/12/06 14:06:56 UTC

[sling-slingfeature-maven-plugin] branch feature/SLING-8895 created (now 489469f)

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

rombert pushed a change to branch feature/SLING-8895
in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git.


      at 489469f  SLING-8895 - Configure local repository for invoker tests

This branch includes the following new commits:

     new 489469f  SLING-8895 - Configure local repository for invoker tests

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-slingfeature-maven-plugin] 01/01: SLING-8895 - Configure local repository for invoker tests

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/SLING-8895
in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git

commit 489469fda4836dbd0a16bf54ce43322c2bea5503
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Dec 6 15:06:29 2019 +0100

    SLING-8895 - Configure local repository for invoker tests
---
 pom.xml             |  1 +
 src/it/settings.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3e340d8..21e0c31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,6 +110,7 @@
                     <debug>true</debug>
                     <projectsDirectory>src/it</projectsDirectory>
                     <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+                    <settingsFile>src/it/settings.xml</settingsFile>
                     <pomIncludes>
                         <pomInclude>**/pom.xml</pomInclude>
                     </pomIncludes>
diff --git a/src/it/settings.xml b/src/it/settings.xml
new file mode 100644
index 0000000..a05b9d8
--- /dev/null
+++ b/src/it/settings.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+    agreements. See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file to you under the Apache License,
+    Version 2.0 (the "License"); you may not use this file except in compliance with the
+    License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+    either express or implied. See the License for the specific language governing permissions
+    and limitations under the License.
+-->
+<settings>
+    <profiles>
+        <profile>
+            <id>it-repo</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <repositories>
+                <repository>
+                    <id>local.central</id>
+                    <url>@localRepositoryUrl@</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>local.central</id>
+                    <url>@localRepositoryUrl@</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+    </profiles>
+</settings>
\ No newline at end of file