Skip to content

Commit

Permalink
removed repository config from bom
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak committed Sep 4, 2011
1 parent ad31c3c commit 49dbb2c
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 39 deletions.
14 changes: 14 additions & 0 deletions building.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Building this project
=====================

This project requires Apache Maven (available from http://maven.apache.org/)
Version 3.0.3 or later to build. It also requires that the JBoss Public Maven
Repository is configured - this can be done in one of two ways:

1) Configure your settings.xml (usually found in the .m2 directory within your
home directory) to include the JBoss repository - see the instructions on the
following page to learn how to do this: http://community.jboss.org/wiki/MavenGettingStarted

2) Use the provided settings.xml, by running "mvn <target> -s settings.xml".


43 changes: 4 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,66 +87,31 @@
<module>docs</module>
</modules>
</profile>
<profile>
<id>jboss-public-repository</id>
<activation>
<property>
<name>jboss-public-repository</name>
<value>!false</value>
</property>
</activation>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>

<profile>
<!-- all tests using managed containers -->
<id>all</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<!-- jboss remote profile-->
<id>jbossas-remote-6</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<!-- jboss managed profile-->
<id>jbossas-managed-6</id>
<modules>
<module>tests/jbossas-hibernate</module>
</modules>
</profile>

<profile>
<id>code-coverage</id>
<dependencies>
Expand Down
44 changes: 44 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<settings>
<profiles>
<profile>
<id>jboss-public-repository</id>
<activation>
<property>
<name>jboss-public-repository</name>
<value>!false</value>
</property>
</activation>

<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</settings>

0 comments on commit 49dbb2c

Please sign in to comment.