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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Create Maven Settings
run: |
mkdir -p ~/.m2
printf '<settings>\n <servers>\n <server>\n <id>codice</id>\n <username>x-access-token</username>\n <password>%s</password>\n </server>\n </servers>\n</settings>\n' "${{ github.token }}" > ~/.m2/settings.xml
printf '<settings>\n <servers>\n <server>\n <id>github</id>\n <username>x-access-token</username>\n <password>%s</password>\n </server>\n <server>\n <id>codice-maven</id>\n <username>x-access-token</username>\n <password>%s</password>\n </server>\n </servers>\n</settings>\n' "${{ github.token }}" "${{ github.token }}" > ~/.m2/settings.xml

- name: Build
run: mvn clean install -B
Expand Down
30 changes: 25 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<hamcrest.version>2.2</hamcrest.version>
<junit.version>5.7.0</junit.version>
<mockito.version>3.2.4</mockito.version>
<codice-maven.version>0.2</codice-maven.version>
<codice-maven.version>0.4-SNAPSHOT</codice-maven.version>
<maven.surefire.version>3.0.0-M4</maven.surefire.version>
</properties>

Expand All @@ -57,16 +57,36 @@

<repositories>
<repository>
<id>codice</id>
<name>Codice Repository</name>
<id>github</id>
<name>Codice GitHub Packages</name>
<url>https://maven.pkg.github.com/codice/ddf</url>
</repository>
<repository>
<id>codice-maven</id>
<name>Codice Maven GitHub Packages</name>
<url>https://maven.pkg.github.com/codice/codice-maven</url>
</repository>
<repository>
<id>codice-nexus</id>
<name>Codice Nexus (legacy fallback)</name>
<url>https://artifacts.codice.org/content/groups/public/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>codice</id>
<name>Codice Repository</name>
<id>github</id>
<name>Codice GitHub Packages</name>
<url>https://maven.pkg.github.com/codice/ddf</url>
</pluginRepository>
<pluginRepository>
<id>codice-maven</id>
<name>Codice Maven GitHub Packages</name>
<url>https://maven.pkg.github.com/codice/codice-maven</url>
</pluginRepository>
<pluginRepository>
<id>codice-nexus</id>
<name>Codice Nexus (legacy fallback)</name>
<url>https://artifacts.codice.org/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
Expand Down
Loading