Skip to content

Commit

Permalink
distr gmt in profile
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-olaveide committed Feb 16, 2022
1 parent 18a93b1 commit 6790d02
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .github/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@
</repository>
<repository>
<id>github</id>
<name>GitHub</name>
<name>gitHub</name>
<url>https://maven.pkg.github.com/navikt/token-support/</url>
</repository>
</repositories>
</profile>
</profiles>
</settings>

</settings>
28 changes: 16 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@
<developerConnection>scm:git:[email protected]:navikt/token-support.git</developerConnection>
<tag>HEAD</tag>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -138,6 +127,21 @@
</plugins>
</build>
</profile>
<profile>
<id>github</id>
<activation>
<property>
<name>github</name>
</property>
</activation>
<distributionManagement>
<repository>
<id>github</id>
<name>Github navikt Maven Packages</name>
<url>https://maven.pkg.github.com/navikt/token-support</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>deploy-to-sonatype</id>
<activation>
Expand Down Expand Up @@ -373,4 +377,4 @@
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>
</dependencies>
</project>
</project>

0 comments on commit 6790d02

Please sign in to comment.