You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Bonner <br...@paraware.com> on 2005/10/10 20:25:06 UTC
dependency recommendations: jaac
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependency recommendations: jaac (how should m2 behave w/ a
missing jar or POM with a licensed jar)
Posted by Brian Bonner <br...@paraware.com>.
Pascal,
I'm using m2. I ended up putting jacc from hibernate in my local
repository. I'm pretty new to maven, but learning fast.
I debated using the trade-offs of using m1 with jelly and the plethora
of plugins (like cruisecontrol, scm, etc.) vs. going with m2 and the
simpler pom.xml spec (w/o property files and maven.xml, etc. -- but the
jury is still out) and transitive dependencies.
I was *expecting* the build to fail and to display where I should obtain
the jar (if there was in fact a POM for it). If there was no parm, an
error to this effect and then an indication of where to obtain the jar
and a msg about where to look to install the jar in my local repository
(good) or a shared repository (better).
I wonder how other folks expect this to work.
Brian
Pascal Thivent wrote:
> 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 <br...@paraware.com> 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 <br...@paraware.com> 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: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>>
>>> --
>>> Pascal
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
> --
> Pascal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependency recommendations: jaac
Posted by Pascal Thivent <pa...@gmail.com>.
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 <br...@paraware.com> 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 <br...@paraware.com> 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: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>
> >
> >
> > --
> > Pascal
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependency recommendations: jaac
Posted by Brian Bonner <br...@paraware.com>.
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 <br...@paraware.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
> --
> Pascal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependency recommendations: jaac
Posted by Pascal Thivent <pa...@gmail.com>.
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 <br...@paraware.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependency recommendations: jacc
Posted by Brian Bonner <br...@paraware.com>.
btw, it's contained in the hibernate distribution. Is there a way of
specifying in the pom.xml in ibiblio as part of these dependencies that
a particular jar is only needed in specific situations?
according to hibernate's lib\readme.txt jacc is an optional library at
runtime.
Brian
Brian Bonner 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?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org