Skip to content

Commit c42e4df

Browse files
committed
OCP-DEMO Add maven settings.xml with JBoss repository
1 parent bc69e00 commit c42e4df

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

openshift/message-board/settings.xml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<settings xmlns="http://maven.apache.org/settings/1.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
6+
<pluginGroups>
7+
<pluginGroup>org.jboss.maven.plugins</pluginGroup>
8+
</pluginGroups>
9+
10+
<profiles>
11+
<profile>
12+
<id>jboss-public-repository</id>
13+
<repositories>
14+
<!-- Use Central first -->
15+
<repository>
16+
<id>central</id>
17+
<name>Maven Central</name>
18+
<url>http://repo.maven.apache.org/maven2/</url>
19+
<snapshots>
20+
<enabled>false</enabled>
21+
<updatePolicy>never</updatePolicy>
22+
</snapshots>
23+
</repository>
24+
<!-- JBoss Public repository -->
25+
<repository>
26+
<id>jboss-public-repository-group</id>
27+
<name>JBoss Public Maven Repository Group</name>
28+
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
29+
<layout>default</layout>
30+
<releases>
31+
<enabled>true</enabled>
32+
<updatePolicy>never</updatePolicy>
33+
</releases>
34+
<snapshots>
35+
<enabled>true</enabled>
36+
<updatePolicy>never</updatePolicy>
37+
</snapshots>
38+
</repository>
39+
</repositories>
40+
<pluginRepositories>
41+
<!-- Use Central first -->
42+
<pluginRepository>
43+
<id>central</id>
44+
<name>Maven Central</name>
45+
<url>http://repo.maven.apache.org/maven2/</url>
46+
<snapshots>
47+
<enabled>false</enabled>
48+
<updatePolicy>never</updatePolicy>
49+
</snapshots>
50+
</pluginRepository>
51+
<!-- JBoss Public repository -->
52+
<pluginRepository>
53+
<id>jboss-public-repository-group</id>
54+
<name>JBoss Public Maven Repository Group</name>
55+
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
56+
<layout>default</layout>
57+
<releases>
58+
<enabled>true</enabled>
59+
<updatePolicy>never</updatePolicy>
60+
</releases>
61+
<snapshots>
62+
<enabled>true</enabled>
63+
<updatePolicy>never</updatePolicy>
64+
</snapshots>
65+
</pluginRepository>
66+
</pluginRepositories>
67+
</profile>
68+
</profiles>
69+
70+
<activeProfiles>
71+
<activeProfile>jboss-public-repository</activeProfile>
72+
</activeProfiles>
73+
</settings>

0 commit comments

Comments
 (0)