pom updates
This commit is contained in:
parent
95b3e8f4ba
commit
2d46ff5d3b
|
@ -12,11 +12,6 @@ ENV CREPO_BINARIES_REPO_URL=$CREPO_BINARIES_REPO_URL
|
|||
ENV CREPO_BINARIES_CREDENTIAL=$CREPO_BINARIES_CREDENTIAL
|
||||
ENV BUILD_VERSION=$BUILD_VERSION
|
||||
|
||||
RUN curl --location --request PUT "${CREPO_BINARIES_REPO_URL}opendmp/repository-jars/zenodo/zenodo-deposit-${BUILD_VERSION}.jar" \
|
||||
--header "Authorization: Basic ${CREPO_BINARIES_CREDENTIAL}" \
|
||||
--header "Content-Type: application/json" \
|
||||
--data-binary "@/build/target/repositorydepositzenodo-1.0.0-SNAPSHOT-jar-with-dependencies.jar"
|
||||
|
||||
RUN curl --location --request PUT "${CREPO_BINARIES_REPO_URL}opendmp/repository-jars/zenodo/zenodo-deposit-${BUILD_VERSION}.jar" \
|
||||
--header "Authorization: Basic ${CREPO_BINARIES_CREDENTIAL}" \
|
||||
--header "Content-Type: application/json" \
|
||||
|
|
89
pom.xml
89
pom.xml
|
@ -84,93 +84,40 @@
|
|||
</descriptorRefs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>ossrh</id>
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>ossrh</id>
|
||||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>ossrh</id>
|
||||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<configuration>
|
||||
<createChecksum>true</createChecksum>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.4.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>javadoc-generation</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<classifier>javadoc</classifier>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<excludes>
|
||||
<exclude>gr/**</exclude>
|
||||
<exclude>eu.eudat.depositinterface.zenodorepository.config.*</exclude>
|
||||
<exclude>eu.eudat.depositinterface.zenodorepository.interfaces.*</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>README.txt</include>
|
||||
</includes>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
</archive>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sources-generation</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<classifier>sources</classifier>
|
||||
<pattern></pattern>
|
||||
<shadedPattern>zenodorepository.shaded.</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>gr/**</exclude>
|
||||
<exclude>eu/eudat/depositinterface/repository/**</exclude>
|
||||
<exclude>eu/eudat/depositinterface/models/**</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>README.txt</include>
|
||||
</includes>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
</archive>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue