Skip to content

Commit

Permalink
OWASP#810 Created a settings.xml to connect to an imaginary Nexus repo
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanshuagarwal-23 committed Oct 12, 2023
1 parent 04a459c commit 877ef9c
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions maven/settings/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<settings>
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/nexus/content/groups/public</url>
</mirror>
</mirrors>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<pluginGroups>
<pluginGroup>org.owsap.plugins</pluginGroup>
</pluginGroups>
<servers>
<server>
<id>nexus</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
</settings>

0 comments on commit 877ef9c

Please sign in to comment.