maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas Chinthalapudi <sri...@gmail.com>
Subject Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (fixProperties)
Date Thu, 14 Apr 2016 14:52:16 GMT
Unable to compile as it throws an compilation error

Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run
(fixProperties) on project flin-web-core: An Ant BuildException has
occured: Nothing to replace expression with. around Ant part ...... @ 4:42


<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <id>fixProperties</id>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>run</goal>
                    </goals>
                    <configuration>
                        <tasks>
                            <replaceregexp byline="true" flags="g">
                                <regexp pattern="([^'])'([^'])" />
                                <substitution expression="\1''\2" />
                                <fileset
dir="${project.build.directory}/generated-sources">
                                    <include
name="ApplicationResources_*.properties" />
                                </fileset>
                            </replaceregexp>
                        </tasks>
                    </configuration>
                </execution>
            </executions>
        </plugin>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message