maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MNG-6027) Can't get a unescaped & sign
Date Wed, 25 May 2016 19:39:13 GMT

    [ https://issues.apache.org/jira/browse/MNG-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300712#comment-15300712
] 

Michael Osipov edited comment on MNG-6027 at 5/25/16 7:39 PM:
--------------------------------------------------------------

It is as simple as {{&amp;amp;}}. Otherwise, create a minimal project depicting your problem.


was (Author: michael-o):
It is as simple as {{&amp;}}. Otherwise, create a minimal project depicting your problem.

> Can't get a unescaped & sign
> ----------------------------
>
>                 Key: MNG-6027
>                 URL: https://issues.apache.org/jira/browse/MNG-6027
>             Project: Maven
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 3.3.3
>            Reporter: Zephyr Guo
>
> maven version: 
> {code}
> Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
> {code}
> plugin version:
> {code}
> <maven.antrun.plugin.version>1.7</maven.antrun.plugin.version>
> {code}
> error message:
> {code}
> 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
> {code}
> the Non-parseable part of pom:
> {code}
>    <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>
> {code}
> I can't  find any way to get a unescaped &.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message