I have a short pom.xml. <project> <artifactId>a</artifactId> <groupId>a<groupId> <version>1.0</version> <build> <plugins> <plugin> <artifactId>b</artifactId> <groupId>b</groupId> <version>2.0</version> ... <configuration> <my_artifact_id>${project.artifactId}</my_artifact_id> <my_group_id>${project.groupId}</my_group_id> </configuration> ... </plugin> </plugins> </build> </project>
For some reason, the variables my_artifact_id and my_group_id are getting resolved by the plugin b-b-2.0 as null, so they are not being resolved correctly according to the configured values. I cannot see why what I am doing is wrong. May someone please tell me what is happening? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]