[
https://jira.codehaus.org/browse/MEXEC-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MEXEC-95.
-------------------------------
Resolution: Not A Bug
Assignee: Robert Scholte
You have to escape the ampersand, the xml isn't valid like this.
Try
{code:xml}
<executable>myscript&</executable>
{code}
> Cannot run sh script with &
> ---------------------------
>
> Key: MEXEC-95
> URL: https://jira.codehaus.org/browse/MEXEC-95
> Project: Maven 2.x Exec Plugin
> Issue Type: Bug
> Reporter: mors
> Assignee: Robert Scholte
>
> When I try to run the script in background with the
> <executable>myscript.sh&</executable>
> comand, this exception appears:
> > org.apache.maven.reactor.MavenExecutionException: Parse error reading POM.
> > Reason: entity reference names can not start with character '<' (position:
> > START_TAG seen ...
> If this is an expected behaviour, since I don't know if the exec plug in is
> suppose to run background jobs, is there a simple way of doing this?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email