maven-credential-helper
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.hamnaberg</groupId>
<artifactId>maven-credential-helper</artifactId>
<version>1.0.0-RC3</version>
</dependency><?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>net.hamnaberg</groupId>
<artifactId>maven-credential-helper</artifactId>
<version>1.0.0-RC3</version>
<description>Use registered credentials helpers using the docker-credential-helper format</description>
<name>maven-credential-helper</name>
<url>https://codeberg.org/hamnis/maven-credential-helper</url>
<developers>
<developer>
<id>hamnis</id>
<name>Erlend Hamnaberg</name>
<email>erlend@hamnaberg.net</email>
</developer>
</developers>
<scm>
<connection>scm:git:ssh://codeberg.org/hamnis/maven-credential-helper.git</connection>
<developerConnection>scm:git:ssh://codeberg.org/hamnis/maven-credential-helper.git</developerConnection>
<url>https://codeberg.org/hamnis/maven-credential-helper</url>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<repository_host>localhost</repository_host>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>6.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.9.12</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>3.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.17</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
<version>5.18.0</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
<version>0.9.0.M4</version>
<executions>
<execution>
<id>gen-index</id>
<goals>
<goal>main-index</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>integrationTest</id>
<activation>
<property>
<name>it</name>
</property>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.1</version>
<configuration>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<finalName>${build.finalName}-shaded</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.9.1</version>
<configuration>
<showErrors>true</showErrors>
<streamLogs>false</streamLogs>
<projectsDirectory>src/it</projectsDirectory>
<localRepositoryPath>target/local-repo</localRepositoryPath>
<settingsFile>upload-settings.xml</settingsFile>
<mavenOpts>
-Dmaven.ext.class.path=${project.build.directory}/${project.build.finalName}-shaded.jar
</mavenOpts>
<properties>
<credhelper.version>${project.version}</credhelper.version>
<parent.basedir>${project.basedir}</parent.basedir>
<repository_host>${repository_host}</repository_host>
<org.slf4j.simpleLogger.log.net.hamnaberg.mch>debug
</org.slf4j.simpleLogger.log.net.hamnaberg.mch>
</properties>
<environmentVariables>
<PATH>${project.basedir}/bin${path.separator}${env.PATH}</PATH>
<MAVEN_CREDENTIAL_HELPER>{"http://${repository_host}:9999": "env"}
</MAVEN_CREDENTIAL_HELPER>
<MAVEN_TARGET_URL>http://${repository_host}:9999</MAVEN_TARGET_URL>
<MAVEN_USERNAME>admin</MAVEN_USERNAME>
<MAVEN_SECRET>secret</MAVEN_SECRET>
<VERSIONING_DISABLE>true</VERSIONING_DISABLE>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
<publishingServerId>sonatype</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>