There is a security vulnerability in SSH key-generation using GitKraken < v8.0.1. If you used this tool to create SSH keys, please update GitKraken and regenerate. If you need help with this, contact forum-support@opengroup.org

Commit 7d3d6397 authored by Rostislav Dublin (EPAM)'s avatar Rostislav Dublin (EPAM)
Browse files

Merge branch 'poms' into 'master'

Removed unhardcode repositories and distribution management from all poms (GONRG-1107)

See merge request !31
parents abdf6c16 f3c0faac
......@@ -36,7 +36,6 @@
<description>File service</description>
<modules>
<module>testing/file-test-core</module> <!-- Common Testing Dependencies-->
<module>file-core</module>
<!-- <module>provider/file-aws</module> FIX: Missing dependencies -->
<module>provider/file-gcp</module>
......@@ -288,4 +287,23 @@
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>Default</id>
<activation>
<property>
<name>!repo.releases.id</name>
</property>
</activation>
<properties>
<repo.releases.id>community-maven-repo</repo.releases.id>
<publish.snapshots.id>community-maven-via-job-token</publish.snapshots.id>
<publish.releases.id>community-maven-via-job-token</publish.releases.id>
<repo.releases.url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</repo.releases.url>
<publish.snapshots.url>https://community.opengroup.org/api/v4/projects/90/packages/maven</publish.snapshots.url>
<publish.releases.url>https://community.opengroup.org/api/v4/projects/90/packages/maven</publish.releases.url>
</properties>
</profile>
</profiles>
</project>
......@@ -23,6 +23,8 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-file-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.opengroup.osdu.file.azure</groupId>
<artifactId>file-test-azure</artifactId>
......@@ -145,25 +147,6 @@
</dependency>
</dependencies>
<repositories>
<repository>
<id>${repo.releases.id}</id>
<url>${repo.releases.url}</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>${publish.releases.id}</id>
<url>${publish.releases.url}</url>
</repository>
<snapshotRepository>
<id>${publish.snapshots.id}</id>
<url>${publish.snapshots.url}</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
......
......@@ -196,7 +196,7 @@ public abstract class File extends TestBase {
"POST",
getHeaders(null, client.getAccessToken()),
"{}");
assertEquals(HttpStatus.SC_UNAUTHORIZED, getLocationResponse.getStatus());
assertEquals(HttpStatus.SC_FORBIDDEN, getLocationResponse.getStatus());
}
@Test
......
......@@ -24,6 +24,7 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-file-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>file-test-gcp</artifactId>
......
......@@ -39,7 +39,7 @@
<modules>
<module>file-test-core</module>
<module>file-test-gcp</module>
<module>file-test-azure</module>
<module>file-test-azure</module>
</modules>
<repositories>
......@@ -59,4 +59,24 @@
<url>${publish.snapshots.url}</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>Default</id>
<activation>
<property>
<name>!repo.releases.id</name>
</property>
</activation>
<properties>
<repo.releases.id>community-maven-repo</repo.releases.id>
<publish.snapshots.id>community-maven-via-job-token</publish.snapshots.id>
<publish.releases.id>community-maven-via-job-token</publish.releases.id>
<repo.releases.url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</repo.releases.url>
<publish.snapshots.url>https://community.opengroup.org/api/v4/projects/90/packages/maven</publish.snapshots.url>
<publish.releases.url>https://community.opengroup.org/api/v4/projects/90/packages/maven</publish.releases.url>
</properties>
</profile>
</profiles>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment