You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arthur Rodrigues Stilben <ar...@extendnet.com.br> on 2008/01/24 20:00:05 UTC

Error ear

Hi,

I have a problem in my ear project. I made something like that:

....
<dependency>
      <groupId>math.ssj</groupId>
      <artifactId>colt</artifactId>
      <version>1.2.0</version>
      <type>jar</type>
    </dependency>

    <dependency>
        <groupId>jfree</groupId>
          <artifactId>jcommon</artifactId>
        <version>1.0.12</version>
        <type>jar</type>
    </dependency>
....

<dependency>
        <groupId>Saiph.SaiphST</groupId>
          <artifactId>SaiphST-ejb</artifactId>
        <version>1.0</version>
        <type>jar</type>
    </dependency>
....

Until the Saiph dependency, it's all ok. But in that dependency, an error is shown:

C:\SaiphMaven\SaiphST_ear\SaiphST>mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building SaiphST
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/math/ssj/colt/1.2.0/colt-1.2.0.pom
Downloading: http://repo1.maven.org/maven2/Saiph/SaiphMaven/1.0/SaiphMaven-1.0.p
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: Saiph
ArtifactId: SaiphMaven
Version: 1.0

Reason: Unable to download the artifact from any repository

  Saiph:SaiphMaven:pom:1.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Jan 24 16:42:39 GMT-03:00 2008
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------

What can I do to resolve it?

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


RE: Error ear

Posted by "Allen, Daniel" <Da...@kbcfp.com>.
Do you have the required files on hand? You could set up your own local
repository. 

-----Original Message-----
From: Arthur Rodrigues Stilben [mailto:arthur.stilben@extendnet.com.br] 
Sent: Thursday, January 24, 2008 2:00 PM
To: Maven Users List
Subject: Error ear

Hi,

I have a problem in my ear project. I made something like that:

....
<dependency>
      <groupId>math.ssj</groupId>
      <artifactId>colt</artifactId>
      <version>1.2.0</version>
      <type>jar</type>
    </dependency>

    <dependency>
        <groupId>jfree</groupId>
          <artifactId>jcommon</artifactId>
        <version>1.0.12</version>
        <type>jar</type>
    </dependency>
....

<dependency>
        <groupId>Saiph.SaiphST</groupId>
          <artifactId>SaiphST-ejb</artifactId>
        <version>1.0</version>
        <type>jar</type>
    </dependency>
....

Until the Saiph dependency, it's all ok. But in that dependency, an
error is shown:

C:\SaiphMaven\SaiphST_ear\SaiphST>mvn compile
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building SaiphST
[INFO]    task-segment: [compile]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/math/ssj/colt/1.2.0/colt-1.2.0.pom
Downloading:
http://repo1.maven.org/maven2/Saiph/SaiphMaven/1.0/SaiphMaven-1.0.p
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: Saiph
ArtifactId: SaiphMaven
Version: 1.0

Reason: Unable to download the artifact from any repository

  Saiph:SaiphMaven:pom:1.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Jan 24 16:42:39 GMT-03:00 2008
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------

What can I do to resolve it?

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


-- 
This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided "as is", without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns.


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