Maven p2: Some pom settings

There are various things you can put in your pom.xml. Here are some things relating to the build and injecting properties.

Within <project>, you can set the build name for the jar, or whatever, that's created.


Note the project.groupId is relating to the various in the pom.xml file. is relating to the java variable found via getProperties(). You can also use env.path to get the path variable in the environment.

The ${foo} relates to a custom variable. This can also be in settings.xml apparently. You define it within the project tag, too.


Edit on github
comments powered by Disqus
Click me