An open API service indexing awesome lists of open source software.

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

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:
image

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:
image

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:
image