Bonsoir,
Lorsqu'on release (mvn release:prepare) un projet multimodule, les projets modules sont-ils tagés?
Par exemple j'ai :
MonProjetParent
+-- child1
Workspace :
MonProjetParent -> svn://localhost/MonProjetParent/trunk
+-- child1 -> svn://localhost/child1/trunk
déjà est ce que sur svn c'est bien ou ce devrait être autrement du genre :
svn://localhost/MonProjetParent/trunk
svn://localhost/MonProjetParent/trunk/child1
????
Voici mes poms respectifs :
MonProjetParent
child1
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 <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> <groupId>fr.monGroupId</groupId> <artifactId>MonProjetParent</artifactId> <version>1.0-SNAPSHOT</version> <name>MonProjetParent</name> <url>http://maven.apache.org</url> <packaging>pom</packaging> <scm> <connection>scm:svn:svn://localhost/MonProjetParent/trunk</connection> </scm> <modules> <module>child1</module> </modules> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>
mon mvn release:prepare fonctionne mais ne tag que le projet parent dans mon repos svn.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 <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> <groupId>fr.monGroupId</groupId> <artifactId>child1</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>child1</name> <url>http://maven.apache.org</url> <parent> <groupId>fr.monGroupId</groupId> <artifactId>MonProjetParent</artifactId> <version>1.0-SNAPSHOT</version> </parent> <scm> <connection>scm:svn:svn://localhost/child1</connection> </scm> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>
SVN :
svn://localhost/MonProjetParent/tags/MonProjetParent-1.0
svn://localhost/child1/tags/(vide)
Est-ce normal?
Merci.
Cédric.
Partager