summaryrefslogtreecommitdiff
path: root/spec/fixtures/java/maven
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-07-22 08:45:02 +0000
committerCan Eldem <celdem@gitlab.com>2020-07-22 08:45:02 +0000
commitca675527b53c2a8316c962ee1a17bc1ee1c0c156 (patch)
treed350d872ebf69f0b07ecf6497011c345205d11f7 /spec/fixtures/java/maven
parente1bb260b43763a36536b7d3fa4d73108ffb604d4 (diff)
parent0e7c92f64a4f910da3266be167fcf28dccb76689 (diff)
Merge branch '224187-add-maven-tests' into 'master'v3.19.1
Update maven/gradle offline tests See merge request gitlab-org/security-products/license-management!195
Diffstat (limited to 'spec/fixtures/java/maven')
-rw-r--r--spec/fixtures/java/maven/example/pom.xml39
-rw-r--r--spec/fixtures/java/maven/example/settings.xml15
-rw-r--r--spec/fixtures/java/maven/external-gitlab-repo/pom.xml21
-rw-r--r--spec/fixtures/java/maven/external-gitlab-repo/settings.xml16
-rw-r--r--spec/fixtures/java/maven/gitlab-repo/pom.xml21
-rw-r--r--spec/fixtures/java/maven/multimodule/api/pom.xml26
-rw-r--r--spec/fixtures/java/maven/multimodule/model/pom.xml27
-rw-r--r--spec/fixtures/java/maven/multimodule/pom.xml27
-rw-r--r--spec/fixtures/java/maven/multimodule/web/pom.xml27
-rw-r--r--spec/fixtures/java/maven/pom-single.xml.erb27
-rw-r--r--spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.jarbin0 -> 47610 bytes
-rw-r--r--spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.properties.erb1
-rwxr-xr-xspec/fixtures/java/maven/simple/mvnw165
-rw-r--r--spec/fixtures/java/maven/simple/pom.xml22
-rw-r--r--spec/fixtures/java/maven/simple/settings.xml3
15 files changed, 437 insertions, 0 deletions
diff --git a/spec/fixtures/java/maven/example/pom.xml b/spec/fixtures/java/maven/example/pom.xml
new file mode 100644
index 0000000..b59f809
--- /dev/null
+++ b/spec/fixtures/java/maven/example/pom.xml
@@ -0,0 +1,39 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>example</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0</version>
+ <name>example</name>
+ <url>http://maven.apache.org</url>
+ <licenses>
+ <license>
+ <name>MIT</name>
+ <url>https://opensource.org/licenses/MIT</url>
+ </license>
+ </licenses>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>gitlab-maven</id>
+ <url>https://gitlab.com/api/v4/projects/6130122/packages/maven</url>
+ </repository>
+ </repositories>
+ <distributionManagement>
+ <repository>
+ <id>gitlab-maven</id>
+ <url>https://gitlab.com/api/v4/projects/6130122/packages/maven</url>
+ </repository>
+ <snapshotRepository>
+ <id>gitlab-maven</id>
+ <url>https://gitlab.com/api/v4/projects/6130122/packages/maven</url>
+ </snapshotRepository>
+ </distributionManagement>
+</project>
diff --git a/spec/fixtures/java/maven/example/settings.xml b/spec/fixtures/java/maven/example/settings.xml
new file mode 100644
index 0000000..e84b931
--- /dev/null
+++ b/spec/fixtures/java/maven/example/settings.xml
@@ -0,0 +1,15 @@
+<settings>
+ <servers>
+ <server>
+ <id>gitlab-maven</id>
+ <configuration>
+ <httpHeaders>
+ <property>
+ <name>Job-Token</name>
+ <value>${env.CI_JOB_TOKEN}</value>
+ </property>
+ </httpHeaders>
+ </configuration>
+ </server>
+ </servers>
+</settings>
diff --git a/spec/fixtures/java/maven/external-gitlab-repo/pom.xml b/spec/fixtures/java/maven/external-gitlab-repo/pom.xml
new file mode 100644
index 0000000..07bc1a7
--- /dev/null
+++ b/spec/fixtures/java/maven/external-gitlab-repo/pom.xml
@@ -0,0 +1,21 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>license-scanning</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>example</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>example</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/external-gitlab-repo/settings.xml b/spec/fixtures/java/maven/external-gitlab-repo/settings.xml
new file mode 100644
index 0000000..b7dbb1c
--- /dev/null
+++ b/spec/fixtures/java/maven/external-gitlab-repo/settings.xml
@@ -0,0 +1,16 @@
+<settings>
+ <profiles>
+ <profile>
+ <id>custom</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>gitlab-maven</id>
+ <url>https://gitlab.com/api/v4/projects/6130122/packages/maven</url>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
+</settings>
diff --git a/spec/fixtures/java/maven/gitlab-repo/pom.xml b/spec/fixtures/java/maven/gitlab-repo/pom.xml
new file mode 100644
index 0000000..07bc1a7
--- /dev/null
+++ b/spec/fixtures/java/maven/gitlab-repo/pom.xml
@@ -0,0 +1,21 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>license-scanning</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>example</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>example</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/multimodule/api/pom.xml b/spec/fixtures/java/maven/multimodule/api/pom.xml
new file mode 100644
index 0000000..c621c1a
--- /dev/null
+++ b/spec/fixtures/java/maven/multimodule/api/pom.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>java-maven-multi-modules</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>api</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <name>api</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>model</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.struts</groupId>
+ <artifactId>struts2-core</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/multimodule/model/pom.xml b/spec/fixtures/java/maven/multimodule/model/pom.xml
new file mode 100644
index 0000000..91b366b
--- /dev/null
+++ b/spec/fixtures/java/maven/multimodule/model/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>java-maven-multi-modules</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>model</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <name>model</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <maven.compiler.source>1.6</maven.compiler.source>
+ <maven.compiler.target>1.6</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>2.8.2</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/multimodule/pom.xml b/spec/fixtures/java/maven/multimodule/pom.xml
new file mode 100644
index 0000000..e84ad4a
--- /dev/null
+++ b/spec/fixtures/java/maven/multimodule/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>java-maven-multi-modules</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>java-maven-multi-modules</name>
+ <modules>
+ <module>api</module>
+ <module>model</module>
+ <module>web</module>
+ </modules>
+ <dependencies>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>4.1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project> \ No newline at end of file
diff --git a/spec/fixtures/java/maven/multimodule/web/pom.xml b/spec/fixtures/java/maven/multimodule/web/pom.xml
new file mode 100644
index 0000000..548e9fb
--- /dev/null
+++ b/spec/fixtures/java/maven/multimodule/web/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>java-maven-multi-modules</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>web</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <name>web</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <maven.compiler.source>1.6</maven.compiler.source>
+ <maven.compiler.target>1.6</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-xml</artifactId>
+ <version>2.7.3</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/pom-single.xml.erb b/spec/fixtures/java/maven/pom-single.xml.erb
new file mode 100644
index 0000000..897b3a6
--- /dev/null
+++ b/spec/fixtures/java/maven/pom-single.xml.erb
@@ -0,0 +1,27 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.secure</groupId>
+ <artifactId>license-scanning</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>example</name>
+ <dependencies>
+ <dependency>
+ <groupId><%= group_id %></groupId>
+ <artifactId><%= artifact_id %></artifactId>
+ <version><%= version %></version>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id><%= repository_id %></id>
+ <url><%= repository_url %></url>
+ </repository>
+ </repositories>
+ <distributionManagement>
+ <repository>
+ <id><%= repository_id %></id>
+ <url><%= repository_url %></url>
+ </repository>
+ </distributionManagement>
+</project>
diff --git a/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.jar b/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 0000000..9cc84ea
--- /dev/null
+++ b/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.jar
Binary files differ
diff --git a/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.properties.erb b/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.properties.erb
new file mode 100644
index 0000000..5ab4ccc
--- /dev/null
+++ b/spec/fixtures/java/maven/simple/.mvn/wrapper/maven-wrapper.properties.erb
@@ -0,0 +1 @@
+distributionUrl=<% distribution_url %>
diff --git a/spec/fixtures/java/maven/simple/mvnw b/spec/fixtures/java/maven/simple/mvnw
new file mode 100755
index 0000000..5d8e6c3
--- /dev/null
+++ b/spec/fixtures/java/maven/simple/mvnw
@@ -0,0 +1,165 @@
+#!/bin/sh
+
+if [ -z "$MAVEN_SKIP_RC" ] ; then
+ if [ -f /etc/mavenrc ] ; then
+ . /etc/mavenrc
+ fi
+ if [ -f "$HOME/.mavenrc" ] ; then
+ . "$HOME/.mavenrc"
+ fi
+fi
+
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+ CYGWIN*) cygwin=true ;;
+ MINGW*) mingw=true;;
+ Darwin*) darwin=true
+ if [ -z "$JAVA_HOME" ]; then
+ if [ -x "/usr/libexec/java_home" ]; then
+ export JAVA_HOME="`/usr/libexec/java_home`"
+ else
+ export JAVA_HOME="/Library/Java/Home"
+ fi
+ fi
+ ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+ if [ -r /etc/gentoo-release ] ; then
+ JAVA_HOME=`java-config --jre-home`
+ fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+ PRG="$0"
+
+ while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname "$PRG"`/$link"
+ fi
+ done
+ saveddir=`pwd`
+ M2_HOME=`dirname "$PRG"`/..
+ M2_HOME=`cd "$M2_HOME" && pwd`
+ cd "$saveddir"
+fi
+
+if $cygwin ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --unix "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+if $mingw ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME="`(cd "$M2_HOME"; pwd)`"
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ javaExecutable="`which javac`"
+ if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
+ readLink=`which readlink`
+ if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
+ if $darwin ; then
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
+ else
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
+ fi
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+ JAVA_HOME="$javaHome"
+ export JAVA_HOME
+ fi
+ fi
+fi
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="`which java`"
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly." >&2
+ echo " We cannot execute $JAVACMD" >&2
+ exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+ echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+find_maven_basedir() {
+ if [ -z "$1" ]
+ then
+ echo "Path not specified to find_maven_basedir"
+ return 1
+ fi
+
+ basedir="$1"
+ wdir="$1"
+ while [ "$wdir" != '/' ] ; do
+ if [ -d "$wdir"/.mvn ] ; then
+ basedir=$wdir
+ break
+ fi
+ if [ -d "${wdir}" ]; then
+ wdir=`cd "$wdir/.."; pwd`
+ fi
+ done
+ echo "${basedir}"
+}
+
+concat_lines() {
+ if [ -f "$1" ]; then
+ echo "$(tr -s '\n' ' ' < "$1")"
+ fi
+}
+
+BASE_DIR=`find_maven_basedir "$(pwd)"`
+if [ -z "$BASE_DIR" ]; then
+ exit 1;
+fi
+
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
+echo $MAVEN_PROJECTBASEDIR
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+if $cygwin; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --path --windows "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+ [ -n "$MAVEN_PROJECTBASEDIR" ] &&
+ MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
+fi
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+exec "$JAVACMD" \
+ $MAVEN_OPTS \
+ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+ "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+ ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/spec/fixtures/java/maven/simple/pom.xml b/spec/fixtures/java/maven/simple/pom.xml
new file mode 100644
index 0000000..d4becd3
--- /dev/null
+++ b/spec/fixtures/java/maven/simple/pom.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.gitlab.security_products.tests</groupId>
+ <artifactId>java-maven-multi-modules</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>simple</name>
+ <dependencies>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>4.1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/spec/fixtures/java/maven/simple/settings.xml b/spec/fixtures/java/maven/simple/settings.xml
new file mode 100644
index 0000000..ed45b79
--- /dev/null
+++ b/spec/fixtures/java/maven/simple/settings.xml
@@ -0,0 +1,3 @@
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <localRepository>${env.PWD}/.m2/repository</localRepository>
+</settings>