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 <[email protected]> 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
