https://github.com/dashorst/webtools.common-13
Repository reproducing issue 13 in eclipse/webtools.common
https://github.com/dashorst/webtools.common-13
Last synced: 6 months ago
JSON representation
Repository reproducing issue 13 in eclipse/webtools.common
- Host: GitHub
- URL: https://github.com/dashorst/webtools.common-13
- Owner: dashorst
- Created: 2025-05-08T11:45:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-08T12:17:09.000Z (about 1 year ago)
- Last Synced: 2025-05-08T13:27:12.905Z (about 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REPRODUCER FOR eclipse/webtools.common#13
This projects is a reproduction scenario for [this eclipse/webtools.common ticket](https://github.com/eclipse-wtp-common/webtools.common/issues/13).
When trying to deploy the `warproject` into a servlet container the `with-fragments` jar file is excluded from the deployable, **UNLESS** you close the `with-fragments` project in the project explorer and let it be resolved through the local maven repository as an installed jar.
## Steps
1. checkout the project `gh repo clone dashorst/webtools.common-13`
2. build the project and install the artifacts into the local repository using maven
3. `cd webtools.common-13`
4. `mvn install`
5. import the projects into your Eclipse installation
The project structure:

6. try to deploy the `warproject` into your container (at least Wildfly 26+ doesn't work)
7. notice that the `warproject` misses the `with-fragments` jar file
A screen shot of step 6 and 7:

To mitigate the deployable issue follow these steps:
8. close the `with-fragments` project in the project explorer
9. try to deploy the `warproject` into your container
10. notice that the `warproject` now contains the `with-fragments` jar file
A screen shot of steps 8-10: