#scriptus pom error

1 messages · Page 1 of 1 (latest)

faint shard
#

this is more of a petty request, but I'm trying to use scriptus by md5, and the describe key is erroring because apparently it's undefined, although it works when I output to my version.properties regardless of the error, when I do try to define it, the string it returns is empty. Does anyone know how to get rid of this error?

<plugin>
    <groupId>net.md-5</groupId>
    <artifactId>scriptus</artifactId>
    <version>0.3.1</version>
    <executions>
        <execution>
            <phase>initialize</phase>
            <goals>
                <goal>describe</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <format>git:${project.name}:%s:${maven.build.timestamp}</format>
    </configuration>
</plugin>
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <version>2.5</version>
    <configuration>
        <archive>
            <manifestEntries>
                <Implementation-Version>${describe}</Implementation-Version><!-- word 'describe' here is in red -->
            </manifestEntries>
        </archive>
    </configuration>
</plugin>