Jefe infiltrado
Jefe infiltrado

Reputation: 382

Problems with maven replacer plugin

I am trying to use the com.google.code.maven-replacer-plugin but is seems to have no effect at all.

    <build>
            <plugins>
                <plugin>
                    <groupId>com.google.code.maven-replacer-plugin</groupId>
                    <artifactId>maven-replacer-plugin</artifactId>
                    <version>1.3.5</version>
                    <executions>
                        <execution>
                            <id>replaceTokens</id>
                            <phase>prepare-package</phase>
                            <goals>
                                <goal>replace</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <file>src/main/resources/executionConfig/execution-configuration.properties</file>
                        <replacements>
                            <replacement>
                                <token>ImportResultToXray</token>
                                <value>false</value>
                            </replacement>
                        </replacements>
                    </configuration>
                </plugin>
            </plugins>
    </build>

In properties file I have ImportResultToXray set to true and assumed that the plugin would change it to false. But this does not happen. Am I getting something wrong here?

Upvotes: 0

Views: 811

Answers (0)

Related Questions