Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-673

Missing Implementation-Build manifest entry on Sitemap Forge Plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • sitemap-1.04.01
    • plugins-sitemap.xml
    • Ubunutu, Hippo 7.7.8, Maven 3, Java 7,
      <forge.sitemap.version>1.04.00</forge.sitemap.version>

    Description

      When deploying the cms the Sitemap forge plugin produces some warnings:

      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-sitemap-component'. Is Implementation-Build manifest entry missing?
      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-sitemap-based-on-hst-sitemap-component'. Is Implementation-Build manifest entry missing?
      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-news-sitemap-component'. Is Implementation-Build manifest entry missing?
      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-sitemap-index-component'. Is Implementation-Build manifest entry missing?
      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-sitemap-template'. Is Implementation-Build manifest entry missing?
      Build number not valid, not storing it on initialize item 'forge.onehippo.org.sitemap-hst-components-sitemap-sitemap-entry'. Is Implementation-Build manifest entry missing?

      The MANIFEST.MF misses the Implementation-Build property. By adding the following to the <build> section of the project pom of the Sitemap forge plugin the Implementation-Build property will be filled by the build number generated by the maven buildnumber plugin:

      <plugins>
      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>buildnumber-maven-plugin</artifactId>
      <version>1.2</version>
      <executions>
      <execution>
      <phase>validate</phase>
      <goals>
      <goal>create</goal>
      </goals>
      </execution>
      </executions>
      <configuration>
      <doCheck>false</doCheck>
      <doUpdate>false</doUpdate>
      </configuration>
      </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <version>2.1</version>
      <configuration>
      <archive>
      <manifest>
      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
      </manifest>
      <manifestEntries>
      <Implementation-Build>${buildNumber}</Implementation-Build>
      </manifestEntries>
      </archive>
      </configuration>
      </plugin>
      </plugins>

      Attachments

        Activity

          People

            jhoffman Jeroen Hoffman
            aal Ard Al (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified