Bug 1007535 - When a new SwitchYard project is created, it's pom includes references to: http://repository.jboss.org/nexus/content/groups/public
Summary: When a new SwitchYard project is created, it's pom includes references to: h...
Keywords:
Status: CLOSED DUPLICATE of bug 965097
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard Editor
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Jiri Sedlacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 17:16 UTC by Len DiMaggio
Modified: 2015-08-02 23:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-11-11 16:00:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pom file (3.25 KB, text/xml)
2013-09-12 17:17 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1007423 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1007436 0 unspecified CLOSED Need to provide off-line beta users with downloadable maven repo for beta 2021-02-22 00:41:40 UTC
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

Internal Links: 1007423 1007436

Description Len DiMaggio 2013-09-12 17:16:38 UTC
Description of problem:

Logging this bugzilla now as it may be affected by the other beta repo issues:

https://bugzilla.redhat.com/show_bug.cgi?id=1007423
https://bugzilla.redhat.com/show_bug.cgi?id=1007436

Should we be writing references to community repos into the pom.xml files of projects that we create with product bits?

Version-Release number of selected component (if applicable):
SOA6.ER2

How reproducible:
100%

Steps to Reproduce:
1. Create a new SwitchYard project 
2.
3.

Actual results:
See the attached pom.xml file:

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

Expected results:


Additional info:

Comment 1 Len DiMaggio 2013-09-12 17:17:31 UTC
Created attachment 796955 [details]
pom file

Comment 2 JBoss JIRA Server 2013-09-12 18:10:09 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1701

Using settings.xml is a pain and it bites more users than it helps.  Also, artifacts related to product have a unique version suffix, so I'm not sure how having the JBoss Nexus repository definition in the pom could possibly resolve product artifacts via this definition.

Now that I have that off my chest ... :-)  We are going to sync the 1.1 release artifacts to central, so this repo definition won't be necessary in community or product after that.

Comment 3 Max Rydahl Andersen 2013-09-13 09:49:12 UTC
Keith - we got quickfixes in JBoss Tools to edit/quickfix users settings.xml. That is what we do for maven.repository.redhat.com.

But general problem is more than just jboss.org being in pom.xml's its also how does users know which is the right version to use and how do they/we ensure they use the product bits ?

Comment 4 Keith Babo 2013-09-13 12:03:33 UTC
I definitely agree about making sure the correct version is used, regardless of the repositories defined in the pom.xml (which will go away) or settings.xml.  Rob and I had chatted at one point of having a product filter (or branch) over the tooling which would only show users the product versions when creating a new project.  Right now, there's a fairly large list of community versions presented to the user in the new project wizard.

Comment 5 JBoss JIRA Server 2013-10-01 10:56:50 UTC
Max Rydahl Andersen <manderse> made a comment on jira SWITCHYARD-1701

where is FSW ER4 directory ?

Comment 6 Rob Cernich 2013-11-11 16:00:44 UTC

*** This bug has been marked as a duplicate of bug 965097 ***

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

pushed

Comment 8 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.