Bit lost here. Trying to include some webapps files but have a ~~RELEASE~~ variable to replace.
To do this in other maven projects I'd do something like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<inherited>true</inherited>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
<configuration>
<encoding>UTF-8</encoding>
<delimiters>
<delimiter>${*}</delimiter>
<delimiter>#{*}</delimiter>
<delimiter>~~*~~</delimiter>
</delimiters>
</configuration>
</plugin>
How do I get this working with the maven-hpi-plugin? Or another way to do it and replace the ~~*~~ with whatever variables I have defined in the pom.xml?
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/1dac0b2f-75fb-4a76-bc84-7f18840362ddn%40googlegroups.com.