Ideally you would ask the organization responsible for the artifact to kindly create and submit a proper pom for each of these artifacts which are missing pom files. This has the benefit of not only directly helping you and your projects but also indirectly helping everyone else who uses Maven.
The Maven Dev group cannot be held responsible to produce these pom files as it requires detailed knowledge of the internal workings of each artifact. Thus the only reasonable party who could create these poms is the originator of the artifact itself, or possibly an interested third party who knows a lot about that particular artifact. I've never had these missing pom errors actually cause my build to fail. But if these missing pom errors are bothering you that much, go ahead and and create "fake" poms for these artifacts and put them in your repo. But know that when "correct" poms for these artifacts are created and uploaded into the master repository, your Maven install will not know to replace your "fake" poms with the real ones, and so you will need to manually update them etc. Wayne On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
With a lot of libs I seem to get this kind of error: Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: wss4j:wss4j Reason: Error getting POM for 'wss4j:wss4j' from the repository: Error transferr ing file wss4j:wss4j:pom:1.5.0 It just seems to me that a lot of libs are stored in the repository without a *.pom file (like in this example) But I don't want that to break my build. So what's the recommended strategy to handle this. Install the *.pom file in my local repository myself? Tilman Rossmy MC-TO-CPT-POA-IMD Swisscom Mobile Waldeggstrasse 51 3097 Liebefeld BE Phone: +41795932871
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
