[
https://issues.jboss.org/browse/TEIID-5563?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-5563:
-------------------------------------
Couple suggestions.
1) It seems appropriate to introduce the "org.teiid.wildfly" as groupid for any
projects underneath "wildfly" module.
2) Consider getting rid of the duplicate definition of "groupid" in the projects
like "connector-xxxx", that will base their group id to
"org.teiid.wildfly.resource-adapters". If we can't do (1) then at least
introduce that for resource-adapters module and down.
3) Consider renaming project from "connector-xxxx" to "xxxx-ra" or
"ra-xxxx", this along with group-id clearly separate them as WildFly constructs.
But this is not really required.
4) org.teiid.translator makes sense, but only for aesthetic reasons. Probably provides
more clarity for nomenclature and removes "connectors" altogether which could be
duplicate in times with connector, and relieves us from legacy names.
(1) one involves many pom changes, 4 will result in a lot of doc changes I think.
Separate the Teiid WildFly distribution into their own repo or
module
---------------------------------------------------------------------
Key: TEIID-5563
URL:
https://issues.jboss.org/browse/TEIID-5563
Project: Teiid
Issue Type: Task
Components: Build/Kits, Integration Tests
Affects Versions: 12.x
Reporter: Van Halbert
Assignee: Van Halbert
Priority: Major
With the different types of distributions now being built based on Teiid like
* WildFly
* Thorntail
* SpringBoot
* Embedded
Having main `github.com/teiid` repo contain artifacts for WildFly distribution poses an
unnecessary dependency burden on other distributions. For example, the resource adapters
are mainly for use with WildFly and Thorntail V2. They can still be applicable to
embedded and SpringBoot as either non-managed connection factories, or require the user to
provide appropriate management / pooling. When they are pulled into environments like
SpringBoot they will bring several wildfly dependencies / and JEE constructs that are
unnecessary - specifically the dependencies jboss-jaxws-api (teiid-api), javax.activation
(teiid-core), jboss-transaction-api (teiid-api), and jboss-connector-api (teiid-api).
This proposal is to separate "teiid" core modules along with all translators
into one repository and move all the resource adapters along with any feature-packs and
module building into a sperate repository like "teiid-wildfly". With the goal
of providing similar connectivity in SpringBoot using as much common logic from SpringBoot
(Spring Data in particular) and even Fuse as possible.
Basically, when finished, the core Teiid modules only provide Maven artifacts along with
their clean pom.xml with for direct and maybe transitive dependencies. None of the WildFly
based modules support will be here. At worst this may introduce duplicate dependencies
into the WildFly environment as we will need to manage all core / translator dependencies
independently from those provided by WildFly. Where possible the teiid-api / core modules
will need to use the generic javax dependency - or even remove the dependency if
possible.
The "teiid-wildfly" module on the other hand, will exactly preserve what is in
the current repo as far feature packs and module building and overall WildFly distribution
building.
A follow-on task we can task we can look into is, converting the main teiid then to use
basepom rather than the jboss-parent pom. However, the recommendation is this should be
done after, not simultaneously.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)