Re: cvs.a.o dependency reduction

2006-04-06 Thread Jorg Heymans

Niclas Hedhman wrote:

> No need. One could use  instead.
> 
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> 
> See section "System Dependencies"
>

Well no, as  can only be used with system.
System scoped dependencies are only available on the classpath during
the compile and test cycle and are not passed on transitively.

Regards
Jorg





Re: cvs.a.o dependency reduction

2006-04-06 Thread Niclas Hedhman
On Thursday 06 April 2006 04:11, Jorg Heymans wrote:

> I think that the minimum requirement is to have the libs in a
> repo-compliant directory structure.

No need. One could use  instead.

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

See section "System Dependencies"


Niclas


Re: cvs.a.o dependency reduction

2006-04-05 Thread Sylvain Wallez
Jorg Heymans wrote:
> Sylvain Wallez wrote:
>
>   
>> Well, considering the manual process required for this, yes.
>>
>> Now this leads to a question I haven't found an answer to: is it
>> possible with M2 to have local dependencies, i.e. jars that are in _no_
>> repository, just like the "lib" directory in our 2.1 branch? That would
>> avoid having to maintain a local repository as an interim place for the
>> main one.
>
> I think that the minimum requirement is to have the libs in a
> repo-compliant directory structure.
>
> It might however also be possible to define a repository using the file
> protocol, like:
>
> 
>   localfilerepo
>   custom repo
>   file://my/repo/dir
> 
>
>   

Yeah, I used something similar to host a fake repo:

  com.example.project
  file://${basedir}/local-repo


> but i haven't tried this yet. In any case, constructs like this defeat
> the purpose of what maven is (should be) all about. The long term
> solution lies in maven advocacy towards other projects, as frustrating
> as this may sound.
>   

Sure, but there are situations when you have either some jars that
cannot be deployed on a repository, either because they're highly
specific or proprietary.

Anyway, thanks for the confirmation.

Sylvain

-- 
Sylvain Wallez
http://bluxte.net
Apache Software Foundation Member



Re: cvs.a.o dependency reduction

2006-04-05 Thread Jorg Heymans

Sylvain Wallez wrote:

> Well, considering the manual process required for this, yes.
> 
> Now this leads to a question I haven't found an answer to: is it
> possible with M2 to have local dependencies, i.e. jars that are in _no_
> repository, just like the "lib" directory in our 2.1 branch? That would
> avoid having to maintain a local repository as an interim place for the
> main one.
> 

I think that the minimum requirement is to have the libs in a
repo-compliant directory structure.

It might however also be possible to define a repository using the file
protocol, like:


  localfilerepo
  custom repo
  file://my/repo/dir


but i haven't tried this yet. In any case, constructs like this defeat
the purpose of what maven is (should be) all about. The long term
solution lies in maven advocacy towards other projects, as frustrating
as this may sound.


Jorg



Re: cvs.a.o dependency reduction

2006-04-05 Thread Ralph Goers

Sylvain Wallez wrote:
  
Well, considering the manual process required for this, yes.


Now this leads to a question I haven't found an answer to: is it
possible with M2 to have local dependencies, i.e. jars that are in _no_
repository, just like the "lib" directory in our 2.1 branch? That would
avoid having to maintain a local repository as an interim place for the
main one.

Sylvain


I think you can achieve the same effect by having a repository within 
the project and then set the project properties to include it.


Ralph


Re: cvs.a.o dependency reduction

2006-04-04 Thread Sylvain Wallez
Jorg Heymans wrote:
> fyi,
>
> I've removed daisy-util, daisy-htmlcleaner and xreporter-expression from
> cvs.a.o as they are now on ibiblio. Note that the groupid has changed
> and that daisy-util is now transitively depended on through
> daisy-htmlcleaner.
>
> The whole process ([1], [2] and [3]) took about 10 days, which isn't
> that bad I guess.
>   

Well, considering the manual process required for this, yes.

Now this leads to a question I haven't found an answer to: is it
possible with M2 to have local dependencies, i.e. jars that are in _no_
repository, just like the "lib" directory in our 2.1 branch? That would
avoid having to maintain a local repository as an interim place for the
main one.

Sylvain

-- 
Sylvain Wallez
http://bluxte.net
Apache Software Foundation Member



cvs.a.o dependency reduction

2006-04-04 Thread Jorg Heymans
fyi,

I've removed daisy-util, daisy-htmlcleaner and xreporter-expression from
cvs.a.o as they are now on ibiblio. Note that the groupid has changed
and that daisy-util is now transitively depended on through
daisy-htmlcleaner.

The whole process ([1], [2] and [3]) took about 10 days, which isn't
that bad I guess.

I'll request more of our dependent libs to be uploaded sometime this
week. Feel free to help out, instructions on how to create the bundle
archive are at [4].

Regards
Jorg

[1] http://jira.codehaus.org/browse/MAVENUPLOAD-793
[2] http://jira.codehaus.org/browse/MAVENUPLOAD-794
[3] http://jira.codehaus.org/browse/MAVENUPLOAD-795
[4] http://maven.apache.org/guides/mini/guide-ibiblio-upload.html