Bug 965097 - Community maven repo is mentioned in pom.xml when new switchyard project is created in JBDS
Summary: Community maven repo is mentioned in pom.xml when new switchyard project is c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Tooling
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER7
: ---
Assignee: Rob Cernich
QA Contact: Len DiMaggio
URL:
Whiteboard:
: 1007535 (view as bug list)
Depends On:
Blocks: 975725
TreeView+ depends on / blocked
 
Reported: 2013-05-20 11:23 UTC by Jiri Sedlacek
Modified: 2015-08-02 23:43 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1701 0 Blocker Closed bad practice: default project adds repository.jboss.org repos into pom.xml 2014-06-16 23:48:46 UTC

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


Note You need to log in before you can comment on or make changes to this bug.