apache / apache/maven-ear-plugin
[MEAR-282] Support data-source element
- Dominant language
- Java
- Stars
- 14
- Forks
- 29
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 6
Description
**[Joeren Haag](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hjoeren)** opened **[MEAR-282](https://issues.apache.org/jira/browse/MEAR-282?redirect=false)** and commented
Since Version 6 and up to the latest Version of Java/Jakarta EE the data-source element is defined in the Schema of the `application.xml` ([#1]). So it would be nice to support the data-source element also in the configuration of the maven-ear-plugin. Here is my actual workaround:
1. enable the generation of `application.xml`
2. move the generated `application.xml` to the source folder `src/main/application`
3. disable the generation of `application.xml`
4. add the data-source configuration to `application.xm`
Here is a "simple example" of the data-source element (the example is based on Version 8 of Java EE), like it's look in the `application.xml`:
```xml
```
—
* {anchor:1} 1: application-schema for Java EE version 6 - https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/application_6.xsd
---
1 votes, 3 watchers
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.