Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 965097

Summary: Community maven repo is mentioned in pom.xml when new switchyard project is created in JBDS
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Sedlacek <jsedlace>
Component: ToolingAssignee: Rob Cernich <rcernich>
Status: CLOSED CURRENTRELEASE QA Contact: Len DiMaggio <ldimaggi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: apodhrad, atangrin, dlesage, kbabo, ldimaggi, oskutka, soa-p-jira
Target Milestone: ER7   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When you create a new SwitchYard project is in JBDS, there is a hardcoded reference to the community repository in the code. This can cause problems in the future if you then run 'mvn install' on the project as the wrong URL will be used.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 975725    

Description Jiri Sedlacek 2013-05-20 11:23:40 UTC
Description of problem:
When new switchyard project is created in JBDS, there is hardcoded reference to community repo inside: 

<repositories>
    <repository>
      <id>jboss-public-repository</id>
      <name>JBoss Public Maven Repository</name>
      <url>http://repository.jboss.org/nexus/content/groups/public</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>jboss-public-repository</id>
      <name>JBoss Public Maven Repository</name>
      <url>http://repository.jboss.org/nexus/content/groups/public</url>
    </pluginRepository>
  </pluginRepositories>

This can cause problems in the future if user do 'mvn install' on the project, when this project will be used as a dependency, its dependencies will be looked up on hardcoded url.

Comment 1 Rob Cernich 2013-11-11 16:00:44 UTC
*** Bug 1007535 has been marked as a duplicate of this bug. ***

Comment 2 JBoss JIRA Server 2013-11-12 01:01:15 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1701

pushed

Comment 3 Keith Babo 2014-01-21 02:05:07 UTC
Do we need doc text for this issue any longer?  The underlying issue (tooling adding the jboss.org repo) has been resolved.

Comment 4 Andrej Podhradsky 2014-01-22 10:00:00 UTC
Verified with JBDS-IS 7.0.0.CR2

Comment 5 JBoss JIRA Server 2014-06-16 23:48:49 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1701 to Closed