Re: Problem downloading dependencies

2013-10-22 Thread Adrien Rivard
Hi Robert,

spring-web-osgi 1.1.2 is depending on org.springframework.osgi:
servlet-api.osgi:jar:2.5-SNAPSHOT which is rather surprising (A release
should never contains any snapshot, and even more considering it is on
maven central)

I would try to update spring-web-osgi to 1.2.0 which does not seems to
suffer from the same problem.




On Tue, Oct 22, 2013 at 2:10 PM, Russell Gold  wrote:

> Hi Robert,
>
> I don't see the artifact you want in the repository you listed. I don't
> see it in Maven Central, either. So:
>
> 1) What makes you think such an artifact exists? It looks to me as though
> all of the spring artifacts have names beginning with "spring-osgi"
> 2) Why are you trying to use a snapshot? Prefer the releases unless you
> have some specific reason to look for unreleased features.
>
> Regards,
> Russ
>
> On Oct 21, 2013, at 3:35 PM, Robert Dailey 
> wrote:
>
> > Hi,
> >
> > I'm very new to maven so I have no idea what's causing this error. I
> > have a sample application and I type "mvn clean install -U", which
> > seems to grab all dependencies except one:
> >
> > [WARNING] The POM for
> > org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing,
> > no dependency information available
> >
> > Because of this, building my project eventually has an error:
> >
> > [INFO]
> 
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] simple-bundle . SUCCESS
> [1.029s]
> > [INFO] simpleweb-war . SUCCESS
> [2.764s]
> > [INFO] simple-kar  FAILURE
> [3.378s]
> > [INFO] simpleweb . SKIPPED
> > [INFO]
> 
> > [INFO] BUILD FAILURE
> > [INFO]
> 
> > [INFO] Total time: 7.632s
> > [INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013
> > [INFO] Final Memory: 29M/561M
> > [INFO]
> 
> > [ERROR] Failed to execute goal on project simple-kar: Could not
> > resolve dependencies for project com.good.server:simple-kar:pom:1.0:
> > Could not find artifact
> > org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in
> > repository.springsource.snapshot
> > (http://repo.springsource.org/snapshot) -> [Help 1]
> >
> > I have tried messing around with  in my pom.xml, but
> > that doesn't seem to help. Here is my project pom.xml (for
> > simple-kar). Any idea whats going on?
> >
> > 
> > http://maven.apache.org/POM/4.0.0";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> >
> >4.0.0
> >
> >com.good.server
> >simple-kar
> >1.0
> >pom
> >
> >
> >
> >repository.springsource.snapshot
> >SpringSource Snapshot Repository
> >http://repo.springsource.org/snapshot
> >
> >
> >mvnrepository
> >http://repo1.maven.org/maven2
> >
> >
> >
> >
> > 
> > 1.7
> > 3.1.1.RELEASE
> > 
> > UTF-8
> > 
> >
> > 
> > 
> > javax.servlet
> > javax.servlet-api
> > 3.0.1
> > provided
> > 
> >
> >org.springframework.osgi
> >spring-osgi-web
> >1.1.2
> >
> > 
> >
> >
> >
> >
> >org.apache.karaf.tooling
> >features-maven-plugin
> >2.2.8
> >
> >
> >create-kar
> >
> >create-kar
> >
> >
> >
> > src/main/resources/features.xml
> >
> >
> >
> >
> >
> >
> >
> > 
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
> -
> Author, Getting Started with Apache Maven <
> http://www.packtpub.com/getting-started-with-apache-maven/video>
>
> Come read my webnovel, Take a Lemon ,
> and listen to the Misfile radio play <
> http://www.fuzzyfacetheater.com/misfile/>!
>
>
>
>
>
>
>
>


-- 
Adrien Rivard


Re: Problem downloading dependencies

2013-10-22 Thread Russell Gold
Hi Robert,

I don't see the artifact you want in the repository you listed. I don't see it 
in Maven Central, either. So:

1) What makes you think such an artifact exists? It looks to me as though all 
of the spring artifacts have names beginning with "spring-osgi"
2) Why are you trying to use a snapshot? Prefer the releases unless you have 
some specific reason to look for unreleased features.

Regards,
Russ

On Oct 21, 2013, at 3:35 PM, Robert Dailey  wrote:

> Hi,
> 
> I'm very new to maven so I have no idea what's causing this error. I
> have a sample application and I type "mvn clean install -U", which
> seems to grab all dependencies except one:
> 
> [WARNING] The POM for
> org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing,
> no dependency information available
> 
> Because of this, building my project eventually has an error:
> 
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] simple-bundle . SUCCESS [1.029s]
> [INFO] simpleweb-war . SUCCESS [2.764s]
> [INFO] simple-kar  FAILURE [3.378s]
> [INFO] simpleweb . SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 7.632s
> [INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013
> [INFO] Final Memory: 29M/561M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project simple-kar: Could not
> resolve dependencies for project com.good.server:simple-kar:pom:1.0:
> Could not find artifact
> org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in
> repository.springsource.snapshot
> (http://repo.springsource.org/snapshot) -> [Help 1]
> 
> I have tried messing around with  in my pom.xml, but
> that doesn't seem to help. Here is my project pom.xml (for
> simple-kar). Any idea whats going on?
> 
> 
> http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> 
>4.0.0
> 
>com.good.server
>simple-kar
>1.0
>pom
> 
>
>
>repository.springsource.snapshot
>SpringSource Snapshot Repository
>http://repo.springsource.org/snapshot
>
>
>mvnrepository
>http://repo1.maven.org/maven2
>
>
>
> 
> 
> 1.7
> 3.1.1.RELEASE
> 
> UTF-8
> 
> 
> 
> 
> javax.servlet
> javax.servlet-api
> 3.0.1
> provided
> 
>
>org.springframework.osgi
>spring-osgi-web
>1.1.2
>
> 
> 
>
>
>
>org.apache.karaf.tooling
>features-maven-plugin
>2.2.8
>
>
>create-kar
>
>create-kar
>
>
> 
> src/main/resources/features.xml
>
>
>
>
>
>
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

-
Author, Getting Started with Apache Maven 


Come read my webnovel, Take a Lemon , 
and listen to the Misfile radio play !









Problem downloading dependencies

2013-10-21 Thread Robert Dailey
Hi,

I'm very new to maven so I have no idea what's causing this error. I
have a sample application and I type "mvn clean install -U", which
seems to grab all dependencies except one:

[WARNING] The POM for
org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing,
no dependency information available

Because of this, building my project eventually has an error:

[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] simple-bundle . SUCCESS [1.029s]
[INFO] simpleweb-war . SUCCESS [2.764s]
[INFO] simple-kar  FAILURE [3.378s]
[INFO] simpleweb . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 7.632s
[INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013
[INFO] Final Memory: 29M/561M
[INFO] 
[ERROR] Failed to execute goal on project simple-kar: Could not
resolve dependencies for project com.good.server:simple-kar:pom:1.0:
Could not find artifact
org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in
repository.springsource.snapshot
(http://repo.springsource.org/snapshot) -> [Help 1]

I have tried messing around with  in my pom.xml, but
that doesn't seem to help. Here is my project pom.xml (for
simple-kar). Any idea whats going on?


http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

4.0.0

com.good.server
simple-kar
1.0
pom



repository.springsource.snapshot
SpringSource Snapshot Repository
http://repo.springsource.org/snapshot


mvnrepository
http://repo1.maven.org/maven2





1.7
3.1.1.RELEASE

UTF-8




javax.servlet
javax.servlet-api
3.0.1
provided


org.springframework.osgi
spring-osgi-web
1.1.2






org.apache.karaf.tooling
features-maven-plugin
2.2.8


create-kar

create-kar



src/main/resources/features.xml









-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: problem downloading dependencies

2012-06-30 Thread Sdgvdsg .
I still don't know what actually was the problem but i found a workaround
using the same network but connecting through my phone.

Thanks for the replay
Regards

On Sat, Jun 30, 2012 at 5:16 PM, Aliaksei Lahachou <
aliaksei.lahac...@gmail.com> wrote:

> Hi,
>
> can it be that your Internet connection is unreliable and sometimes
> download is interrupted? Maven by default will not reattempt to dowload
> artifacts until the next day. You can try adding -U to force Maven to
> redownload failed artifacts and snapshots.
>
>
> Regards,
> htfv (Aliaksei Lahachou)
>
>
> On Sat, Jun 30, 2012 at 1:42 PM, sdgvdsg sdgvdsg 
> wrote:
>
> > Hi,
> >
> > I followed
> >
> http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin
> > order to create my first Maven project.
> > The installation was successful but when i try to download the
> dependencies
> > I have some downloading activities but after a while the downlaoding
> stops
> > and eventually there will be an error as the one below.
> >
> > This is my home network and I don't have proxy, also part of the
> > dependencies are being downloaded so the settings should be correct.
> >
> > On the page
> >
> http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
> > there is a text
> > *If you have just installed Maven, it may take a while on the first run.
> > This is because Maven is downloading the most recent artifacts (plugin
> jars
> > and other files) into your local repository. You may also need to execute
> > the command a couple of times before it succeeds. This is because the
> > remote server may time out before your downloads are complete. Don't
> worry,
> > there are ways to fix that.
> > *
> > But I tried 15-20 times same thing is happening. What could be the
> problem,
> > do I need to set up something else?
> >
> > I am investigating this issue couple of days but I still can't find a
> > solution.
> > Thank You
> >
> > [INFO]
> > 
> > [INFO] BUILD FAILURE
> > [INFO]
> > 
> > [INFO] Total time: 30:01.055s
> > [INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012
> > [INFO] Final Memory: 6M/107M
> > [INFO]
> > 
> > [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one
> of
> > its d
> > ependencies could not be resolved: Could not transfer artifact
> > org.apache.maven.
> > plugins:maven-clean-plugin:jar:2.4.1 from/to central (
> > http://repo.maven.apache.o
> > rg/maven2): GET request of:
> > org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma
> > ven-clean-plugin-2.4.1.jar from central failed: Read timed out -> [Help
> 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > swit
> > ch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please rea
> > d the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
> > onException
> >
>


Re: problem downloading dependencies

2012-06-30 Thread Aliaksei Lahachou
Hi,

can it be that your Internet connection is unreliable and sometimes
download is interrupted? Maven by default will not reattempt to dowload
artifacts until the next day. You can try adding -U to force Maven to
redownload failed artifacts and snapshots.


Regards,
htfv (Aliaksei Lahachou)


On Sat, Jun 30, 2012 at 1:42 PM, sdgvdsg sdgvdsg  wrote:

> Hi,
>
> I followed
> http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin
> order to create my first Maven project.
> The installation was successful but when i try to download the dependencies
> I have some downloading activities but after a while the downlaoding stops
> and eventually there will be an error as the one below.
>
> This is my home network and I don't have proxy, also part of the
> dependencies are being downloaded so the settings should be correct.
>
> On the page
> http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
> there is a text
> *If you have just installed Maven, it may take a while on the first run.
> This is because Maven is downloading the most recent artifacts (plugin jars
> and other files) into your local repository. You may also need to execute
> the command a couple of times before it succeeds. This is because the
> remote server may time out before your downloads are complete. Don't worry,
> there are ways to fix that.
> *
> But I tried 15-20 times same thing is happening. What could be the problem,
> do I need to set up something else?
>
> I am investigating this issue couple of days but I still can't find a
> solution.
> Thank You
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 30:01.055s
> [INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012
> [INFO] Final Memory: 6M/107M
> [INFO]
> 
> [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of
> its d
> ependencies could not be resolved: Could not transfer artifact
> org.apache.maven.
> plugins:maven-clean-plugin:jar:2.4.1 from/to central (
> http://repo.maven.apache.o
> rg/maven2): GET request of:
> org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma
> ven-clean-plugin-2.4.1.jar from central failed: Read timed out -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
> onException
>


problem downloading dependencies

2012-06-30 Thread sdgvdsg sdgvdsg
Hi,

I followed
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin
order to create my first Maven project.
The installation was successful but when i try to download the dependencies
I have some downloading activities but after a while the downlaoding stops
and eventually there will be an error as the one below.

This is my home network and I don't have proxy, also part of the
dependencies are being downloaded so the settings should be correct.

On the page
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
there is a text
*If you have just installed Maven, it may take a while on the first run.
This is because Maven is downloading the most recent artifacts (plugin jars
and other files) into your local repository. You may also need to execute
the command a couple of times before it succeeds. This is because the
remote server may time out before your downloads are complete. Don't worry,
there are ways to fix that.
*
But I tried 15-20 times same thing is happening. What could be the problem,
do I need to set up something else?

I am investigating this issue couple of days but I still can't find a
solution.
Thank You

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 30:01.055s
[INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012
[INFO] Final Memory: 6M/107M
[INFO]

[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of
its d
ependencies could not be resolved: Could not transfer artifact
org.apache.maven.
plugins:maven-clean-plugin:jar:2.4.1 from/to central (
http://repo.maven.apache.o
rg/maven2): GET request of:
org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma
ven-clean-plugin-2.4.1.jar from central failed: Read timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException


Re: prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread Justin Edelson

  
your-repo
http://repomanager/
*
  


Will cause all depedencies to be resolved from the mirror, regardless
of any repositories defined in the poms.

Justin

On Wed, Aug 4, 2010 at 9:34 AM, david_  wrote:
>
> Hi
>
> I want to prevent maven from downloading dependencies from the repositories
> that are configured in pom.xml files. Maven should only use the repository
> configured in the settings.xml of maven.
>
> We have a corporate repository for all jar files, but it is possible that a
> pom.xml holds configuration for downloading his dependencies from other
> url's. This needs to be prevented.
>
> Is this possible?
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/prevent-maven-from-downloading-dependencies-from-repositories-configured-in-dependencies-tp2264088p2264088.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread Ron Wheeler

 On 04/08/2010 9:34 AM, david_ wrote:

Hi

I want to prevent maven from downloading dependencies from the repositories
that are configured in pom.xml files. Maven should only use the repository
configured in the settings.xml of maven.

We have a corporate repository for all jar files, but it is possible that a
pom.xml holds configuration for downloading his dependencies from other
url's. This needs to be prevented.

Is this possible?

How determined are your developers to circumvent this policy?
Do you have to assume that they will take deliberate steps to get around 
this restriction?


Shutting off Internet access for developers will do this nicely. Has 
some negative points!


We have removed all repository references from all POMs except for 
deployment which is held in the parent POM and, of course, it points to 
our repo.


This still leaves the settings.xml file as a point of vulnerability but 
at least you can track bad behaviour to an individual person.


Our standard setting.xml sets our repository as a mirror for every other 
repo in the world so the only repos that get referenced are the ones set 
up in Nexus which is under my control.


Not a complete guarantee that someone might modify their settings.xml 
but that would be a serious breach of policy and would be dealt with 
administratively.
There is no practical reason for someone to do this so there would be 
some "splainin" to do. (I love Lucy reference)


Ron



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread david_

Hi

I want to prevent maven from downloading dependencies from the repositories
that are configured in pom.xml files. Maven should only use the repository
configured in the settings.xml of maven.

We have a corporate repository for all jar files, but it is possible that a
pom.xml holds configuration for downloading his dependencies from other
url's. This needs to be prevented.

Is this possible?
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/prevent-maven-from-downloading-dependencies-from-repositories-configured-in-dependencies-tp2264088p2264088.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Supressing the download progress animation when downloading dependencies

2008-09-24 Thread Brett Porter
mvn -B is the option you need.

- Brett

2008/9/24 Matthias Grunwalde <[EMAIL PROTECTED]>:
> Hi,
> When performing a clean build, maven will download all necessary
> dependencies to the local repository. While it's doing this, it shows an
> "animation" giving the amount it has downloaded, with the final file size.
> This changes - is overwritten on the same line - during the download.
>
> This is creating rather long lines of progress information in our build
> server logs - can it be suppressed?
>
> Thanks in advance,
> Matthias
>
> --
> Matthias Grünwalde
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Supressing the download progress animation when downloading dependencies

2008-09-24 Thread Matthias Grunwalde
Hi,
When performing a clean build, maven will download all necessary
dependencies to the local repository. While it's doing this, it shows an
"animation" giving the amount it has downloaded, with the final file size.
This changes - is overwritten on the same line - during the download.

This is creating rather long lines of progress information in our build
server logs - can it be suppressed?

Thanks in advance,
Matthias

-- 
Matthias Grünwalde


Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
we have that - it is just becoming obvious that we need to make it
simpler to turn on and off :)

On 12/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>
> one thing which could have helped had been a maven command-line log (though
> this is hardly feasible for dependency resolving is transparently done by
> repository maven settings).
> maybe the more practical hint could have been given through a logging
> statement in archiva. something like: ("check resolution-policies (Never,
> Once, Always) in archiva configuration")
>
>
>
> Brett Porter wrote:
> >
> > thanks - is there some way Archiva could have helped troubleshoot this
> > better?
> >
> > On 12/02/2008, aldana <[EMAIL PROTECTED]> wrote:
> >>
> >> hi,
> >>
> >> sorry, i forgot to close this topic. it was a configuration error: i
> >> worked
> >> with snapshot-pom and forgot to set the download policies for snapshots
> >> from
> >> 'Never' to 'Always'.
> >>
> >>
> >> Brett Porter wrote:
> >> >
> >> > I successfully download POM files all the time - you might need to
> >> > check that it works from the web iinterface in case this is a problem
> >> > on the Maven side. If it doesn't, you can review the Archiva logs to
> >> > give further information.
> >> >
> >> > Cheers,
> >> > Brett
> >> >
> >> > On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> hi,
> >> >>
> >> >> downloading jar's using archiva (as proxy) works fine (both release
> >> and
> >> >> snapshots). but downloading referenced pom (as ) fails. i had
> >> a
> >> >> look
> >> >> at 'Repository Scanning' menu and pom is included (**/*.pom). could
> >> this
> >> >> be
> >> >> a bug or do i need to set pom download somewhere else too?
> >> >>
> >> >> i am using archiva 1.0.1.
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
> >> >> Sent from the archiva-users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Brett Porter
> >> > Blog: http://blogs.exist.com/bporter/
> >> >
> >> >
> >>
> >>
> >> -
> >> manuel aldana
> >> aldana((at))gmx.de
> >> homepage: http://www.aldana-online.de
> >> --
> >> View this message in context:
> >> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html
> >> Sent from the archiva-users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Brett Porter
> > Blog: http://blogs.exist.com/bporter/
> >
> >
>
>
> -
> manuel aldana
> aldana((at))gmx.de
> homepage: http://www.aldana-online.de
> --
> View this message in context: 
> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411499.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/


Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana

one thing which could have helped had been a maven command-line log (though
this is hardly feasible for dependency resolving is transparently done by
repository maven settings).
maybe the more practical hint could have been given through a logging
statement in archiva. something like: ("check resolution-policies (Never,
Once, Always) in archiva configuration")



Brett Porter wrote:
> 
> thanks - is there some way Archiva could have helped troubleshoot this
> better?
> 
> On 12/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>>
>> sorry, i forgot to close this topic. it was a configuration error: i
>> worked
>> with snapshot-pom and forgot to set the download policies for snapshots
>> from
>> 'Never' to 'Always'.
>>
>>
>> Brett Porter wrote:
>> >
>> > I successfully download POM files all the time - you might need to
>> > check that it works from the web iinterface in case this is a problem
>> > on the Maven side. If it doesn't, you can review the Archiva logs to
>> > give further information.
>> >
>> > Cheers,
>> > Brett
>> >
>> > On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>> >>
>> >> hi,
>> >>
>> >> downloading jar's using archiva (as proxy) works fine (both release
>> and
>> >> snapshots). but downloading referenced pom (as ) fails. i had
>> a
>> >> look
>> >> at 'Repository Scanning' menu and pom is included (**/*.pom). could
>> this
>> >> be
>> >> a bug or do i need to set pom download somewhere else too?
>> >>
>> >> i am using archiva 1.0.1.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
>> >> Sent from the archiva-users mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Brett Porter
>> > Blog: http://blogs.exist.com/bporter/
>> >
>> >
>>
>>
>> -
>> manuel aldana
>> aldana((at))gmx.de
>> homepage: http://www.aldana-online.de
>> --
>> View this message in context:
>> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html
>> Sent from the archiva-users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
> 
> 


-
manuel aldana
aldana((at))gmx.de
homepage: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411499.html
Sent from the archiva-users mailing list archive at Nabble.com.



Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
thanks - is there some way Archiva could have helped troubleshoot this better?

On 12/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> sorry, i forgot to close this topic. it was a configuration error: i worked
> with snapshot-pom and forgot to set the download policies for snapshots from
> 'Never' to 'Always'.
>
>
> Brett Porter wrote:
> >
> > I successfully download POM files all the time - you might need to
> > check that it works from the web iinterface in case this is a problem
> > on the Maven side. If it doesn't, you can review the Archiva logs to
> > give further information.
> >
> > Cheers,
> > Brett
> >
> > On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote:
> >>
> >> hi,
> >>
> >> downloading jar's using archiva (as proxy) works fine (both release and
> >> snapshots). but downloading referenced pom (as ) fails. i had a
> >> look
> >> at 'Repository Scanning' menu and pom is included (**/*.pom). could this
> >> be
> >> a bug or do i need to set pom download somewhere else too?
> >>
> >> i am using archiva 1.0.1.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
> >> Sent from the archiva-users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Brett Porter
> > Blog: http://blogs.exist.com/bporter/
> >
> >
>
>
> -
> manuel aldana
> aldana((at))gmx.de
> homepage: http://www.aldana-online.de
> --
> View this message in context: 
> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/


Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana

hi,

sorry, i forgot to close this topic. it was a configuration error: i worked
with snapshot-pom and forgot to set the download policies for snapshots from
'Never' to 'Always'.


Brett Porter wrote:
> 
> I successfully download POM files all the time - you might need to
> check that it works from the web iinterface in case this is a problem
> on the Maven side. If it doesn't, you can review the Archiva logs to
> give further information.
> 
> Cheers,
> Brett
> 
> On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>>
>> downloading jar's using archiva (as proxy) works fine (both release and
>> snapshots). but downloading referenced pom (as ) fails. i had a
>> look
>> at 'Repository Scanning' menu and pom is included (**/*.pom). could this
>> be
>> a bug or do i need to set pom download somewhere else too?
>>
>> i am using archiva 1.0.1.
>> --
>> View this message in context:
>> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
>> Sent from the archiva-users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
> 
> 


-
manuel aldana
aldana((at))gmx.de
homepage: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html
Sent from the archiva-users mailing list archive at Nabble.com.



Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
I successfully download POM files all the time - you might need to
check that it works from the web iinterface in case this is a problem
on the Maven side. If it doesn't, you can review the Archiva logs to
give further information.

Cheers,
Brett

On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> downloading jar's using archiva (as proxy) works fine (both release and
> snapshots). but downloading referenced pom (as ) fails. i had a look
> at 'Repository Scanning' menu and pom is included (**/*.pom). could this be
> a bug or do i need to set pom download somewhere else too?
>
> i am using archiva 1.0.1.
> --
> View this message in context: 
> http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/


problem downloading dependencies of pom-type

2008-02-04 Thread aldana

hi,

downloading jar's using archiva (as proxy) works fine (both release and
snapshots). but downloading referenced pom (as ) fails. i had a look
at 'Repository Scanning' menu and pom is included (**/*.pom). could this be
a bug or do i need to set pom download somewhere else too?

i am using archiva 1.0.1.
-- 
View this message in context: 
http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html
Sent from the archiva-users mailing list archive at Nabble.com.



Re: Not downloading dependencies from managed repository via HTTP

2007-10-01 Thread melpelotones

Hi, 

The problem is fixed: 

To get to the external internet we use an organizational http proxy, 
and in my settings.xml I had this http proxy configured.

The server where I ve installed archiva was inside the internal network,
and therefore not accesible via http via the proxy

I deactivate the proxy in settings.xml and works fine.

My fault ;)

Cheers!

Cheers.
-- 
View this message in context: 
http://www.nabble.com/Not-downloading-dependencies-from-managed-repository-via-HTTP-tf4535097s177.html#a12974844
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Not downloading dependencies from managed repository via HTTP

2007-09-28 Thread Wendy Smoak
On 9/28/07, melpelotones <[EMAIL PROTECTED]> wrote:

> Ive set up an internal repository with archiva.
>
> The repository is available via http because
> I have made several deployments via WEBDAV without problems,
> but when I declare this repository in a pom.xml to get the deployed
> dependecies
> something is happening:

There should be more information in the Archiva log file.

Please re-post to the Archiva users list with a bit more information
and I'm sure we can figure it out.

You can find subscription info here:
http://maven.apache.org/archiva/mail-lists.html

-- 
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Not downloading dependencies from managed repository via HTTP

2007-09-28 Thread melpelotones

Hi ,

Ive set up an internal repository with archiva.

The repository is available via http because
I have made several deployments via WEBDAV without problems,
but when I declare this repository in a pom.xml to get the deployed
dependecies
something is happening:

--
[DEBUG] Trying repository snapshots
Downloading:
http://s-comm-iss-d1:/archiva/repository/snapshots//org/andromd
a/cartridges/andromda-spring-cartridge/3.3-SNAPSHOT/andromda-spring-cartridge-3.
3-SNAPSHOT.jar

[DEBUG] Skipping disabled repository central
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact f
rom any repository

  org.andromda.cartridges:andromda-spring-cartridge:pom:3.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://s-comm-iss-d1:/archiva/repository/snapshots/)
-

in the settings.xml I have got the corresponding  with the login and
password for 
accesing the repository.


If I instead  http://s-comm-iss-d1:/archiva/repository/snapshots/ 
I give the filesystem route pointing to the place where the webserver is
d:/archiva/data/repositories/snapshots/ the dependency is well downloaded.

Somebody nows what I am doing wrong?

Cheers!



The extrange thing


-- 
View this message in context: 
http://www.nabble.com/Not-downloading-dependencies-from-managed-repository-via-HTTP-tf4535097s177.html#a12942389
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to configure the repository to be used for downloading dependencies in a plugin WITHOUT changing my POM ?

2007-07-20 Thread Dmitry
I'd like to configure a dependency to the compiler plugin (the **.jar java 
1.3) as I use it for bootclasspath :


maven-compiler-plugin  
  
${settings.localRepository}/com/sun/rt/${ 
maven.compile.runtime}/rt-${maven.compile.runtime}.jar  

com.sun rt 
${maven.compile.runtime}  


To resolve this non-free dependency, I need to set a custom repository in my 
settings.xml to point to my corporate repo.


When I run maven, it complain for dependency . It searched in central and 
apache.snapshot repositories. I myself have NOT declared apache.snapshots as 
a repository. It is declared in the apache-3 parent POM that the plugin 
extends


I then have two questions :

1. How to configure the repository to be used for downloading dependencies 
in a plugin WITHOUT changing my POM ?


2. Is this exepected for a released POM to make reference to a snapshot 
repository ?


thanks,

Dmitry Tk

www.ejinz.com search biz

- Original Message - 
From: "Baz" <[EMAIL PROTECTED]>

To: "Maven Users List" 
Sent: Friday, July 20, 2007 4:39 PM
Subject: Re: How can i create a repo search order?


Denis, thanks. How can i configure the searching behaviour? Is there a 
file?

Syntax?

On 7/20/07, Denis Cabasson <[EMAIL PROTECTED]> wrote:



Maven is always searching first for the local repo.

Searching for dev or release or public repo is not, to my knowledge,
possible. A given artifact should be the same on all repos, so maven will
look for it wherever it can.

Denis.


Baz-6 wrote:
>
> All,
>
> How can i write the pom so that it looks for local repo (local 
> machine),

> then development repo, then release repo, then public repo?
>
> Thanks.
>
> A.
>
>

--
View this message in context:
http://www.nabble.com/How-can-i-create-a-repo-search-order--tf4118179s177.html#a11715961
Sent from the Maven - Users mailing list archive at Nabble.com.


-
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]



Re: Maven and Ant | Executing Ant script before downloading dependencies | Need Help

2007-06-26 Thread Paul Copeland

Henry -

What maven packaging type would the ant project have in this case?

What would the ant project do in each phase of the first maven build?

How would the second maven project gain access to the products of the 
first ant build?


On 6/26/2007 6:08 PM, Henry Isidro wrote:

Hi Shinjan,

You can separate the two. Place the ant project in its own project, 
configure the ant run plugin there. Then, in the maven project, add 
the ant project as a dependency. If you want this in one nice build, 
you can place both projects under one parent, this way, when you build 
the parent, it would build the ant project first, then the maven one.


HTH,
Henry

shinjan sen wrote:

Hi,
I have a maven project which has a dependency on an ant project. To 
achieve
this I have added a execution of the maven ant-run-plugin in my 
pom.xml as

follows:


  org.apache.maven.plugins
  maven-antrun-plugin
  
   
package


Download dependent jars
inheritRefs="true">





 run
 
   
  
  

This ant script "build.xml" compiles the associated ant project and 
installs

the same in the maven local repository.



  


local repository">
 
 
  

 



My question is how do I add this ant project as a dependency in my 
pom.xml?

if I add it as
  
 mytest
 ant_common
 1.0
   
my pom will try to download the same before executing the
maven-antrun-plugin execution and will throw an error.

I want to achieve the effect of installing the ant project and then
referencing it as a dependency in one execution.

Please advise.

Thanks in advance.

Regards,
Shinjan



-
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]



Re: Maven and Ant | Executing Ant script before downloading dependencies | Need Help

2007-06-26 Thread Henry Isidro

Hi Shinjan,

You can separate the two. Place the ant project in its own project, 
configure the ant run plugin there. Then, in the maven project, add the 
ant project as a dependency. If you want this in one nice build, you can 
place both projects under one parent, this way, when you build the 
parent, it would build the ant project first, then the maven one.


HTH,
Henry

shinjan sen wrote:

Hi,
I have a maven project which has a dependency on an ant project. To achieve
this I have added a execution of the maven ant-run-plugin in my pom.xml as
follows:


  org.apache.maven.plugins
  maven-antrun-plugin
  
   
package


Download dependent jars





 run
 
   
  
  

This ant script "build.xml" compiles the associated ant project and 
installs

the same in the maven local repository.



  


 
 
  
 



My question is how do I add this ant project as a dependency in my pom.xml?
if I add it as
  
 mytest
 ant_common
 1.0
   
my pom will try to download the same before executing the
maven-antrun-plugin execution and will throw an error.

I want to achieve the effect of installing the ant project and then
referencing it as a dependency in one execution.

Please advise.

Thanks in advance.

Regards,
Shinjan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Executing Ant script before downloading dependencies | Need Help

2007-06-25 Thread shinjan sen

Hi,
Can anyone please suggest a workaround if this is possible.

Many Thanks
Shinjan


On 6/25/07, shinjan sen <[EMAIL PROTECTED]> wrote:


Hi,
I have a maven project which has a dependency on an ant project. To
achieve this I have added a execution of the maven ant-run-plugin in my
pom.xml as follows:

 
   org.apache.maven.plugins
   maven-antrun-plugin
   

 package
 
 
 Download dependent jars
 
 
 
 
 
  run
  

   
   

This ant script "build.xml" compiles the associated ant project and
installs the same in the maven local repository.


 
   
 
 
  
  
   
  
 


My question is how do I add this ant project as a dependency in my pom.xml?
if I add it as
   
  mytest
  ant_common
  1.0

my pom will try to download the same before executing the
maven-antrun-plugin execution and will throw an error.

I want to achieve the effect of installing the ant project and then
referencing it as a dependency in one execution.

Please advise.

Thanks in advance.

Regards,
Shinjan




Maven and Ant | Executing Ant script before downloading dependencies | Need Help

2007-06-25 Thread shinjan sen

Hi,
I have a maven project which has a dependency on an ant project. To achieve
this I have added a execution of the maven ant-run-plugin in my pom.xml as
follows:


  org.apache.maven.plugins
  maven-antrun-plugin
  
   
package


Download dependent jars





 run
 
   
  
  

This ant script "build.xml" compiles the associated ant project and installs
the same in the maven local repository.



  


 
 
  
 



My question is how do I add this ant project as a dependency in my pom.xml?
if I add it as
  
 mytest
 ant_common
 1.0
   
my pom will try to download the same before executing the
maven-antrun-plugin execution and will throw an error.

I want to achieve the effect of installing the ant project and then
referencing it as a dependency in one execution.

Please advise.

Thanks in advance.

Regards,
Shinjan


Re: [maven 1.x] downloading dependencies

2006-09-12 Thread Andrew Birchall

Ah... thank you! It was the  I was missing.
I did in fact have  not  like I said. I cut and pasted
an old version which I sent you.
Thanks a lot!
Andy

On 12/09/06, Lukas Theussl <[EMAIL PROTECTED]> wrote:

It should be

bouncycastle
bcprov

instead of bcprov.

HTH,
-Lukas


Andrew Birchall wrote:
> One of the dependencies failing is Bouncy Castle cryptography library.
> I have it listed in the project.xml file as this:
>
> 
> bcprov
> jdk15-124
> http://www.bouncycastle.org
> 
> true
> true
> 
> 
>
> bcprov-jdk15-124.jar is in the maven repository at Ibiblio
> http://www.ibiblio.org/maven/bouncycastle/jars/
>
> so I can't see why its not downloading it?
> Thanks a lot
> Andy
>
> On 12/09/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
>>
>>  is not used by maven to download artifacts, it is only there for
>> information.
>>
>> Some artifacts are not free ot redistribute, like java API (java
>> activation framework, javamail ...) so you have to download them and put
>> them in your repository manualy.
>>
>> What artifacts are failing ?
>>
>> Nico.
>>
>> Andrew Birchall a écrit :
>> > Hello,
>> > I'm using Maven 1.0.2 and 'm having a problem downloading some of my
>> > dependencies that are listed in my project.xml file. I have 100
>> > dependecies and most of them download fine but 14 fail and I can't
>> > figure out why. I have checked thoroughly that I have the correct
>> >  and  values set in project.xml.
>> > Is there a common reason for why some dependencies might fail to
>> > download?
>> > Thanks
>> > Andy Birchall
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>> This message contains information that may be privileged or
>> confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not
>> the intended recipient,  you are not authorized to read, print,
>> retain, copy, disseminate,  distribute, or use this message or any
>> part thereof. If you receive this  message in error, please notify the
>> sender immediately and delete all  copies of this message.
>>
>>
>> -
>> 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]
>
>

-
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]



Re: [maven 1.x] downloading dependencies

2006-09-12 Thread Lukas Theussl

It should be

bouncycastle
bcprov

instead of bcprov.

HTH,
-Lukas


Andrew Birchall wrote:

One of the dependencies failing is Bouncy Castle cryptography library.
I have it listed in the project.xml file as this:


bcprov
jdk15-124
http://www.bouncycastle.org

true
true



bcprov-jdk15-124.jar is in the maven repository at Ibiblio
http://www.ibiblio.org/maven/bouncycastle/jars/

so I can't see why its not downloading it?
Thanks a lot
Andy

On 12/09/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:



 is not used by maven to download artifacts, it is only there for
information.

Some artifacts are not free ot redistribute, like java API (java
activation framework, javamail ...) so you have to download them and put
them in your repository manualy.

What artifacts are failing ?

Nico.

Andrew Birchall a écrit :
> Hello,
> I'm using Maven 1.0.2 and 'm having a problem downloading some of my
> dependencies that are listed in my project.xml file. I have 100
> dependecies and most of them download fine but 14 fail and I can't
> figure out why. I have checked thoroughly that I have the correct
>  and  values set in project.xml.
> Is there a common reason for why some dependencies might fail to
> download?
> Thanks
> Andy Birchall
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



-
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]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [maven 1.x] downloading dependencies

2006-09-12 Thread Andrew Birchall

One of the dependencies failing is Bouncy Castle cryptography library.
I have it listed in the project.xml file as this:


bcprov
jdk15-124
http://www.bouncycastle.org

true
true



bcprov-jdk15-124.jar is in the maven repository at Ibiblio
http://www.ibiblio.org/maven/bouncycastle/jars/

so I can't see why its not downloading it?
Thanks a lot
Andy

On 12/09/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:


 is not used by maven to download artifacts, it is only there for
information.

Some artifacts are not free ot redistribute, like java API (java
activation framework, javamail ...) so you have to download them and put
them in your repository manualy.

What artifacts are failing ?

Nico.

Andrew Birchall a écrit :
> Hello,
> I'm using Maven 1.0.2 and 'm having a problem downloading some of my
> dependencies that are listed in my project.xml file. I have 100
> dependecies and most of them download fine but 14 fail and I can't
> figure out why. I have checked thoroughly that I have the correct
>  and  values set in project.xml.
> Is there a common reason for why some dependencies might fail to
> download?
> Thanks
> Andy Birchall
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
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]



Re: [maven 1.x] downloading dependencies

2006-09-12 Thread Nicolas De Loof


 is not used by maven to download artifacts, it is only there for 
information.


Some artifacts are not free ot redistribute, like java API (java 
activation framework, javamail ...) so you have to download them and put 
them in your repository manualy.


What artifacts are failing ?

Nico.

Andrew Birchall a écrit :

Hello,
I'm using Maven 1.0.2 and 'm having a problem downloading some of my
dependencies that are listed in my project.xml file. I have 100
dependecies and most of them download fine but 14 fail and I can't
figure out why. I have checked thoroughly that I have the correct
 and  values set in project.xml.
Is there a common reason for why some dependencies might fail to 
download?

Thanks
Andy Birchall

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven 1.x] downloading dependencies

2006-09-12 Thread Andrew Birchall

Hello,
I'm using Maven 1.0.2 and 'm having a problem downloading some of my
dependencies that are listed in my project.xml file. I have 100
dependecies and most of them download fine but 14 fail and I can't
figure out why. I have checked thoroughly that I have the correct
 and  values set in project.xml.
Is there a common reason for why some dependencies might fail to download?
Thanks
Andy Birchall

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall

Thanks but the dependecies that are failing fail every time I run the
build (and I've run it many, many times).

On 04/09/06, Alexander Sack <[EMAIL PROTECTED]> wrote:

I've noticed this that occasionally the connection drops or it can't
download a dependency for a split second and then when I retry it works
(this is using the default ibiblio repo- my guess is usage of the server).

-aps


On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
>
> Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would
> I need one?
> In any case I dont have one. I am doing this from home and just
> have a standard cable internet connection. Also, why would some jars
> succeed in downloading from ibiblio and others not?
> Cheers
> Andy
>
> On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> >
> http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties
> >
> > cheers
> >
> > arnaud
> >
> > On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi
> > > I tried replacing  with  but it made no difference.
> > > I didn't know I had to set up a proxy to access ibiblio. There is
> > > nothing in the documentation about that How do you do it?
> > > Thanks a lot
> > > Andy
> > >
> > > On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > > > Don't you have a proxy to access to ibiblio ?
> > > >
> > > > Did you try to replace id (deprecated) by artifactId
> > > > 
> > > >   bouncycastle
> > > >   bcprov-jdk14
> > > >   124
> > > >http://www.bouncycastle.org/download/
> > > >   
> > > >   true
> > > >   true
> > > >   
> > > > 
> > > >
> > > > Arnaud
> > > >
> > > > On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello I am using Maven 1.0.2 for a project and I'm having a
> problem
> > > > > downloading a few of the artifacts (jar files) that the project
> uses.
> > > > > I have declared them in project.xml with all the right attributes.
> For
> > > > > example, for the Bouncy Castle crytography library:
> > > > >
> > > > > 
> > > > >bouncycastle
> > > > >bcprov-jdk14
> > > > >124
> > > > > http://www.bouncycastle.org/download/
> > > > >
> > > > >true
> > > > >true
> > > > >
> > > > > 
> > > > >
> > > > > But bcprov-jdk14-124.jar fails to download, even though it is
> there in
> > > > > Ibiblio:
> > > > > http://www.ibiblio.org/maven/bouncycastle/jars/
> > > > > and on the bouncycastle website
> > > > > http://www.bouncycastle.org/download/
> > > > >
> > > > > I have also set:
> > > > > maven.repo.remote=http://www.ibiblio.org/maven
> > > > > in project.properties
> > > > >
> > > > > There about 14 other jars that aren't downloaded and I can't
> figure
> > > out
> > > > > why.
> > > > > Can anyone help?
> > > > > Thanks
> > > > > Andy Birchall
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > -
> > > 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]
>
>


--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem downloading dependencies

2006-09-04 Thread Alexander Sack

I've noticed this that occasionally the connection drops or it can't
download a dependency for a split second and then when I retry it works
(this is using the default ibiblio repo- my guess is usage of the server).

-aps


On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:


Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would
I need one?
In any case I dont have one. I am doing this from home and just
have a standard cable internet connection. Also, why would some jars
succeed in downloading from ibiblio and others not?
Cheers
Andy

On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
>
http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties
>
> cheers
>
> arnaud
>
> On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> > I tried replacing  with  but it made no difference.
> > I didn't know I had to set up a proxy to access ibiblio. There is
> > nothing in the documentation about that How do you do it?
> > Thanks a lot
> > Andy
> >
> > On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > > Don't you have a proxy to access to ibiblio ?
> > >
> > > Did you try to replace id (deprecated) by artifactId
> > > 
> > >   bouncycastle
> > >   bcprov-jdk14
> > >   124
> > >http://www.bouncycastle.org/download/
> > >   
> > >   true
> > >   true
> > >   
> > > 
> > >
> > > Arnaud
> > >
> > > On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello I am using Maven 1.0.2 for a project and I'm having a
problem
> > > > downloading a few of the artifacts (jar files) that the project
uses.
> > > > I have declared them in project.xml with all the right attributes.
For
> > > > example, for the Bouncy Castle crytography library:
> > > >
> > > > 
> > > >bouncycastle
> > > >bcprov-jdk14
> > > >124
> > > > http://www.bouncycastle.org/download/
> > > >
> > > >true
> > > >true
> > > >
> > > > 
> > > >
> > > > But bcprov-jdk14-124.jar fails to download, even though it is
there in
> > > > Ibiblio:
> > > > http://www.ibiblio.org/maven/bouncycastle/jars/
> > > > and on the bouncycastle website
> > > > http://www.bouncycastle.org/download/
> > > >
> > > > I have also set:
> > > > maven.repo.remote=http://www.ibiblio.org/maven
> > > > in project.properties
> > > >
> > > > There about 14 other jars that aren't downloaded and I can't
figure
> > out
> > > > why.
> > > > Can anyone help?
> > > > Thanks
> > > > Andy Birchall
> > > >
> > > >
> > >
> > >
> >
> > -
> > 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]





--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson


Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall

Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would
I need one?
In any case I dont have one. I am doing this from home and just
have a standard cable internet connection. Also, why would some jars
succeed in downloading from ibiblio and others not?
Cheers
Andy

On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:

http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties

cheers

arnaud

On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
>
> Hi
> I tried replacing  with  but it made no difference.
> I didn't know I had to set up a proxy to access ibiblio. There is
> nothing in the documentation about that How do you do it?
> Thanks a lot
> Andy
>
> On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > Don't you have a proxy to access to ibiblio ?
> >
> > Did you try to replace id (deprecated) by artifactId
> > 
> >   bouncycastle
> >   bcprov-jdk14
> >   124
> >http://www.bouncycastle.org/download/
> >   
> >   true
> >   true
> >   
> > 
> >
> > Arnaud
> >
> > On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello I am using Maven 1.0.2 for a project and I'm having a problem
> > > downloading a few of the artifacts (jar files) that the project uses.
> > > I have declared them in project.xml with all the right attributes. For
> > > example, for the Bouncy Castle crytography library:
> > >
> > > 
> > >bouncycastle
> > >bcprov-jdk14
> > >124
> > > http://www.bouncycastle.org/download/
> > >
> > >true
> > >true
> > >
> > > 
> > >
> > > But bcprov-jdk14-124.jar fails to download, even though it is there in
> > > Ibiblio:
> > > http://www.ibiblio.org/maven/bouncycastle/jars/
> > > and on the bouncycastle website
> > > http://www.bouncycastle.org/download/
> > >
> > > I have also set:
> > > maven.repo.remote=http://www.ibiblio.org/maven
> > > in project.properties
> > >
> > > There about 14 other jars that aren't downloaded and I can't figure
> out
> > > why.
> > > Can anyone help?
> > > Thanks
> > > Andy Birchall
> > >
> > >
> >
> >
>
> -
> 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]



Re: problem downloading dependencies

2006-09-04 Thread Arnaud HERITIER

http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties

cheers

arnaud

On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:


Hi
I tried replacing  with  but it made no difference.
I didn't know I had to set up a proxy to access ibiblio. There is
nothing in the documentation about that How do you do it?
Thanks a lot
Andy

On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> Don't you have a proxy to access to ibiblio ?
>
> Did you try to replace id (deprecated) by artifactId
> 
>   bouncycastle
>   bcprov-jdk14
>   124
>http://www.bouncycastle.org/download/
>   
>   true
>   true
>   
> 
>
> Arnaud
>
> On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
> >
> > Hello I am using Maven 1.0.2 for a project and I'm having a problem
> > downloading a few of the artifacts (jar files) that the project uses.
> > I have declared them in project.xml with all the right attributes. For
> > example, for the Bouncy Castle crytography library:
> >
> > 
> >bouncycastle
> >bcprov-jdk14
> >124
> > http://www.bouncycastle.org/download/
> >
> >true
> >true
> >
> > 
> >
> > But bcprov-jdk14-124.jar fails to download, even though it is there in
> > Ibiblio:
> > http://www.ibiblio.org/maven/bouncycastle/jars/
> > and on the bouncycastle website
> > http://www.bouncycastle.org/download/
> >
> > I have also set:
> > maven.repo.remote=http://www.ibiblio.org/maven
> > in project.properties
> >
> > There about 14 other jars that aren't downloaded and I can't figure
out
> > why.
> > Can anyone help?
> > Thanks
> > Andy Birchall
> >
> >
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall

Hi
I tried replacing  with  but it made no difference.
I didn't know I had to set up a proxy to access ibiblio. There is
nothing in the documentation about that How do you do it?
Thanks a lot
Andy

On 04/09/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:

Don't you have a proxy to access to ibiblio ?

Did you try to replace id (deprecated) by artifactId

  bouncycastle
  bcprov-jdk14
  124
   http://www.bouncycastle.org/download/
  
  true
  true
  


Arnaud

On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:
>
> Hello I am using Maven 1.0.2 for a project and I'm having a problem
> downloading a few of the artifacts (jar files) that the project uses.
> I have declared them in project.xml with all the right attributes. For
> example, for the Bouncy Castle crytography library:
>
> 
>bouncycastle
>bcprov-jdk14
>124
> http://www.bouncycastle.org/download/
>
>true
>true
>
> 
>
> But bcprov-jdk14-124.jar fails to download, even though it is there in
> Ibiblio:
> http://www.ibiblio.org/maven/bouncycastle/jars/
> and on the bouncycastle website
> http://www.bouncycastle.org/download/
>
> I have also set:
> maven.repo.remote=http://www.ibiblio.org/maven
> in project.properties
>
> There about 14 other jars that aren't downloaded and I can't figure out
> why.
> Can anyone help?
> Thanks
> Andy Birchall
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem downloading dependencies

2006-09-04 Thread Arnaud HERITIER

Don't you have a proxy to access to ibiblio ?

Did you try to replace id (deprecated) by artifactId

  bouncycastle
  bcprov-jdk14
  124
   http://www.bouncycastle.org/download/
  
  true
  true
  


Arnaud

On 9/4/06, Andrew Birchall <[EMAIL PROTECTED]> wrote:


Hello I am using Maven 1.0.2 for a project and I'm having a problem
downloading a few of the artifacts (jar files) that the project uses.
I have declared them in project.xml with all the right attributes. For
example, for the Bouncy Castle crytography library:


   bouncycastle
   bcprov-jdk14
   124
http://www.bouncycastle.org/download/
   
   true
   true
   


But bcprov-jdk14-124.jar fails to download, even though it is there in
Ibiblio:
http://www.ibiblio.org/maven/bouncycastle/jars/
and on the bouncycastle website
http://www.bouncycastle.org/download/

I have also set:
maven.repo.remote=http://www.ibiblio.org/maven
in project.properties

There about 14 other jars that aren't downloaded and I can't figure out
why.
Can anyone help?
Thanks
Andy Birchall




problem downloading dependencies

2006-09-03 Thread Andrew Birchall

Hello I am using Maven 1.0.2 for a project and I'm having a problem
downloading a few of the artifacts (jar files) that the project uses.
I have declared them in project.xml with all the right attributes. For
example, for the Bouncy Castle crytography library:


  bouncycastle
  bcprov-jdk14
  124
   http://www.bouncycastle.org/download/
  
  true
  true
  


But bcprov-jdk14-124.jar fails to download, even though it is there in
Ibiblio:
http://www.ibiblio.org/maven/bouncycastle/jars/
and on the bouncycastle website
http://www.bouncycastle.org/download/

I have also set:
maven.repo.remote=http://www.ibiblio.org/maven
in project.properties

There about 14 other jars that aren't downloaded and I can't figure out why.
Can anyone help?
Thanks
Andy Birchall


RE: Problems downloading dependencies in 1.0.1

2004-11-18 Thread Adrian Tarau

Thanks, I thought was something broken in this release. I think I will wait for 
the next release(version 1.0 works ok).

-Original Message-
From: Jean-Marc Lavoie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 12:27 PM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


Property inheritance in 1.0.1 is partly broken, there have been some post on it 
already and a Jira filed on this issue. The value does not get inherited, so 
you use ibiblio repository without knowing it, and of course it does not 
contain your custom jars. 

On my work projects, we will wait for 1.0.2 as we have lots of multiproject 
using properties. In my pet-projects at home I use 1.0.1 but I copied the 
missing properties in my subprojects. It's a choice to wait or adapt your 
project. Either way, it's a small price to pay for this wonderfull tool :) . If 
you upgrade to 1.0.1, 2 days ago Jörg Schaible submitted some script on the 
list to modify the project.properties files. See 
http://jira.codehaus.org/BrowseProject.jspa?id=10030 for 1.0.2 details, and 
http://jira.codehaus.org/browse/MAVEN-1501 for this particular isssue.
 
Hope it clarify the issue.
Regards,
Jean-Marc


-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:39 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


Hi,

Yes, it is a multi project and I checked the settings for the repository.
The settings are only in the multiproject project.xml(You can see it bellow) 
and the sub-projects doesn't override this properties. As I told you with Maven 
1.0 everything works, but with 1.0.1 is not working.

maven.repo.remote=our_server,http://www.ibiblio.org/maven
maven.repo.central=our_server
maven.repo.central.directory=.maven/repository

-Original Message-
From: Jean-Marc Lavoie [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 11:31 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


That looks like my first experience with the properties not being
inherited. Check if you have a sub project that rely on the
maven.repo.remote property being inherited from the parent
project.properties . In wich cases, ibilio repository will be used
instead of your repository, jars originnally from ibilio will be
downloaded from ibilio, and your special jars won't be found in ibilio.

Regards
Jean-Marc

-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Problems downloading dependencies in 1.0.1

Hi,
 
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have
some problems with some dependencies.
 
We have a local repository, mirrored after ibiblio/maven and I get an
error when it tries to download some jars added by me in the repository
manually.
All the jars that came from ibiblio are downloaded ok
 
Question: How can I activate detailed report on downloading dependencies
(I saw something on a maillist)
 
Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000) 7/7K 7K
downloaded Local timestamp: -1 Remote timestamp: 1080648887000
 
The only report I get is: 
 
Attempting to download .jar.
 
Fail .
 

-
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]


-
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]



RE: Problems downloading dependencies in 1.0.1

2004-11-18 Thread Jean-Marc Lavoie

Property inheritance in 1.0.1 is partly broken, there have been some post on it 
already and a Jira filed on this issue. The value does not get inherited, so 
you use ibiblio repository without knowing it, and of course it does not 
contain your custom jars. 

On my work projects, we will wait for 1.0.2 as we have lots of multiproject 
using properties. In my pet-projects at home I use 1.0.1 but I copied the 
missing properties in my subprojects. It's a choice to wait or adapt your 
project. Either way, it's a small price to pay for this wonderfull tool :) . If 
you upgrade to 1.0.1, 2 days ago Jörg Schaible submitted some script on the 
list to modify the project.properties files. See 
http://jira.codehaus.org/BrowseProject.jspa?id=10030 for 1.0.2 details, and 
http://jira.codehaus.org/browse/MAVEN-1501 for this particular isssue.
 
Hope it clarify the issue.
Regards,
Jean-Marc


-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:39 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


Hi,

Yes, it is a multi project and I checked the settings for the repository.
The settings are only in the multiproject project.xml(You can see it bellow) 
and the sub-projects doesn't override this properties. As I told you with Maven 
1.0 everything works, but with 1.0.1 is not working.

maven.repo.remote=our_server,http://www.ibiblio.org/maven
maven.repo.central=our_server
maven.repo.central.directory=.maven/repository

-Original Message-
From: Jean-Marc Lavoie [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 11:31 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


That looks like my first experience with the properties not being
inherited. Check if you have a sub project that rely on the
maven.repo.remote property being inherited from the parent
project.properties . In wich cases, ibilio repository will be used
instead of your repository, jars originnally from ibilio will be
downloaded from ibilio, and your special jars won't be found in ibilio.

Regards
Jean-Marc

-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Problems downloading dependencies in 1.0.1

Hi,
 
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have
some problems with some dependencies.
 
We have a local repository, mirrored after ibiblio/maven and I get an
error when it tries to download some jars added by me in the repository
manually.
All the jars that came from ibiblio are downloaded ok
 
Question: How can I activate detailed report on downloading dependencies
(I saw something on a maillist)
 
Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000) 7/7K 7K
downloaded Local timestamp: -1 Remote timestamp: 1080648887000
 
The only report I get is: 
 
Attempting to download .jar.
 
Fail .
 

-
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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problems downloading dependencies in 1.0.1

2004-11-18 Thread Adrian Tarau

Hi,

Yes, it is a multi project and I checked the settings for the repository.
The settings are only in the multiproject project.xml(You can see it bellow) 
and the sub-projects doesn't override this properties. As I told you with Maven 
1.0 everything works, but with 1.0.1 is not working.

maven.repo.remote=our_server,http://www.ibiblio.org/maven
maven.repo.central=our_server
maven.repo.central.directory=.maven/repository

-Original Message-
From: Jean-Marc Lavoie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:31 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1


That looks like my first experience with the properties not being
inherited. Check if you have a sub project that rely on the
maven.repo.remote property being inherited from the parent
project.properties . In wich cases, ibilio repository will be used
instead of your repository, jars originnally from ibilio will be
downloaded from ibilio, and your special jars won't be found in ibilio.

Regards
Jean-Marc

-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Problems downloading dependencies in 1.0.1

Hi,
 
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have
some problems with some dependencies.
 
We have a local repository, mirrored after ibiblio/maven and I get an
error when it tries to download some jars added by me in the repository
manually.
All the jars that came from ibiblio are downloaded ok
 
Question: How can I activate detailed report on downloading dependencies
(I saw something on a maillist)
 
Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000) 7/7K 7K
downloaded Local timestamp: -1 Remote timestamp: 1080648887000
 
The only report I get is: 
 
Attempting to download .jar.
 
Fail .
 

-
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]



RE: Problems downloading dependencies in 1.0.1

2004-11-18 Thread Jean-Marc Lavoie

That looks like my first experience with the properties not being
inherited. Check if you have a sub project that rely on the
maven.repo.remote property being inherited from the parent
project.properties . In wich cases, ibilio repository will be used
instead of your repository, jars originnally from ibilio will be
downloaded from ibilio, and your special jars won't be found in ibilio.

Regards
Jean-Marc

-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Problems downloading dependencies in 1.0.1

Hi,
 
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have
some problems with some dependencies.
 
We have a local repository, mirrored after ibiblio/maven and I get an
error when it tries to download some jars added by me in the repository
manually.
All the jars that came from ibiblio are downloaded ok
 
Question: How can I activate detailed report on downloading dependencies
(I saw something on a maillist)
 
Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000) 7/7K 7K
downloaded Local timestamp: -1 Remote timestamp: 1080648887000
 
The only report I get is: 
 
Attempting to download .jar.
 
Fail .
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems downloading dependencies in 1.0.1

2004-11-18 Thread Adrian Tarau
Hi,
 
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have some 
problems with some dependencies.
 
We have a local repository, mirrored after ibiblio/maven and I get an error 
when it tries to download some jars added by me in the repository manually.
All the jars that came from ibiblio are downloaded ok
 
Question: How can I activate detailed report on downloading dependencies (I saw 
something on a maillist)
 
Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000)
7/7K
7K downloaded
Local timestamp: -1
Remote timestamp: 1080648887000
 
The only report I get is: 
 
Attempting to download .jar.
 
Fail .
 


Re: Problems downloading dependencies

2004-10-15 Thread Brett Porter
This only happens on your own repository, right? External ones seem to
download ok?

Is it some limitation on your internal server that causes the error?

Googling the exact error message: "No buffer space available (maximum
connections
reached?): recv failed" indicates there are some problems with servers
running on Windows under older versions of the JVM...

On Wed, 13 Oct 2004 13:36:10 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello Brett,
> 
> thanks for the quick answer, unfortunately does not get any better:
> I tried to erase all the local repository with no results, some jars are
> correctly downloaded others have a this problems, and the behaviour is
> random.
> 
> Any help would be welcome
> 
> Michele
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems downloading dependencies

2004-10-13 Thread Michele_Forte
Hello Brett,

thanks for the quick answer, unfortunately does not get any better:
I tried to erase all the local repository with no results, some jars are
correctly downloaded others have a this problems, and the behaviour is
random.

Any help would be welcome

Michele


|-+>
| |   Brett Porter |
| |   <[EMAIL PROTECTED]|
| |   il.com>  |
| ||
| ||
| |   13/10/2004 11:57 |
| |   Please respond to|
| |   "Maven Users |
| |   List"|
|-+>
  
>---|
  |
   |
  |
   |
  |
   |
  |
   |
  |
   |
  |To: Maven Users List <[EMAIL 
PROTECTED]>  |
  |cc: (bcc: Michele Forte/SwissRe)
   |
  |bcc:Michele Forte/SwissRe   
   |
  |Subject:        Re: Problems downloading 
dependencies  |
  
>---|




the partially downloaded problem is a known bug.

If you remove the local file, does it work the second time?

I'm not sure what that exception is...

- Brett


On Wed, 13 Oct 2004 10:51:15 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> i am using Maven release 1.0, normally I never had a problem, but from a
> computer I can notice the following nasty behaviour when downloading
> dependencies:
>
> Attempting to download sje-config.jar.
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
> Received status code: 200
> last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000)
> 7/7K
> 7K downloaded
> Local timestamp: -1
> Remote timestamp: 1080648887000
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar.md5
> Response content length is not known
> Received status code: 404
> Attempting to download sr-hcf-v3-3.6.1.jar.
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar
> Received status code: 200
> last-modified = Thu, 23 Sep 2004 08:02:35 GMT (1095926555000)
> 64/1159K
> 71/1159K
> 74/1159K
> 75/1159K
> 78/1159K
> 79/1159K
> 82/1159K
> 83/1159K
> 86/1159K
> 87/1159K
> 90/1159K
> 91/1159K
> 94/1159K
> 95/1159K
> 98/1159K
> 99/1159K
> 102/1159K
> 103/1159K
> 106/1159K
> 107/1159K
> 110/1159K
> 111/1159K
> 114/1159K
> 115/1159K
> 118/1159K
> 119/1159K
> 122/1159K
> 123/1159K
> 126/1159K
> 127/1159K
> 130/1159K
> 131/1159K
> 132/1159K
> Error retrieving artifact from
> [http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar]:
> java.net.SocketException: No buffer space available (maximum connections
> reached?): recv failed
> Error details
> java.net.SocketException: No buffer space available (maximum connections
> reached?): recv failed
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.read(SocketInputStream.java:129)
>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at
>
org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:167)

>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at
>
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:142)

>   at java.io.FilterInputStream.read(FilterInputStream.java:90)
>   at
>
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:161)

>   at org.apache.maven.util

Re: Problems downloading dependencies

2004-10-13 Thread Brett Porter
the partially downloaded problem is a known bug.

If you remove the local file, does it work the second time?

I'm not sure what that exception is...

- Brett


On Wed, 13 Oct 2004 10:51:15 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> i am using Maven release 1.0, normally I never had a problem, but from a
> computer I can notice the following nasty behaviour when downloading
> dependencies:
> 
> Attempting to download sje-config.jar.
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
> Received status code: 200
> last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000)
> 7/7K
> 7K downloaded
> Local timestamp: -1
> Remote timestamp: 1080648887000
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar.md5
> Response content length is not known
> Received status code: 404
> Attempting to download sr-hcf-v3-3.6.1.jar.
> Getting URL:
> http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar
> Received status code: 200
> last-modified = Thu, 23 Sep 2004 08:02:35 GMT (1095926555000)
> 64/1159K
> 71/1159K
> 74/1159K
> 75/1159K
> 78/1159K
> 79/1159K
> 82/1159K
> 83/1159K
> 86/1159K
> 87/1159K
> 90/1159K
> 91/1159K
> 94/1159K
> 95/1159K
> 98/1159K
> 99/1159K
> 102/1159K
> 103/1159K
> 106/1159K
> 107/1159K
> 110/1159K
> 111/1159K
> 114/1159K
> 115/1159K
> 118/1159K
> 119/1159K
> 122/1159K
> 123/1159K
> 126/1159K
> 127/1159K
> 130/1159K
> 131/1159K
> 132/1159K
> Error retrieving artifact from
> [http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar]:
> java.net.SocketException: No buffer space available (maximum connections
> reached?): recv failed
> Error details
> java.net.SocketException: No buffer space available (maximum connections
> reached?): recv failed
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.read(SocketInputStream.java:129)
>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at
> org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:167)
>   at java.io.FilterInputStream.read(FilterInputStream.java:111)
>   at
> org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:142)
>   at java.io.FilterInputStream.read(FilterInputStream.java:90)
>   at
> org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:161)
>   at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572)
>   at
> org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538)
>   at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
>   at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
>   at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
>   at
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
>   at
> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
>   at
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
>   at
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
>   at
> org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
>   at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
>   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
>   at org.apache.maven.cli.App.doMain(App.java:486)
>   at org.apache.maven.cli.App.main(App.java:1215)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at com.werken.forehead.Forehead.run(Forehead.java:551)
>   at com.werken.forehead.Forehead.main(Forehead.java:581)
> Getting URL:  http://www.ibiblio.org/maven/hcf/jars/sr-hcf-v3-3.6.1.jar
> sending ==> If-Modified-Since: Tue, 12-Oct-04 13:24:50 GMT
> (1097587490362)
> Received status code: 404
> File not found on one of the repos
> java.io.FileNotFoundException:
> http://www.ibiblio.org/maven/hcf/jars/sr-hcf-v3-3.6.1.jar
>   at
> org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547)
>   at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
>

Problems downloading dependencies

2004-10-13 Thread Michele_Forte
i am using Maven release 1.0, normally I never had a problem, but from a
computer I can notice the following nasty behaviour when downloading
dependencies:

Attempting to download sje-config.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar
Received status code: 200
last-modified = Tue, 30 Mar 2004 12:14:47 GMT (1080648887000)
7/7K
7K downloaded
Local timestamp: -1
Remote timestamp: 1080648887000
Getting URL:
http://scm.zrh.swissre.com:8080/releases/sje/jars/sje-config.jar.md5
Response content length is not known
Received status code: 404
Attempting to download sr-hcf-v3-3.6.1.jar.
Getting URL:
http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar
Received status code: 200
last-modified = Thu, 23 Sep 2004 08:02:35 GMT (1095926555000)
64/1159K
71/1159K
74/1159K
75/1159K
78/1159K
79/1159K
82/1159K
83/1159K
86/1159K
87/1159K
90/1159K
91/1159K
94/1159K
95/1159K
98/1159K
99/1159K
102/1159K
103/1159K
106/1159K
107/1159K
110/1159K
111/1159K
114/1159K
115/1159K
118/1159K
119/1159K
122/1159K
123/1159K
126/1159K
127/1159K
130/1159K
131/1159K
132/1159K
Error retrieving artifact from
[http://scm.zrh.swissre.com:8080/releases/hcf/jars/sr-hcf-v3-3.6.1.jar]:
java.net.SocketException: No buffer space available (maximum connections
reached?): recv failed
Error details
java.net.SocketException: No buffer space available (maximum connections
reached?): recv failed
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.read(SocketInputStream.java:129)
  at java.io.FilterInputStream.read(FilterInputStream.java:111)
  at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
  at java.io.FilterInputStream.read(FilterInputStream.java:111)
  at
org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:167)
  at java.io.FilterInputStream.read(FilterInputStream.java:111)
  at
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:142)
  at java.io.FilterInputStream.read(FilterInputStream.java:90)
  at
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:161)
  at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572)
  at
org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
  at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
  at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
  at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
  at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
  at
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
  at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
  at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
  at org.apache.maven.cli.App.doMain(App.java:486)
  at org.apache.maven.cli.App.main(App.java:1215)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at com.werken.forehead.Forehead.run(Forehead.java:551)
  at com.werken.forehead.Forehead.main(Forehead.java:581)
Getting URL:  http://www.ibiblio.org/maven/hcf/jars/sr-hcf-v3-3.6.1.jar
sending ==> If-Modified-Since: Tue, 12-Oct-04 13:24:50 GMT
(1097587490362)
Received status code: 404
File not found on one of the repos
java.io.FileNotFoundException:
http://www.ibiblio.org/maven/hcf/jars/sr-hcf-v3-3.6.1.jar
  at
org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
  at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
  at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
  at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
  at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
  at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
  at
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
  at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
  at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
  at org.apache.maven.cli.App.doMain(App.java:486)
 

Re: HttpException downloading dependencies (1.0-rc4)

2004-07-09 Thread Brett Porter
the redirect problem has been fixed too in CVS.

On Fri, 9 Jul 2004 17:00:10 +0100, Charles Daniels <[EMAIL PROTECTED]> wrote:
> Ah, thanks.  Didn't realize that I had accidentally made www.ibiblio.com the
> repo rather than www.ibiblio.org.  That fixed it.
> 
> 
> 
> > -Original Message-
> > From: Alwyn Schoeman [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 09, 2004 4:45 PM
> > To: Maven Users List
> > Subject: Re: HttpException downloading dependencies (1.0-rc4)
> >
> >
> > Would explicitly defining a www.ibiblio.org remote repository be a
> > temporary fix?
> >
> > On Fri, 9 Jul 2004 16:24:58 +0100, Charles Daniels <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > >
> > > Today I upgraded to rc4 from rc3.  Now I am getting HttpExceptions when
> > > attempting to download dependencies.  I recall something on
> > this subject in
> > > the list, but I can't find it in the archives.  Here's my output:
> > >
> > > Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
> > > Error getting URI host
> > > org.apache.commons.httpclient.HttpException: Redirect from host
> > > www.ibiblio.com to www.ibiblio.org i
> > > s not supported
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(Ht
> > tpMethodBa
> > > se.java:1243)
> > >
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.processRedirectRespon
> > se(HttpMet
> > > hodBase.java:
> > > 1191)
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMet
> > hodBase.ja
> > > va:977)
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBas
> > e.java:109
> > > 5)
> > > at
> > >
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> > java:675)
> > > at
> > >
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> > java:529)
> > > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
> > > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
> > > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:170)
> > > at
> > >
> > org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Dep
> > endencyVer
> > > ifier.java:31
> > > 7)
> > > at
> > >
> > org.apache.maven.verifier.DependencyVerifier.getDependencies(Depen
> > dencyVerif
> > > ier.java:254)
> > >
> > > at
> > >
> > org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(D
> > ependencyV
> > > erifier.java:
> > > 171)
> > > at
> > >
> > org.apache.maven.verifier.DependencyVerifier.verify(DependencyVeri
> > fier.java:
> > > 97)
> > > at
> > > org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
> > > at
> > >
> > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
> > > at
> > org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> > > at org.apache.maven.cli.App.doMain(App.java:486)
> > > at org.apache.maven.cli.App.main(App.java:1215)
> > > at java.lang.reflect.Method.invoke(Native Method)
> > > at com.werken.forehead.Forehead.run(Forehead.java:551)
> > > at com.werken.forehead.Forehead.main(Forehead.java:581)
> > > Invalid Redirect URI from:
> > >
> > http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar t
> > > o: http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar
> > > warning: last-modified not specified
> > > Error getting URI host
> > > org.apache.commons.httpclient.HttpException: Redirect from host
> > > www.ibiblio.com to www.ibiblio.org i
> > > s not supported
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(Ht
> > tpMethodBa
> > > se.java:1243)
> > >
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.processRedirectRespon
> > se(HttpMet
> > > hodBase.java:
> > > 1191)
> > > at
> > >
> > org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMet
>

RE: HttpException downloading dependencies (1.0-rc4)

2004-07-09 Thread Charles Daniels
Ah, thanks.  Didn't realize that I had accidentally made www.ibiblio.com the
repo rather than www.ibiblio.org.  That fixed it.

> -Original Message-
> From: Alwyn Schoeman [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 4:45 PM
> To: Maven Users List
> Subject: Re: HttpException downloading dependencies (1.0-rc4)
>
>
> Would explicitly defining a www.ibiblio.org remote repository be a
> temporary fix?
>
> On Fri, 9 Jul 2004 16:24:58 +0100, Charles Daniels <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > Today I upgraded to rc4 from rc3.  Now I am getting HttpExceptions when
> > attempting to download dependencies.  I recall something on
> this subject in
> > the list, but I can't find it in the archives.  Here's my output:
> >
> > Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
> > Error getting URI host
> > org.apache.commons.httpclient.HttpException: Redirect from host
> > www.ibiblio.com to www.ibiblio.org i
> > s not supported
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(Ht
> tpMethodBa
> > se.java:1243)
> >
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.processRedirectRespon
> se(HttpMet
> > hodBase.java:
> > 1191)
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMet
> hodBase.ja
> > va:977)
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBas
> e.java:109
> > 5)
> > at
> >
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> java:675)
> > at
> >
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> java:529)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:170)
> > at
> >
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Dep
> endencyVer
> > ifier.java:31
> > 7)
> > at
> >
> org.apache.maven.verifier.DependencyVerifier.getDependencies(Depen
> dencyVerif
> > ier.java:254)
> >
> > at
> >
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(D
> ependencyV
> > erifier.java:
> > 171)
> > at
> >
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVeri
> fier.java:
> > 97)
> > at
> > org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
> > at
> >
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
> > at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> > at org.apache.maven.cli.App.doMain(App.java:486)
> > at org.apache.maven.cli.App.main(App.java:1215)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at com.werken.forehead.Forehead.run(Forehead.java:551)
> > at com.werken.forehead.Forehead.main(Forehead.java:581)
> > Invalid Redirect URI from:
> >
> http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar t
> > o: http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar
> > warning: last-modified not specified
> > Error getting URI host
> > org.apache.commons.httpclient.HttpException: Redirect from host
> > www.ibiblio.com to www.ibiblio.org i
> > s not supported
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(Ht
> tpMethodBa
> > se.java:1243)
> >
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.processRedirectRespon
> se(HttpMet
> > hodBase.java:
> > 1191)
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMet
> hodBase.ja
> > va:977)
> > at
> >
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBas
> e.java:109
> > 5)
> > at
> >
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> java:675)
> > at
> >
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.
> java:529)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
> > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:186)
> > at
> >
> org.apache.maven.verifier.DependencyVerifier.getRemot

Re: HttpException downloading dependencies (1.0-rc4)

2004-07-09 Thread Alwyn Schoeman
Would explicitly defining a www.ibiblio.org remote repository be a
temporary fix?

On Fri, 9 Jul 2004 16:24:58 +0100, Charles Daniels <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> Today I upgraded to rc4 from rc3.  Now I am getting HttpExceptions when
> attempting to download dependencies.  I recall something on this subject in
> the list, but I can't find it in the archives.  Here's my output:
> 
> Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
> Error getting URI host
> org.apache.commons.httpclient.HttpException: Redirect from host
> www.ibiblio.com to www.ibiblio.org i
> s not supported
> at
> org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
> se.java:1243)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
> hodBase.java:
> 1191)
> at
> org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
> va:977)
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:109
> 5)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:170)
> at
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVer
> ifier.java:31
> 7)
> at
> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerif
> ier.java:254)
> 
> at
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyV
> erifier.java:
> 171)
> at
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:
> 97)
> at
> org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> at org.apache.maven.cli.App.doMain(App.java:486)
> at org.apache.maven.cli.App.main(App.java:1215)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Invalid Redirect URI from:
> http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar t
> o: http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar
> warning: last-modified not specified
> Error getting URI host
> org.apache.commons.httpclient.HttpException: Redirect from host
> www.ibiblio.com to www.ibiblio.org i
> s not supported
> at
> org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
> se.java:1243)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
> hodBase.java:
> 1191)
> at
> org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
> va:977)
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:109
> 5)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:186)
> at
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVer
> ifier.java:31
> 7)
> at
> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerif
> ier.java:254)
> 
> at
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyV
> erifier.java:
> 171)
> at
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:
> 97)
> at
> org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> at org.apache.maven.cli.App.doMain(App.java:486)
> at org.apache.maven.cli.App.main(App.java:1215)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Invalid Redirect URI from:
> http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar.m
> d5 to:
> http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar.md5
> Response content length is not known
> warning: last-modified not specified
> 
> Is there some property I need to set?  I am not behind a firewall, and
> everything was working fine with rc3.
> 

HttpException downloading dependencies (1.0-rc4)

2004-07-09 Thread Charles Daniels
Hi All,

Today I upgraded to rc4 from rc3.  Now I am getting HttpExceptions when
attempting to download dependencies.  I recall something on this subject in
the list, but I can't find it in the archives.  Here's my output:

Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect from host
www.ibiblio.com to www.ibiblio.org i
s not supported
at
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
se.java:1243)

at
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
hodBase.java:
1191)
at
org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
va:977)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:109
5)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:170)
at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVer
ifier.java:31
7)
at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerif
ier.java:254)

at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyV
erifier.java:
171)
at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:
97)
at
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Invalid Redirect URI from:
http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar t
o: http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar
warning: last-modified not specified
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect from host
www.ibiblio.com to www.ibiblio.org i
s not supported
at
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
se.java:1243)

at
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
hodBase.java:
1191)
at
org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
va:977)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:109
5)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:378)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:274)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:186)
at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVer
ifier.java:31
7)
at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerif
ier.java:254)

at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyV
erifier.java:
171)
at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:
97)
at
org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:492)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Invalid Redirect URI from:
http://www.ibiblio.com:80/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar.m
d5 to:
http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar.md5
Response content length is not known
warning: last-modified not specified


Is there some property I need to set?  I am not behind a firewall, and
everything was working fine with rc3.

Thanks,
Chuck


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Downloading dependencies

2003-08-03 Thread Tim Anderson
Not clear from your original post (to me at least)
if you don't like the maven repository layout,
or if you simply want all of your local dependencies
to be located in a lib/ dir, using your own naming
conventions.

If the latter, you could create a goal in maven.xml to
copy all of your dependencies from the local maven
repository to lib/ so they conform to your existing layout.

In general, maven plugins won't be able to refer
to these copied jars - this approach is probably only
useful if you are running a parallel build (based on ANT
for example)

-Tim

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, 4 August 2003 11:13 AM
> To: Maven Users List
> Subject: Re: Downloading dependencies
>
>
> Mike,
>
> cant you set up a redirect on the web server?
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
>
>
> Mike Dougherty <[EMAIL PROTECTED]> wrote on 02/08/2003 04:32:25 AM:
>
> > On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote:
> > On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> > > I am trying to get my dependencies setup in my project file. However,
> > > I can't seem to figure out how to tell Maven to NOT insert
> > > "/jars" into the path. Looking at the error below what I want
> > > is for the "mars_taglib.jar" file to be downloaded from
> > > "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> > > "lib/mars_taglib.jar". Is this possible? If so how?
> >
> > You don't you put it where Maven expects it. The user guide clearly
> > explains where to put the JARs.
> >
> > Because we have a structure in place which we have been using for 4+
> > years since this project's inception and 30+ developers that don't
> > take kindly to change. The structure will remain as it is. If
> > Maven's dependency checking can't be adapted to fit our project then
> > we will not be able to use this feature of Maven.
> >
> > So if I can't actually use the dependency download feature I would
> > still like to use to documentation portion. Is there a way I can
> > have the goal/build continue even if the file wasn't able to be
> > downloaded or wasn't on disk?
> >
> > Thanks for your help,
> > Mike
> >
>
> >
> >
> > --
> > Mike Dougherty
> > Sr. Software Engineer   | [EMAIL PROTECTED]
> > XIFIN, Inc. | http://www.xifin.com
> > Ph: 858.793.5700| Fax: 858.793.5701
> > Fingerprint: 29DE DC92 822E B6F0 6A66  BCB8 8FE2 C562 7FB2 B342
> >
> >
> > [attachment "signature.asc" deleted by dIon Gillard/Multitask
> Consulting/AU]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Downloading dependencies

2003-08-03 Thread dion
Mike,

cant you set up a redirect on the web server?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mike Dougherty <[EMAIL PROTECTED]> wrote on 02/08/2003 04:32:25 AM:

> On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 
> On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> > I am trying to get my dependencies setup in my project file. However,
> > I can't seem to figure out how to tell Maven to NOT insert
> > "/jars" into the path. Looking at the error below what I want
> > is for the "mars_taglib.jar" file to be downloaded from
> > "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> > "lib/mars_taglib.jar". Is this possible? If so how?
> 
> You don't you put it where Maven expects it. The user guide clearly
> explains where to put the JARs.
> 
> Because we have a structure in place which we have been using for 4+
> years since this project's inception and 30+ developers that don't 
> take kindly to change. The structure will remain as it is. If 
> Maven's dependency checking can't be adapted to fit our project then
> we will not be able to use this feature of Maven.
> 
> So if I can't actually use the dependency download feature I would 
> still like to use to documentation portion. Is there a way I can 
> have the goal/build continue even if the file wasn't able to be 
> downloaded or wasn't on disk?
> 
> Thanks for your help,
> Mike 
> 

> 
> 
> -- 
> Mike Dougherty
> Sr. Software Engineer   | [EMAIL PROTECTED] 
> XIFIN, Inc. | http://www.xifin.com
> Ph: 858.793.5700| Fax: 858.793.5701
> Fingerprint: 29DE DC92 822E B6F0 6A66  BCB8 8FE2 C562 7FB2 B342
> 
> 
> [attachment "signature.asc" deleted by dIon Gillard/Multitask 
Consulting/AU] 

Re: Downloading dependencies

2003-08-03 Thread dion
Changes to the repository layout aren't possible in Maven 1.0.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mike Dougherty <[EMAIL PROTECTED]> wrote on 02/08/2003 02:45:24 AM:

> I am trying to get my dependencies setup in my project file. 
> However, I can't seem to figure out how to tell Maven to NOT insert 
> "/jars" into the path. Looking at the error below what I 
> want is for the "mars_taglib.jar" file to be downloaded from "http:
> //convair.xifin.com/jars/mars_taglib.jar" and placed in 
> "lib/mars_taglib.jar". Is this possible? If so how?

> Attempting to download mars_taglib.jar.
> Error retrieving artifact from [http://convair.xifin.
> com/jars/mars/jars/mars_taglib.jar]: java.lang.Exception: Can't get 
> mars_taglib.jar to lib/mars/jars/mars_taglib.jar
> WARNING: Failed to download mars_taglib.jar.
> The build cannot continue because of the following unsatisfied 
dependency:
> 
> mars_taglib.jar
> 
> Thanks,
> Mike

> 
> 
> -- 
> Mike Dougherty
> Sr. Software Engineer   | [EMAIL PROTECTED] 
> XIFIN, Inc. | http://www.xifin.com
> Ph: 858.793.5700| Fax: 858.793.5701
> Fingerprint: 29DE DC92 822E B6F0 6A66  BCB8 8FE2 C562 7FB2 B342
> 
> [attachment "signature.asc" deleted by dIon Gillard/Multitask 
Consulting/AU] 

Re: Downloading dependencies

2003-08-01 Thread Jefferson K. French
It's kind of messy, but could you setup a maven directory structure on
convair.xifin.com where all the jar directories are actually symbolic
links to your top-level jars directory?

On 01 Aug 2003, at 11:32:25 [GMT -0700] Mike Dougherty wrote:

> On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 

>> On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
>> > I am trying to get my dependencies setup in my project file. However,
>> > I can't seem to figure out how to tell Maven to NOT insert
>> > "/jars" into the path. Looking at the error below what I want
>> > is for the "mars_taglib.jar" file to be downloaded from
>> > "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
>> > "lib/mars_taglib.jar". Is this possible? If so how?
>> 
>> You don't you put it where Maven expects it. The user guide clearly
>> explains where to put the JARs.


> Because we have a structure in place which we have been using for 4+
> years since this project's inception and 30+ developers that don't take
> kindly to change. The structure will remain as it is. If Maven's
> dependency checking can't be adapted to fit our project then we will not
> be able to use this feature of Maven.

> So if I can't actually use the dependency download feature I would still
> like to use to documentation portion. Is there a way I can have the
> goal/build continue even if the file wasn't able to be downloaded or
> wasn't on disk?

> Thanks for your help,
> Mike




-- 
MDB Consulting, LLC
mailto:[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Downloading dependencies

2003-08-01 Thread W. Sean Hennessy
So conceivably a build-svr could use a different property file than development team?
 build-svr.properties dependency on the http jar which would update the intranet 
repository.
 build-dev.properties dependency on the intranet repository would update developer's 
software development folder.

Is this doable?

-Original Message-
From: Michal Maczka [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 12:30 PM
To: Maven Users List
Subject: RE: Downloading dependencies




> -Original Message-
> From: W. Sean Hennessy [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 8:52 PM
> To: Maven Users List
> Subject: RE: Downloading dependencies
> 
> 
> Michal,
> 
> When you say 
> "Other developers will have those artifacts (dependencies)  
> downloaded automatically by Maven."
> do you mean downloading the dependencies from the intranet repository?

yes

> and how does Maven differentiate between the one performing the 
> http update to intranet repository
> and the 30+ ?
> 

Maven will not see a diff. between those downloads. 
I imagine that what stops Mike from relaying on maven dependency handling mechanism is 
this, that
not all of his dependencies can be satisfied automatically by Maven.

It is just enough if one developer will populate his repository with required 
artifacts 
and share his work by the way of "publishing" his repository in the intranet. 

So effort required to do this is exactly the same
for the team composed of just one developer, 30+ or 1000+.


Michal



-
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]



RE: Downloading dependencies

2003-08-01 Thread Michal Maczka


> -Original Message-
> From: W. Sean Hennessy [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 8:52 PM
> To: Maven Users List
> Subject: RE: Downloading dependencies
> 
> 
> Michal,
> 
> When you say 
> "Other developers will have those artifacts (dependencies)  
> downloaded automatically by Maven."
> do you mean downloading the dependencies from the intranet repository?

yes

> and how does Maven differentiate between the one performing the 
> http update to intranet repository
> and the 30+ ?
> 

Maven will not see a diff. between those downloads. 
I imagine that what stops Mike from relaying on maven dependency handling mechanism is 
this, that
not all of his dependencies can be satisfied automatically by Maven.

It is just enough if one developer will populate his repository with required 
artifacts 
and share his work by the way of "publishing" his repository in the intranet. 

So effort required to do this is exactly the same
for the team composed of just one developer, 30+ or 1000+.


Michal



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Downloading dependencies

2003-08-01 Thread Jason van Zyl
On Fri, 2003-08-01 at 14:32, Mike Dougherty wrote:
> On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 
> > On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> > > I am trying to get my dependencies setup in my project file. However,
> > > I can't seem to figure out how to tell Maven to NOT insert
> > > "/jars" into the path. Looking at the error below what I want
> > > is for the "mars_taglib.jar" file to be downloaded from
> > > "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> > > "lib/mars_taglib.jar". Is this possible? If so how?
> > 
> > You don't you put it where Maven expects it. The user guide clearly
> > explains where to put the JARs.
> 
> Because we have a structure in place which we have been using for 4+
> years since this project's inception and 30+ developers that don't
> take kindly to change. 

Too bad, we get this complaint all the time. We've had thousands of
downloads and imagine if we tried to accommodate everything users
request for a different repository? We can't please everyone.

> The structure will remain as it is. If Maven's dependency checking
> can't be adapted to fit our project then we will not be able to use
> this feature of Maven.

Roll your own then, see how much fun you have. 

> So if I can't actually use the dependency download feature I would
> still like to use to documentation portion. Is there a way I can have
> the goal/build continue even if the file wasn't able to be downloaded
> or wasn't on disk?

It could probably be done as a future feature possibly but the whole
tenet of Maven is one of unification from one end of the process to the
other. Gear primarly for new projects and those that are willing to put
in the time up front to save an immense amount of grief.

For some change you get everything that Maven has to offer. But Maven
might not be for your development team. If you want to customize
everything to suit your needs you might want to look at Centipede and
you can use your existing Ant builds.

> Thanks for your help,
> Mike 
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Downloading dependencies

2003-08-01 Thread W. Sean Hennessy
Michal,

When you say 
"Other developers will have those artifacts (dependencies)  downloaded automatically 
by Maven."
do you mean downloading the dependencies from the intranet repository?
and how does Maven differentiate between the one performing the http update to 
intranet repository
and the 30+ ?


-Original Message-
From: Michal Maczka [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 11:46 AM
To: Maven Users List
Subject: RE: Downloading dependencies



  -Original Message-
  From: Mike Dougherty [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 01, 2003 8:32 PM
  To: Maven Users List
  Subject: Re: Downloading dependencies


  On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 
On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> I am trying to get my dependencies setup in my project file. However,
> I can't seem to figure out how to tell Maven to NOT insert
> "/jars" into the path. Looking at the error below what I want
> is for the "mars_taglib.jar" file to be downloaded from
> "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> "lib/mars_taglib.jar". Is this possible? If so how?

You don't you put it where Maven expects it. The user guide clearly
explains where to put the JARs.

  Because we have a structure in place which we have been using for 4+ years since 
this project's inception and 30+ developers that don't take kindly to change. The 
structure will remain as it is. If Maven's dependency checking can't be adapted to fit 
our project then we will not be able to use this feature of Maven.

  So if I can't actually use the dependency download feature I would still like to use 
to documentation portion. Is there a way I can have the goal/build continue even if 
the file wasn't able to be downloaded or wasn't on disk?

   Sorry to disappoint you - the answer is: NO 

  Note that only one developer out of those 30+ needs to create intranet repository 
and populate it with your jars or other artifacts.
  Other developers will have those those artifacts (dependencies)  downloaded 
automatically by Maven.


  Michal



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Downloading dependencies

2003-08-01 Thread Michal Maczka

  -Original Message-
  From: Mike Dougherty [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 01, 2003 8:32 PM
  To: Maven Users List
  Subject: Re: Downloading dependencies


  On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 
On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> I am trying to get my dependencies setup in my project file. However,
> I can't seem to figure out how to tell Maven to NOT insert
> "/jars" into the path. Looking at the error below what I want
> is for the "mars_taglib.jar" file to be downloaded from
> "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> "lib/mars_taglib.jar". Is this possible? If so how?

You don't you put it where Maven expects it. The user guide clearly
explains where to put the JARs.

  Because we have a structure in place which we have been using for 4+ years since 
this project's inception and 30+ developers that don't take kindly to change. The 
structure will remain as it is. If Maven's dependency checking can't be adapted to fit 
our project then we will not be able to use this feature of Maven.

  So if I can't actually use the dependency download feature I would still like to use 
to documentation portion. Is there a way I can have the goal/build continue even if 
the file wasn't able to be downloaded or wasn't on disk?

   Sorry to disappoint you - the answer is: NO 

  Note that only one developer out of those 30+ needs to create intranet repository 
and populate it with your jars or other artifacts.
  Other developers will have those those artifacts (dependencies)  downloaded 
automatically by Maven.


  Michal


RE: Downloading dependencies

2003-08-01 Thread Michal Maczka

  -Original Message-
  From: Mike Dougherty [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 01, 2003 6:45 PM
  To: Maven Users
  Subject: Downloading dependencies


  I am trying to get my dependencies setup in my project file. However, I can't seem 
to figure out how to tell Maven to NOT insert "/jars" into the path. Looking 
at the error below what I want is for the "mars_taglib.jar" file to be downloaded from 
"http://convair.xifin.com/jars/mars_taglib.jar"; and placed in "lib/mars_taglib.jar". 
Is this possible? If so how?
   
  This is not  possible.
  Either you use standard repository layout imposed by Maven or you are on your own. 

  Michal


Re: Downloading dependencies

2003-08-01 Thread Mike Dougherty




On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 

On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> I am trying to get my dependencies setup in my project file. However,
> I can't seem to figure out how to tell Maven to NOT insert
> "/jars" into the path. Looking at the error below what I want
> is for the "mars_taglib.jar" file to be downloaded from
> "http://convair.xifin.com/jars/mars_taglib.jar" and placed in
> "lib/mars_taglib.jar". Is this possible? If so how?

You don't you put it where Maven expects it. The user guide clearly
explains where to put the JARs.


Because we have a structure in place which we have been using for 4+ years since this project's inception and 30+ developers that don't take kindly to change. The structure will remain as it is. If Maven's dependency checking can't be adapted to fit our project then we will not be able to use this feature of Maven.

So if I can't actually use the dependency download feature I would still like to use to documentation portion. Is there a way I can have the goal/build continue even if the file wasn't able to be downloaded or wasn't on disk?

Thanks for your help,
Mike





-- 
Mike Dougherty
Sr. Software Engineer   | [EMAIL PROTECTED] 
XIFIN, Inc. | http://www.xifin.com
Ph: 858.793.5700    | Fax: 858.793.5701
Fingerprint: 29DE DC92 822E B6F0 6A66  BCB8 8FE2 C562 7FB2 B342








signature.asc
Description: This is a digitally signed message part


Re: Downloading dependencies

2003-08-01 Thread Jason van Zyl
On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
> I am trying to get my dependencies setup in my project file. However,
> I can't seem to figure out how to tell Maven to NOT insert
> "/jars" into the path. Looking at the error below what I want
> is for the "mars_taglib.jar" file to be downloaded from
> "http://convair.xifin.com/jars/mars_taglib.jar"; and placed in
> "lib/mars_taglib.jar". Is this possible? If so how?

You don't you put it where Maven expects it. The user guide clearly
explains where to put the JARs.

> 
> Attempting to download mars_taglib.jar.
> Error retrieving artifact from 
> [http://convair.xifin.com/jars/mars/jars/mars_taglib.jar]: java.lang.Exception: 
> Can't get mars_taglib.jar to lib/mars/jars/mars_taglib.jar
> WARNING: Failed to download mars_taglib.jar.
> The build cannot continue because of the following unsatisfied dependency:
> 
> mars_taglib.jar
> Thanks,
> Mike
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Downloading dependencies

2003-08-01 Thread Mike Dougherty




I am trying to get my dependencies setup in my project file. However, I can't seem to figure out how to tell Maven to NOT insert "/jars" into the path. Looking at the error below what I want is for the "mars_taglib.jar" file to be downloaded from "http://convair.xifin.com/jars/mars_taglib.jar" and placed in "lib/mars_taglib.jar". Is this possible? If so how?

Attempting to download mars_taglib.jar.
Error retrieving artifact from [http://convair.xifin.com/jars/mars/jars/mars_taglib.jar]: java.lang.Exception: Can't get mars_taglib.jar to lib/mars/jars/mars_taglib.jar
WARNING: Failed to download mars_taglib.jar.
The build cannot continue because of the following unsatisfied dependency:

mars_taglib.jar

Thanks,
Mike





-- 
Mike Dougherty
Sr. Software Engineer   | [EMAIL PROTECTED] 
XIFIN, Inc. | http://www.xifin.com
Ph: 858.793.5700    | Fax: 858.793.5701
Fingerprint: 29DE DC92 822E B6F0 6A66  BCB8 8FE2 C562 7FB2 B342








signature.asc
Description: This is a digitally signed message part