I should have ask wich version of maven you're using... The <url> element doesn't seem to be supported in m2. I guess it would brake the transitive dependency mechanism because this feature relies on remote repositories, even for licenced jars. You need perhaps to add your jaac jar in your own repository manually. I don't know exactly what the maven team did plan for this use case.
On 10/10/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > Pascal, thanks. That's good to know. I don't believe the URL was in > the POM as it was being downloaded. It certainly didn't display it when > m2 complained. > Again for new folks, maybe this should be included in the ibiblio > pom.xml files. > > In the case for jacc where hibernate is optionally dependent upon this > file at runtime, would it go in the hibernate pom.xml, or the jacc > pom.xml? I suspect the hibernate pom.xml since it would be able to > display the msg if the jacc's pom.xml was not available. > > Brian > > > > Pascal Thivent wrote: > > Hi, > > > > the <url> element of a dependency should be used for this. According > > to the documentation, "this url will be provided to the user if the > > jar file cannot be downloaded from the central repository" (see > > http://maven.apache.org/reference/project-descriptor.html#class_Dependency). > > > > Cheers, > > > > On 10/10/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > > >> Hi, I'm fairly new to maven. > >> > >> Is there a facility within maven that would suggest to a user where to > >> download a dependency from if it's not included in ibiblio repository? > >> I'm looking for javax.security jaac which hibernate 3.0.5 apparently has > >> a dependency on. I believe it's buried in the J2EE 1.4 download, but > >> this would really be nice to point someone in the right direction for this. > >> > >> Maybe this could be a new feature? > >> > >> -- > >> Brian > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > -- > > Pascal > > > > --------------------------------------------------------------------- > > 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] > > -- Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]