Hi Awais,

Maybe you also need to refer to the real Maven remote repository in your properties file: repo1.maven.org

I've not had to refer to it myself, but I haven't needed to download a non-SNAPSHOT artifact for a while.

Regards,

Craig

On Aug 5, 2008, at 12:53 PM, Awais Bajwa wrote:

Hi All,

I am actually a first time user of Maven 1, now I am trying to downlaod from my home and no proxies so the maven 1 successfully downloaded the jdo jars from the remote repository but I am still facing problem with the other basic jars .. like junit and others .

I have also noticed that Maven 1 is trying to downalod all the dependencies from the following repositories:
maven.repo.remote =\
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository,\
http://www.jpox.org/downloads/maven,\
http://www.jpox.org/downloads/maven-nightly,\
http://download.java.net/maven/1

after going to the tck direcotry.


> maven build
Trying to get missing dependencies (and updated snapshots) required by JDO2 Technology Compatibility Kit:
- Attempting to download org.apache.derby:derby:10.2.1.6:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download org.apache.derby:derby:10.2.1.6:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download org.apache.derby:derby:10.2.1.6:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download org.apache.derby:derby:10.2.1.6:jar from 
http://download.java.net/maven/1
- Attempting to download org.apache.derby:derbytools:10.2.1.6:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository - Attempting to download org.apache.derby:derbytools:10.2.1.6:jar from http://www.jpox.org/downloads/maven - Attempting to download org.apache.derby:derbytools:10.2.1.6:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download org.apache.derby:derbytools:10.2.1.6:jar from http://download.java.net/maven/1
- Attempting to download junit:junit:3.8.1:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download junit:junit:3.8.1:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download junit:junit:3.8.1:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download junit:junit:3.8.1:jar from 
http://download.java.net/maven/1
- Attempting to download asm:asm:3.0:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download asm:asm:3.0:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download asm:asm:3.0:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download asm:asm:3.0:jar from http://download.java.net/maven/1
- Attempting to download log4j:log4j:1.2.13:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download log4j:log4j:1.2.13:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download log4j:log4j:1.2.13:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download log4j:log4j:1.2.13:jar from 
http://download.java.net/maven/1
- Attempting to download commons-logging:commons-logging:1.1:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository - Attempting to download commons-logging:commons-logging:1.1:jar from http://www.jpox.org/downloads/maven - Attempting to download commons-logging:commons-logging:1.1:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download commons-logging:commons-logging:1.1:jar from http://download.java.net/maven/1 - Attempting to download org.springframework:spring-core:2.0:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository - Attempting to download org.springframework:spring-core:2.0:jar from http://www.jpox.org/downloads/maven - Attempting to download org.springframework:spring-core:2.0:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download org.springframework:spring-core:2.0:jar from http://download.java.net/maven/1 - Attempting to download org.springframework:spring-beans:2.0:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository - Attempting to download org.springframework:spring-beans:2.0:jar from http://www.jpox.org/downloads/maven - Attempting to download org.springframework:spring-beans:2.0:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download org.springframework:spring-beans:2.0:jar from http://download.java.net/maven/1
- Attempting to download c3p0:c3p0:0.9.0.2:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download c3p0:c3p0:0.9.0.2:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download c3p0:c3p0:0.9.0.2:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download c3p0:c3p0:0.9.0.2:jar from 
http://download.java.net/maven/1
- Attempting to download commons-dbcp:commons-dbcp:1.2.1:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download commons-dbcp:commons-dbcp:1.2.1:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download commons-dbcp:commons-dbcp:1.2.1:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download commons-dbcp:commons-dbcp:1.2.1:jar from 
http://download.java.net/maven/1
- Attempting to download commons-pool:commons-pool:1.3:jar from 
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download commons-pool:commons-pool:1.3:jar from 
http://www.jpox.org/downloads/maven
- Attempting to download commons-pool:commons-pool:1.3:jar from 
http://www.jpox.org/downloads/maven-nightly
- Attempting to download commons-pool:commons-pool:1.3:jar from 
http://download.java.net/maven/1
- Attempting to download commons-collections:commons-collections: 3.2:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository - Attempting to download commons-collections:commons-collections: 3.2:jar from http://www.jpox.org/downloads/maven - Attempting to download commons-collections:commons-collections: 3.2:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download commons-collections:commons-collections: 3.2:jar from http://download.java.net/maven/1 - Attempting to download org.apache.geronimo.specs:geronimo- jpa_3.0_spec:1.0:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-reposito
ry
- Attempting to download org.apache.geronimo.specs:geronimo- jpa_3.0_spec:1.0:jar from http://www.jpox.org/downloads/maven - Attempting to download org.apache.geronimo.specs:geronimo- jpa_3.0_spec:1.0:jar from http://www.jpox.org/downloads/maven-nightly - Attempting to download org.apache.geronimo.specs:geronimo- jpa_3.0_spec:1.0:jar from http://download.java.net/maven/1
-------------------------------------------------------------------------------
>> The build cannot continue because of the following unsatisfied dependencies:
- org.apache.derby:derby:10.2.1.6:jar
- org.apache.derby:derbytools:10.2.1.6:jar
- junit:junit:3.8.1:jar
- asm:asm:3.0:jar (try downloading from 
http://maven.objectweb.org/maven2/asm/asm/3.0/)
- log4j:log4j:1.2.13:jar
- commons-logging:commons-logging:1.1:jar
- org.springframework:spring-core:2.0:jar
- org.springframework:spring-beans:2.0:jar
- c3p0:c3p0:0.9.0.2:jar (try downloading from 
http://prdownloads.sourceforge.net/c3p0/c3p0-0.9.0.2.bin.zip)
- commons-dbcp:commons-dbcp:1.2.1:jar
- commons-pool:commons-pool:1.3:jar
- commons-collections:commons-collections:3.2:jar
- org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar

-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------
Total time   : 1 minutes 55 seconds
Finished at  : Tuesday, 5 August 2008 23:45:09 GST
Final Memory : 1M/4M






If anyone has any idea then it would save my time, Furhter I have worked with Maven 2, and I will see if we can move to Maven 2.

Regards
Awais Bajwa



On 8/5/08, Awais Bajwa <[EMAIL PROTECTED]> wrote:
Hi All,

I am having some problem while downloading the artifacts for the Maven and it is throwing the authentication error, I am sitting behind proxy:

> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Error retrieving artifact from [http://www.jpox.org/downloads/maven-nightly ]: org.apache.maven.wagon.authorization.AuthorizationException: Not authorized by proxy. - Attempting to download org.apache.geronimo.specs:geronimo- jpa_3.0_spec:1.0:jar from http://download.java.net/maven/1 Required credentials not available for BASIC <any realm>@download.java.net:80 Preemptive authentication requested but no default credentials available Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials at org .apache .commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:331) at org .apache .commons .httpclient .HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:319) > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>



I am using the following properties


maven.proxy.host=japroxy
maven.proxy.port=8080
maven.proxy.username=awais.bajwa
maven.proxy.password=bajwa

Any idea?

-Awais

On 8/2/08, Michelle Caisse <[EMAIL PROTECTED]> wrote:
This vote is to release the Apache JDO 2.1.1 TCK and API (both legacy and current versions) with the projects that they depend on: enhancer, model, and util.

[+1] Release JDO 2.1.1 api, tck, enhancer, model, and util
[0] Don't care
[-1] Don't release JDO 2.1.1 api, tck, enhancer, model, and util because:


The TCK can be tested from the staging area, http://people.apache.org/~mcaisse/jdo2.1.1/dist . Please follow the directions at http://wiki.apache.org/jdo/ReleaseTesting2dot1dot1 for downloading and testing.

JDO 2.1.1 provides fixes for the following issues:
  http://issues.apache.org/jira/browse/JDO-584

  http://issues.apache.org/jira/browse/JDO-585

  http://issues.apache.org/jira/browse/JDO-586

  http://issues.apache.org/jira/browse/JDO-593

  http://issues.apache.org/jira/browse/JDO-600

  http://issues.apache.org/jira/browse/JDO-601


Please test and vote. Voting will close at noon PDT Tuesday, August 5.

-- Michelle


Craig L Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to