From bae02b6ae73dda47dc86590b73c21a85bb7273a5 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 14 Apr 2020 12:50:13 -0600 Subject: Migrate specs from gitlab-org/security-products/license-management --- spec/fixtures/java/build.gradle.kts | 11 +++++++++ spec/fixtures/java/custom-maven-settings.xml | 16 +++++++++++++ spec/fixtures/java/maven-multimodule/api/pom.xml | 26 +++++++++++++++++++++ spec/fixtures/java/maven-multimodule/model/pom.xml | 27 ++++++++++++++++++++++ spec/fixtures/java/maven-multimodule/pom.xml | 27 ++++++++++++++++++++++ spec/fixtures/java/maven-multimodule/web/pom.xml | 27 ++++++++++++++++++++++ .../fixtures/java/pom-public-gitlab-repository.xml | 16 +++++++++++++ 7 files changed, 150 insertions(+) create mode 100644 spec/fixtures/java/build.gradle.kts create mode 100644 spec/fixtures/java/custom-maven-settings.xml create mode 100644 spec/fixtures/java/maven-multimodule/api/pom.xml create mode 100644 spec/fixtures/java/maven-multimodule/model/pom.xml create mode 100644 spec/fixtures/java/maven-multimodule/pom.xml create mode 100644 spec/fixtures/java/maven-multimodule/web/pom.xml create mode 100644 spec/fixtures/java/pom-public-gitlab-repository.xml (limited to 'spec/fixtures/java') diff --git a/spec/fixtures/java/build.gradle.kts b/spec/fixtures/java/build.gradle.kts new file mode 100644 index 0000000..494fc8b --- /dev/null +++ b/spec/fixtures/java/build.gradle.kts @@ -0,0 +1,11 @@ +plugins { + `java-library` +} +repositories { + jcenter() +} +dependencies { + api("org.apache.commons:commons-math3:3.6.1") + implementation("com.google.guava:guava:28.1-jre") + testImplementation("junit:junit:4.12") +} diff --git a/spec/fixtures/java/custom-maven-settings.xml b/spec/fixtures/java/custom-maven-settings.xml new file mode 100644 index 0000000..4fa5d16 --- /dev/null +++ b/spec/fixtures/java/custom-maven-settings.xml @@ -0,0 +1,16 @@ + + + + custom + + true + + + + gitlab-maven + https://gitlab.com/api/v4/projects/17523603/packages/maven + + + + + 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 @@ + + + 4.0.0 + + com.gitlab.security_products.tests + java-maven-multi-modules + 1.0-SNAPSHOT + + com.gitlab.security_products.tests + api + 1.0-SNAPSHOT + api + http://maven.apache.org + + + ${project.groupId} + model + ${project.version} + + + org.apache.struts + struts2-core + 2.5.1 + + + 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 @@ + + + 4.0.0 + + com.gitlab.security_products.tests + java-maven-multi-modules + 1.0-SNAPSHOT + + com.gitlab.security_products.tests + model + 1.0-SNAPSHOT + model + http://maven.apache.org + + 1.6 + 1.6 + UTF-8 + + + + org.apache.logging.log4j + log4j-core + 2.8.2 + + + 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 @@ + + + 4.0.0 + com.gitlab.security_products.tests + java-maven-multi-modules + 1.0-SNAPSHOT + pom + java-maven-multi-modules + + api + model + web + + + + io.netty + netty-all + 4.1.0.Final + + + junit + junit + 3.8.1 + test + + + \ 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 @@ + + + 4.0.0 + + com.gitlab.security_products.tests + java-maven-multi-modules + 1.0-SNAPSHOT + + com.gitlab.security_products.tests + web + 1.0-SNAPSHOT + web + http://maven.apache.org + + 1.6 + 1.6 + UTF-8 + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.7.3 + + + diff --git a/spec/fixtures/java/pom-public-gitlab-repository.xml b/spec/fixtures/java/pom-public-gitlab-repository.xml new file mode 100644 index 0000000..4e57c79 --- /dev/null +++ b/spec/fixtures/java/pom-public-gitlab-repository.xml @@ -0,0 +1,16 @@ + + 4.0.0 + com.gitlab.secure + license-scanning + jar + 1.0-SNAPSHOT + example + http://maven.apache.org + + + com.gitlab.xlgmokha + mvn-spike + 1.2-SNAPSHOT + + + -- cgit v1.2.3