The jar is not in any repository so I read it off of the file system by setting the dependency to <scope>system</scope> This is the only scope which can read jars off the file system. If the scope is changed to compile, Maven will want to pull it from a repository. The m2 plugin for eclipse gives an error if <systemPath> is set and the scope is not system.
-----Original Message----- From: Wayne Fay [mailto:[email protected]] Sent: Wednesday, August 12, 2009 9:46 AM To: Maven Users List Subject: Re: How to add SYSTEM scope dependency to manifest? > if a dependency is defined as <scope>system</scope> then <addClasspath> > does not include it in the manifest. I need to include it in the > manifest. Any ideas? Is there a reason the obvious answer -- change it to a different scope eg compile -- is not acceptable? Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. --------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
