Hi Josef,

If you put 5.2 then you’ll get version 5.2 even if you have version 6.0M1 in 
your local repo.

To debug this, you could use “mvn help:effective-pom” and then version used.

Thanks
-Vincent

On 26 Mar 2014 at 10:03:16, Haimerl, Josef ([email protected]) wrote:

Hi devs,  

I'm trying to use an older version of the Maven XAR Plugin, but it seems like 
the version tag is only a minimum declaration. Since the project is not Java7 
yet, the build fails. I tried to set the version in square brackets 
[${commons.version}] to require a hard version of the extension, but this shows 
no effect.  

<extension>  
<groupId>org.xwiki.commons</groupId>  
<artifactId>xwiki-commons-tool-xar-handlers</artifactId>  
<version>${commons.version}</version>  
</extension>  

Is there any solution or do I have to upgrade the project to Java7?  

Thanks and regards,  
Josef  
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to