You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Russell, Mark" <Ma...@csgsystems.com> on 2005/10/10 17:17:28 UTC
tag not valid?
Whenever I try to use <repositoryPolicy> in a pom.xml I get the
following:
[INFO] Reason: Failed to parse model from file
'C:\DEV\MAVEN\fx_toolkit\pom.xml'. Error: 'Unrecognised tag:
'repositoryPolicy' (position: START_TAG seen ...<repository>\n
<repositoryPolicy>... @34:25) '
Was this tag maybe just renamed and the documentation on the
maven.apache.org/maven2 site not updated?
MAR
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: tag not valid?
Posted by Yann Le Du <le...@yahoo.com>.
Yes, there are still bugs in the site generation. For m2b3, <repositoryPolicy>
is actually <releases> or <snapshots> (depending on what you need).
e.g. :
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
[...]
Regards,
Yann
--- "Russell, Mark" <Ma...@csgsystems.com> a écrit :
> Whenever I try to use <repositoryPolicy> in a pom.xml I get the
> following:
>
> [INFO] Reason: Failed to parse model from file
> 'C:\DEV\MAVEN\fx_toolkit\pom.xml'. Error: 'Unrecognised tag:
> 'repositoryPolicy' (position: START_TAG seen ...<repository>\n
> <repositoryPolicy>... @34:25) '
>
> Was this tag maybe just renamed and the documentation on the
> maven.apache.org/maven2 site not updated?
>
>
> MAR
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org