I'm following 
this: 
https://maven-svn-revision-number-plugin.googlecode.com/svn/site/examples/artifact_name.html
and I know it's working because I see the rev no echo'd out when I use it 
so:
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.1</version>

                <executions>
                    <execution>
                        <phase>validate</phase>

                        <goals>
                            <goal>run</goal>
                        </goals>

                        <configuration>
                            <tasks>
                                <echo>Msg: 
${project.artifactId}-${project.version}-r${prefix.revision}</echo>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

So I'm trying to use it at the start of my poms <build> tag (the same one 
as above) like so

    <build>
        
<finalName>${project.artifactId}-${project.version}-r${prefix.revision}</finalName>


But the final name ends up as Foo-1.0-SNAPSHOT-r${prefix.revision}, i.e. 
the svn placeholder hasn't been set. Any tips please?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to