Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
pack-0.7.0
-
None
Description
The flatten-maven-plugin is missing from the main pom, resulting in no replacement of version placeholders in apache snapshot repositories
The current wrong pom
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>18</version>
</parent>
<groupId>org.apache.servicecomb.pack</groupId>
<artifactId>pack</artifactId>
<packaging>pom</packaging>
<version>${revision}</version>
Placeholders should be replaced in the correct cases, like this
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>18</version>
</parent>
<groupId>org.apache.servicecomb.pack</groupId>
<artifactId>pack</artifactId>
<packaging>pom</packaging>
<version>0.8.0-SNAPSHOT</version>