[ https://issues.apache.org/jira/browse/SCB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Zhang reassigned SCB-2641: ------------------------------ Assignee: Lei Zhang > Use flatten-maven-plugin to update version placeholders ${revision} for the > main pom > ------------------------------------------------------------------------------------ > > Key: SCB-2641 > URL: https://issues.apache.org/jira/browse/SCB-2641 > Project: Apache ServiceComb > Issue Type: Task > Components: Saga > Affects Versions: pack-0.7.0 > Reporter: Lei Zhang > Assignee: Lei Zhang > Priority: Major > > 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* > {code:java} > <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> > {code} > > *{color:#172b4d}Placeholders should be replaced in the correct cases, like > this{color}* > > {code:java} > <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> > {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)