Hi guys , my problem is that I have a project with the following structure:
parent module1 module2 module3 Could I set the version of all module in parent and set the version in each module as: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>blabla</groupId> <artifactId>name</artifactId> <version>1.0</version> <relativePath>../</relativePath> </parent> <groupId>blabla</groupId> <artifactId>${projet.name}-sdp-blabla</artifactId> ??????????????? <version>${project.version}</version> ????????????????? <packaging>pom</packaging> I want to change the version only in parent and set the version automatically in all submodules... could you help me? when I try to build I have the following problem Non-resolvable parent POM: Failure to find blabla:name-sdp-blabla:pom:1.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 10 -> [Help 2] -- View this message in context: http://maven.40175.n5.nabble.com/Maven-Version-with-multimodule-project-tp5713074.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
