I have an error that I don't understand. I have a maven 1 project that builds a jar file called pps-3.0.2.jar. The jar (and it's pom) are moved into my legacy style repository.
I have a maven 2 project that depends on pps-3.0.2. It compiles and tests the code fine. During the assembly it is suppose to creates a directory of dependent jar files and it blows up with the message: ------------------------------------------------------------------------ - Error building POM (may not be this project's POM). Project ID: ebs:pps POM Location: /home/chelck/.m2/repository/ebs/pps/3.0.2/pps-3.0.2.pom Reason: Not a v4.0.0 POM. ----------------------------------------------------------------------- Running with -X doesn't supply any more usefull info. In a sense the error is correct: pps-3.0.2.pom is not v4.0.0 -- it's legacy. So why is mvn trying to build it's POM and why doesn't it realize it's a legacy pom? Thanks, Christopher Helck ********************************************************************** This communication and all information (including, but not limited to, market prices/levels and data) contained therein (the "Information") is for informational purposes only, is confidential, may be legally privileged and is the intellectual property of ICAP plc and its affiliates ("ICAP") or third parties. No confidentiality or privilege is waived or lost by any mistransmission. The Information is not, and should not be construed as, an offer, bid or solicitation in relation to any financial instrument or as an official confirmation of any transaction. The Information is not warranted, including, but not limited, as to completeness, timeliness or accuracy and is subject to change without notice. ICAP assumes no liability for use or misuse of the Information. All representations and warranties are expressly disclaimed. The Information does not necessarily reflect the views of ICAP. Access to the Information by anyone else other than the recipient is unauthorized and any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. **********************************************************************