Both modules (of type POM) can contain build steps, however when you reference
a POM it will not execute those steps (the steps are executed before - you
would deploy the referenced project first).
If you want to distribute or repackage the pulled in dependencies you would use
the assembly or resource plugin in the including Pom.
Gruss
Bernd
Gruss
Bernd
--
http://bernd.eckenfels.net
From: DariusGmail
Sent: Saturday, April 21, 2018 9:31:11 PM
To: users@maven.apache.org
Subject: Functionality allowed in a dependency of type=POM
If I have a POM that contains a dependency of type=POM, e.g.
com.mycompany
mysql-starter
1.0
pom
I see that the included POM can contain other dependencies, thus
providing a way to package together a set of related dependencies.
Can the reference POM also contain build steps?
For example: Use the resource plugin to copy certain files that are
needed when using the specific JAR mentioned in its dependencies.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org