Hello all,
I would like to add
<properties>
<key1>value1</key1>
<keyX>valueX</keyX>
<properties>
I can see the following benefits:
- Using single version property at the root pom to handle all sub project
parent and dependencies versions
For example:
<parent>
<groupId>parentgroupid<groupId>
<artifactId>parentid</artifactId>
<version>${my.version}</version>
</parent>
<artifactId>myid</artifactId>
<dependencies>
<dependency>
<groupId>parentgroupid<groupId>
<artifactId>parentid</artifactId>
<version>${my.version}</version>
</dependency>
</dependencies>
This will help tremendously interm usabitlity where can just modify my
root pom and cut a new release without going to every sub project
to change the version numbers and deal with SCM.
- Second benefit is to have common string replacement in build
configuration.
For example in mutlitplatform native build projects, I can
have the parent
pom to hold some common property in include paths
parent
pom.xml
windows-x86
pom.xml
aix-ppc
pom.xml
linux-x86
pom.xml
hpux-ia64
pom.xml
hpux-parisc
pom.xml
solaris-sparc
pom.xml
In parent pom i can have
<properties>
<otherprojectincludepath>
${basedir}/../../licencemanager/src/main/h
</otherprojectincludepath>
many more....
</properties>
this way each platfrom specific project can reuse the parent property
Currently I have to repeat many paths in each platforms which
become annoyed and hard to maintain
Other plugins can benefit this as well. For example multiple plugins can reused
${finalName} expression in their builds configuration
Is it possible in term of M2 architecture?
Thanks
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]