The problem is that I am pretty new to Maven 2 and I was not aware that I have to declare the dependency on the plugins section. Once I moved the dependency to the right spot, I got the problem solved.
Andreas -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 9:19 AM To: Maven Users List Subject: Re: [M2] Version-less jar files Mang, I think you don't understand the question. ;-) Andreas, I have no idea how to handle the situation that a dependency does not declare the versions of files it needs. If there was a work-around in M1, I'd suspect there's a one for M2, I just don't know what it would be. Personally I'd avoid the issue altogether -- I'd grab the jaxb1 source, write my own pom with proper versions etc, and deploy it internally for my coworkers to use instead of the non-versioned jaxb1 binary file. Wayne On 3/14/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > Hi, > > <build> > <finalName/> > </build> > > This lets you specify the final name without the version numbers on the > jar but I still think there's a version number attached to it in the > repository. The numbers only go away when the jars are packed into wars > or ears. > > _Mang Lau > > > > > > "Andreas Guther" <[EMAIL PROTECTED]> > 03/14/2006 12:02 PM > Please respond to > "Maven Users List" <users@maven.apache.org> > > > To > "Maven Users List" <users@maven.apache.org> > cc > > Subject > [M2] Version-less jar files > > > > > > > Hi, > > This is another Maven 2 question I am having problems finding the > answer: > > > How do I configure my maven 2 repository for jar files without a version > number in the file name? > > > I have the problem that jaxb1 has in its manifest file version less jar > files in the Class-Path definition. I have added to my repository > versioned jars but it looks as if jaxb is not unable to locate the > requested class. > > In maven 1 I could add an entry to the dependency that gave the jar file > name. How does this work in Maven 2? > > Thanks in advance for any help. > > Andreas > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]