Bug 975725 - Tooling always adds switchyard dependencies to new projects.
Summary: Tooling always adds switchyard dependencies to new projects.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: ---
Assignee: Václav Chalupa
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On: 965097
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-19 08:32 UTC by Jiri Sedlacek
Modified: 2016-09-20 01:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-04 12:59:18 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)

Description Jiri Sedlacek 2013-06-19 08:32:24 UTC
If you have your own project with parent pom, where repositories are configured (or can be configured also in settings.xml), even in this case the tooling adds repositories to your project pom. 


Second issue, tooling adds dependencies on switchyard-* libraries even if you have them in your parent pom. In this case, it would be probably better to have choice to add dependencies or not (e.g. by some modal window, which shows you what will be added and you will have the choice to copy the content and add it to your parent pom, or accept the addition).

Comment 1 Brian Fitzpatrick 2013-06-21 21:20:10 UTC
We'll definitely have to investigate this further.

Comment 2 Rob Cernich 2013-08-26 15:48:09 UTC
The SwitchYard Eclipse tooling does not provide support for specifying a parent project when creating a new SwitchYard project.  Because of this, there is no way to know, during project creation, that a parent pom might be used and that it might contain dependency and repository definitions.

If we want to add the ability to specify a parent project during project creation, I think that should be a separate enhancement request and should reference this BZ.

It should be noted that if a project is configured to use a parent project, which does declare dependencies, the SwitchYard tooling should pickup that the project supports any capabilities provided by those dependencies.  The tooling should also prevent you from removing those capabilities since they are declared outside the project.

Based on all of that, I'd like to mark this as WONTFIX.

Comment 3 Rob Cernich 2013-11-11 15:41:08 UTC
The request related to the repository is contained in #965097.

Updating this request to contain the enhancment to allow specification of a parent pom during project creation.

Comment 6 Brian Fitzpatrick 2015-08-04 12:59:18 UTC
Closing as WONTFIX


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