Additional info: Maven 2 revision I used is: 278636.

And one additional question:

Can I specify version in the parent pom and use inherited value in subprojects or I have to specify version separately in every pom.xml?

You do not have to specify the version in the pom, it will use the one
stated in the <parent> element.
What about dependencies in the dependent projects, for example:
I specify in the parent pom.xml version 2.1. Then what I should write in the demo-ejb pom.xml in the version attribute:
<dependency>
     <groupId>net.bzdyl.demo</groupId>
     <artifactId>demo-par</artifactId>
     <version>????????</version>
     <type>par</type>
     <scope>compile</scope>
   </dependency>

I would like to use the same version as the demo-ejb version (without specifing it literally).

Best regards,
Piotrek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to