Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The loose app config generated by the 'deploy' goal does not include the "Maven descriptor" (pom.xml/pom.properties) though some LDT/WDT loose deployments do #1825

Open
scottkurz opened this issue Aug 8, 2024 · 0 comments

Comments

@scottkurz
Copy link
Member

Answering an internal user's question I learned that apparently the older "Liberty Developer Tools" / "WebSphere Developer Tools" Eclipse managed deployment (using WTP) configured entries adding the two archiver files to the app:

  • The pom file, located in the archive in META-INF/maven/${groupId}/${artifactId}/pom.xml
  • A pom.properties file, located in the archive in META-INF/maven/${groupId}/${artifactId}/pom.properties

In the liberty-maven-plugin-managed deployment through the 'deploy' goal, however, we do NOT add these two files as part of the app deployment. We don't treat them as part of the app.

It's still a bit unclear to me whether/when LDT/WDT deployments used entries like:

<dir sourceOnDisk=".....\target\m2e-wtp\web-resources" targetInArchive="/"/>

vs. when they added specific <file> entries for pom.xml and pom.properties. In playing around quick, I saw evidence of both. Maybe it depends what level of Maven integration gets activated.

I don't have time to dig further now, but this seemed like a useful writeup to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant