richfaces-archetype-simpleapp: Add useJBossRepositories flag
------------------------------------------------------------
Key: RF-11716
URL:
https://issues.jboss.org/browse/RF-11716
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: archetype
Affects Versions: 4.1.0.CR1
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Priority: Minor
Fix For: 4.1.0.Final
Following Maven archetype creation guide-lines [1],
we are adding following section conditionally to generated pom.xml:
{code}
<repositories>
<!-- You should seriously consider using a repository manager or declare repositories
in your settings.xml.
See
http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-p...
-->
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<
url>https://repository.jboss.org/nexus/content/groups/public-jboss/<...
<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 Maven Repository Group</name>
<
url>https://repository.jboss.org/nexus/content/groups/public-jboss/<...
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira