You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Emerson Cargnin <ec...@bol.com.br> on 2003/08/24 15:35:17 UTC

Re: error running maven (can't download concurrent package) / maven eclipse plugin

now what can't be downloaded is commons-cli-1.0.jar, although is possible to download it using the browser at the address it show at log :

Error retrieving artifact from [http://www.ibiblio.org/maven/commons-cli/jars/commons-cli-1.0.jar]: java.net.SocketException: Connection reset
WARNING: Failed to download commons-cli-1.0.jar.

BUILD FAILED
File...... file:/C:/eclipse/workspace/incubator-geronimo/
Element... maven:reactor
Line...... 38
Column.... 7
The build cannot continue because of the following unsatisfied dependency:

commons-cli-1.0.jar

Eclipse plugin :

I tried to use maven eclipse plugin to generate .classpath and .project and it generated a .classpath without source folders or lib jar's.

<?xml version="1.0" encoding="UTF-8"?>

<classpath>
  <classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">
  </classpathentry>
  <classpathentry kind="output" path="target/classes">
  </classpathentry>
</classpath>


maven eclipse log :

C:\eclipse\workspace\incubator-geronimo>maven eclipse
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

eclipse:generate-project:
    [echo] Creating C:\eclipse\workspace\incubator-geronimo/.project ...

eclipse:generate-classpath:
    [echo] Creating C:\eclipse\workspace\incubator-geronimo/.classpath ...
    [echo] Cutting off basedir from outputDir

eclipse:
    [echo] Now refresh your project in Eclipse (right click on the project and s
elect "Refresh")
BUILD SUCCESSFUL
Total time:  3 seconds

ANy hint?

  ----- Original Message ----- 
  From: Emerson Cargnin 
  To: geronimo-dev@incubator.apache.org 
  Sent: Saturday, August 23, 2003 8:03 PM
  Subject: error running maven (can't download concurrent package)


  As oriented by last posts, I setup maven, but it fails in downloading concurrent package :

  Attempting to download concurrent-1.3.2.jar.
  Error retrieving artifact from [http://www.ibiblio.org/maven/concurrent/jars/con
  current-1.3.2.jar]: java.net.SocketException: Connection reset

  All other packages were downlaoded ok :

  BUILD FAILED
  File...... file:/C:/eclipse/workspace/incubator-geronimo/
  Element... maven:reactor
  Line...... 37
  Column.... 7
  The build cannot continue because of the following unsatisfied dependency:

  concurrent-1.3.2.jar




  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.512 / Virus Database: 309 - Release Date: 19/8/2003

Re: error running maven (can't download concurrent package) / maven eclipse plugin

Posted by Uijin Hong <He...@runeconsulting.com>.
I've read that "maven eclipse" won't work until maven Eclipse support the multi-sub-project, since Geronimo has changed to multi-sub-project configuration(modules/**, specs/**)
  "Emerson Cargnin" <echofloripa@¸:´d“AEYšGÓ]w¾¿> wrote in message news:002601c36a44$8ed94570$abadfea9@echo...
  now what can't be downloaded is commons-cli-1.0.jar, although is possible to download it using the browser at the address it show at log :

  Error retrieving artifact from [http://www.ibiblio.org/maven/commons-cli/jars/commons-cli-1.0.jar]: java.net.SocketException: Connection reset
  WARNING: Failed to download commons-cli-1.0.jar.

  BUILD FAILED
  File...... file:/C:/eclipse/workspace/incubator-geronimo/
  Element... maven:reactor
  Line...... 38
  Column.... 7
  The build cannot continue because of the following unsatisfied dependency:

  commons-cli-1.0.jar

  Eclipse plugin :

  I tried to use maven eclipse plugin to generate .classpath and .project and it generated a .classpath without source folders or lib jar's.

  <?xml version="1.0" encoding="UTF-8"?>

  <classpath>
    <classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">
    </classpathentry>
    <classpathentry kind="output" path="target/classes">
    </classpathentry>
  </classpath>


  maven eclipse log :

  C:\eclipse\workspace\incubator-geronimo>maven eclipse
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

  eclipse:generate-project:
      [echo] Creating C:\eclipse\workspace\incubator-geronimo/.project ...

  eclipse:generate-classpath:
      [echo] Creating C:\eclipse\workspace\incubator-geronimo/.classpath ...
      [echo] Cutting off basedir from outputDir

  eclipse:
      [echo] Now refresh your project in Eclipse (right click on the project and s
  elect "Refresh")
  BUILD SUCCESSFUL
  Total time:  3 seconds

  ANy hint?

    ----- Original Message ----- 
    From: Emerson Cargnin 
    To: geronimo-dev@incubator.apache.org 
    Sent: Saturday, August 23, 2003 8:03 PM
    Subject: error running maven (can't download concurrent package)


    As oriented by last posts, I setup maven, but it fails in downloading concurrent package :

    Attempting to download concurrent-1.3.2.jar.
    Error retrieving artifact from [http://www.ibiblio.org/maven/concurrent/jars/con
    current-1.3.2.jar]: java.net.SocketException: Connection reset

    All other packages were downlaoded ok :

    BUILD FAILED
    File...... file:/C:/eclipse/workspace/incubator-geronimo/
    Element... maven:reactor
    Line...... 37
    Column.... 7
    The build cannot continue because of the following unsatisfied dependency:

    concurrent-1.3.2.jar




    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.512 / Virus Database: 309 - Release Date: 19/8/2003

Re: error running maven (can't download concurrent package) / maven eclipse plugin

Posted by Emerson Cargnin <ec...@bol.com.br>.
it could generate an aggregate .classpath with all the modules, as I did.... :

the lib's var will pointo to maven repository. Although it has to be updated, since I think there are others lib's right now. But is a good startup.

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="modules/core/src/java"/>
    <classpathentry kind="src" path="modules/common/src/java"/>
    <classpathentry kind="src" path="specs/activation/src/java"/>
    <classpathentry kind="src" path="specs/ejb/src/java"/>
    <classpathentry kind="src" path="modules/web/src/java"/>
    <classpathentry kind="src" path="specs/j2ee-deployment/src/java"/>
    <classpathentry kind="src" path="specs/jta/src/java"/>
    <classpathentry kind="src" path="specs/j2ee-management/src/java"/>
    <classpathentry kind="src" path="specs/j2ee-connector/src/java"/>
    <classpathentry kind="src" path="modules/twiddle/src/java"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="var" path="CASTOR_LIB"/>
    <classpathentry kind="var" path="COMMONS_HTTP_CLIENT_LIB"/>
    <classpathentry kind="var" path="COMMONS_LOGGING_LIB"/>
    <classpathentry kind="var" path="CONCURRENT_LIB"/>
    <classpathentry kind="var" path="DOM4J_LIB"/>
    <classpathentry kind="var" path="JETTY_LIB"/>
    <classpathentry kind="var" path="JMX_LIB"/>
    <classpathentry kind="var" path="LOG4J_LIB"/>
    <classpathentry kind="output" path="bin"/>
</classpath>


  "Uijin Hong" <He...@runeconsulting.com> escreveu na mensagem news:bice2e$df1$1@sea.gmane.org...
  I've read that "maven eclipse" won't work until maven Eclipse support the multi-sub-project, since Geronimo has changed to multi-sub-project configuration(modules/**, specs/**)
    "Emerson Cargnin" <echofloripa@¸:´d"AEYsGÓ]w¾¿> wrote in message news:002601c36a44$8ed94570$abadfea9@echo...
    now what can't be downloaded is commons-cli-1.0.jar, although is possible to download it using the browser at the address it show at log :

    Error retrieving artifact from [http://www.ibiblio.org/maven/commons-cli/jars/commons-cli-1.0.jar]: java.net.SocketException: Connection reset
    WARNING: Failed to download commons-cli-1.0.jar.

    BUILD FAILED
    File...... file:/C:/eclipse/workspace/incubator-geronimo/
    Element... maven:reactor
    Line...... 38
    Column.... 7
    The build cannot continue because of the following unsatisfied dependency:

    commons-cli-1.0.jar

    Eclipse plugin :

    I tried to use maven eclipse plugin to generate .classpath and .project and it generated a .classpath without source folders or lib jar's.

    <?xml version="1.0" encoding="UTF-8"?>

    <classpath>
      <classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">
      </classpathentry>
      <classpathentry kind="output" path="target/classes">
      </classpathentry>
    </classpath>


    maven eclipse log :

    C:\eclipse\workspace\incubator-geronimo>maven eclipse
     __  __
    |  \/  |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
    |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

    eclipse:generate-project:
        [echo] Creating C:\eclipse\workspace\incubator-geronimo/.project ...

    eclipse:generate-classpath:
        [echo] Creating C:\eclipse\workspace\incubator-geronimo/.classpath ...
        [echo] Cutting off basedir from outputDir

    eclipse:
        [echo] Now refresh your project in Eclipse (right click on the project and s
    elect "Refresh")
    BUILD SUCCESSFUL
    Total time:  3 seconds

    ANy hint?

      ----- Original Message ----- 
      From: Emerson Cargnin 
      To: geronimo-dev@incubator.apache.org 
      Sent: Saturday, August 23, 2003 8:03 PM
      Subject: error running maven (can't download concurrent package)


      As oriented by last posts, I setup maven, but it fails in downloading concurrent package :

      Attempting to download concurrent-1.3.2.jar.
      Error retrieving artifact from [http://www.ibiblio.org/maven/concurrent/jars/con
      current-1.3.2.jar]: java.net.SocketException: Connection reset

      All other packages were downlaoded ok :

      BUILD FAILED
      File...... file:/C:/eclipse/workspace/incubator-geronimo/
      Element... maven:reactor
      Line...... 37
      Column.... 7
      The build cannot continue because of the following unsatisfied dependency:

      concurrent-1.3.2.jar




      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.512 / Virus Database: 309 - Release Date: 19/8/2003