Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2641

Use flatten-maven-plugin to update version placeholders ${revision} for the main pom

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • pack-0.7.0
    • pack-0.8.0
    • Saga
    • 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>
       

       

       

      Attachments

        Activity

          People

            zhanglei Lei Zhang
            zhanglei Lei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: