[
https://issues.jboss.org/browse/JBDS-3291?page=com.atlassian.jira.plugin....
]
Mustafa Musaji commented on JBDS-3291:
--------------------------------------
Hi Max
Okay so not as simple as I first thought. This is going to need some thought and I think
this should be more of a helper dialogue perhaps as opposed to a wizard or automated
thing. Because we have to consider the following:
* Not all modules are 1:1 with artifacts, as some modules include multiple maven artifacts
(CXF for example)
* Some modules do not contain any artifacts, and simply re-export package paths of others
* Some modules have well-known names but varying implementations, e.g. javax.servlet.api
where we could change the maven artifact
* APIs such as javax.servlet.api do not have an official maven name
* Not all modules export all classes in the jars they contain
Perhaps [~fbricon] can add his thoughts as I know he's done a lot of the maven work on
JBoss Tools?
Do you think this is something that's possible that will add value?
Mus
Support for auto generating jboss-deployment-structure based on JBoss
Modules selected in a project
---------------------------------------------------------------------------------------------------
Key: JBDS-3291
URL:
https://issues.jboss.org/browse/JBDS-3291
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Feature Request
Components: integration, server
Affects Versions: 8.0.0.GA
Reporter: Mustafa Musaji
Assignee: Max Rydahl Andersen
If you have a POM for a project that defines the following
{code}
<project>
...
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.bom</groupId>
<artifactId>eap6-supported-artifacts</artifactId>
<version>6.3.1.GA</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
...
<dependencies>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
{code}
The tooling should create a jboss-deployment-structure.xml that contains the
"org.apache.commons.beanutils" dependency automatically.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)