Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .reuse/dep5

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build:
.PHONY: reuse-test
reuse-test:
@echo testing licensing with reuse...
docker run --rm --volume $(PWD):/data fsfe/reuse:0.11.1 lint
docker run --rm --volume $(PWD):/data fsfe/reuse:6.2 lint

.PHONY: examples-test
examples-test: example-volumes example-region example-vm example-config_file example-config_env example-password_auth
Expand Down
16 changes: 16 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version = 1
SPDX-PackageName = "osc-sdk-java"
SPDX-PackageSupplier = "Outscale support <support@outscale.com>"
SPDX-PackageDownloadLocation = "https://github.com/outscale/osc-sdk-java/"

[[annotations]]
path = ["**.md", "**.md.template"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2019 Outscale SAS <support@outscale.com>"
SPDX-License-Identifier = "CC-BY-4.0"

[[annotations]]
path = ["Makefile", "sdk_version", "api_version", "**.java", ".git**", "src/**", "dist/**", "**.yml", "**.yaml", "examples/**", "pom.xml", "pom.xml.template", "sdk/**", "bundle/**" ,"sbom/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2019 Outscale SAS <support@outscale.com>"
SPDX-License-Identifier = "BSD-3-Clause"
115 changes: 115 additions & 0 deletions bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<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>

<parent>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java-parent</artifactId>
<version>0.8.0</version>
</parent>

<artifactId>osc-sdk-java-bundle</artifactId>
<packaging>jar</packaging>
<name>osc-sdk-java Bundle (uber-jar)</name>

<dependencies>
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<relocations>
<relocation>
<pattern>com.squareup.okhttp3</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.com.squareup.okhttp3</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.code.gson</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.com.google.code.gson</shadedPattern>
</relocation>
<relocation>
<pattern>io.gsonfire</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.io.gsonfire</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.org.apache</shadedPattern>
</relocation>
<relocation>
<pattern>jakarta</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.jakarta</shadedPattern>
</relocation>
<relocation>
<pattern>org.openapitools</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.org.openapitools</shadedPattern>
</relocation>
<relocation>
<pattern>javax.ws.rs</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.javax.ws.rs</shadedPattern>
</relocation>
<relocation>
<pattern>javax.annotation</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.javax.annotation</shadedPattern>
</relocation>
<relocation>
<pattern>software.amazon.awssdk.auth</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.software.amazon.awssdk.auth</shadedPattern>
</relocation>
<relocation>
<pattern>dev.failsafe</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.dev.failsae</shadedPattern>
</relocation>
<relocation>
<pattern>org.junit</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.org.junit</shadedPattern>
</relocation>
<relocation>
<pattern>org.mockito</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.org.mockito</shadedPattern>
</relocation>
<relocation>
<pattern>org.bouncycastle</pattern>
<shadedPattern>io.github.outscale.osc-sdk-java.thirdparty.org.bouncycastle</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/NOTICE.txt</exclude>
<exclude>META-INF/NOTICE</exclude>
<exclude>META-INF/LICENSE</exclude>
<exclude>META-INF/LICENSE.txt</exclude>
<exclude>META-INF/FastDoubleParser-LICENSE</exclude>
<exclude>META-INF/FastDoubleParser-NOTICE</exclude>
<exclude>module-info.class</exclude>
<exclude>META-INF/versions/*/module-info.class</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading
Loading