pom.xml is xml, you need to escape your "&" symbols with "&"

2009/3/10 solo1970 <[email protected]>

>
> Hello All,
>
> I would like to put the following URL:
>
>
> http://local.mysite/pub/get?Type=19010-TEST9040044/1&Lang=X&Rev=1&Format=GZIP
> in the <url></url> tags of my POM,
> but I get the following error:
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: unknown
> POM Location: C:\TMP\sonia\pom.xml
>
> Reason: Parse error reading POM. Reason: entity reference name can not
> contain c
> haracter =' (position: START_TAG seen
> ...<url>http://local.mysite/pub/get?Type=1
> 9010-TEST9040044/1&Lang=.<http://local.mysite/pub/get?Type=1%0A9010-TEST9040044/1&Lang=.>..
> @11:66)  for project unknown at
> C:\TMP\sonia\pom.xml
>
>
> Is there a workaround?
>
> Thanks
>
> Sonia
> --
> View this message in context:
> http://www.nabble.com/Special-URL-characters-tp22436449p22436449.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to