As long as the poms inside the repository is pom v3, there's no way to get rid of the warnings/errors.

The real solution is convert the poms to v4.

If you do not want to change your existing builds to m2, then I guess you can create a separate repository that will pull the v3 poms from the m1 repository, convert that pom to v4, and then store it in an m2 repository along with the corresponding artifact archived package.

To convert a v3 pom to v4, you might want to take a look at repo-clean. I don't know if repo-clean has any docs yet, but the source can be found here: https://svn.apache.org/repos/asf/maven/sandbox/repoclean

^_^



Helck, Christopher wrote:

I'm using a legacy repository. When I run maven I see warnings like
this:

[WARNING] POM for 'ebs:marketdata:pom:1.0.7' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM.

The jar in question was built and deployed with maven1. How do I get rid
of this error? Do I need to convert my legacy repo to a maven2 repo?

Thanks,
C. Helck



Thank you for being part of it.

The information contained in this e-mail is confidential. This e-mail is 
intended only for the stated addressee.  If you are not an addressee, you must 
not disclose, copy, circulate or in any other way use or rely on the 
information contained in this e-mail. if you have received this e-mail in 
error, please inform us immediately and delete it and all copies from your 
system.

EBS Dealing Resources International Limited. Registered address: 10 Paternoster 
Square, London EC4M 7DY, United Kingdom. Registered number 2669861.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison 
Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building 
F - Floor 3, Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer 
Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to