Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
maven version:
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
plugin version:
<maven.antrun.plugin.version>1.7</maven.antrun.plugin.version>
error message:
entity reference names can not start with character '1' (position: START_TAG seen ...cho file="target/download.sh">\n\t\t\t\t if which wget >/dev/null 2>&1... @185:36) @ line 185, column 36
the Non-parseable part of pom:
<profile> <id>download</id> <activation> <activeByDefault>true</activeByDefault> <property><name>!skipTests</name></property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> <executions> <execution> <id>download</id> <phase>generate-sources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <echo file="target/download.sh"> if which wget >/dev/null 2>&1; then DOWNLOAD_CMD="wget --no-check-certificate -nv -O" elif which curl >/dev/null 2>&1; then DOWNLOAD_CMD="curl -sS -o" fi echo $DOWNLOAD_CMD </echo> <exec executable="bash" dir="${basedir}" failonerror="true"> <arg line="target/download.sh"/> </exec> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile>
I can't find any way to get a unescaped &.
Attachments
Issue Links
- relates to
-
MNG-3242 It's not possible to get a property with unescaped & sign for urls
- Closed