You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Thiago Veronezi <th...@veronezi.org> on 2010/09/03 03:40:16 UTC

jboss build error - Failed to resolve artifact.

Devs,
Im trying to compile the last source code but it seems that is missing the
jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
bellow. Are you having the same problem?

tkx,
Thiago.

******************************************************************

Missing:
----------
1) org.jboss.test-audit:jboss-test-audit-api:jar:1.1.0.CR1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.test-audit
-DartifactId=jboss-test-audit-api -Dversion=1.1.0.CR1 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.jboss.test-audit
-DartifactId=jboss-test-audit-api -Dversion=1.1.0.CR1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.apache.openejb:openejb-core:jar:3.2-SNAPSHOT
   2) org.jboss.jsr299.tck:jsr299-tck-impl:jar:1.0.2.CR1
   3) org.jboss.test-audit:jboss-test-audit-api:jar:1.1.0.CR1

2) org.jboss.test-audit:jboss-test-audit-impl:jar:1.1.0.CR1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.test-audit
-DartifactId=jboss-test-audit-impl -Dversion=1.1.0.CR1 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.jboss.test-audit
-DartifactId=jboss-test-audit-impl -Dversion=1.1.0.CR1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.apache.openejb:openejb-core:jar:3.2-SNAPSHOT
   2) org.jboss.jsr299.tck:jsr299-tck-impl:jar:1.0.2.CR1
   3) org.jboss.test-audit:jboss-test-audit-impl:jar:1.1.0.CR1

3) org.jboss.test-harness:jboss-test-harness-api:jar:1.1.0-CR5

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.test-harness
-DartifactId=jboss-test-harness-api -Dversion=1.1.0-CR5 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.jboss.test-harness
-DartifactId=jboss-test-harness-api -Dversion=1.1.0-CR5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.apache.openejb:openejb-core:jar:3.2-SNAPSHOT
   2) org.jboss.jsr299.tck:jsr299-tck-impl:jar:1.0.2.CR1
   3) org.jboss.jsr299.tck:jsr299-tck-api:jar:1.0.2.CR1
   4) org.jboss.test-harness:jboss-test-harness-api:jar:1.1.0-CR5

4) org.jboss.test-harness:jboss-test-harness:jar:1.1.0-CR5

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.test-harness
-DartifactId=jboss-test-harness -Dversion=1.1.0-CR5 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.jboss.test-harness
-DartifactId=jboss-test-harness -Dversion=1.1.0-CR5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.apache.openejb:openejb-core:jar:3.2-SNAPSHOT
   2) org.jboss.test-harness:jboss-test-harness:jar:1.1.0-CR5

----------
4 required artifacts are missing.

for artifact:
  org.apache.openejb:openejb-core:jar:3.2-SNAPSHOT

from the specified remote repositories:
  codehaus-snapshot (http://snapshots.repository.codehaus.org),
  apache.snapshots (http://repository.apache.org/snapshots),
  apache-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository),
  tomcat-private-repository (http://tomcat.apache.org/dev/dist/m2-repository
),
  central (http://repo1.maven.org/maven2),
  java.net (http://download.java.net/maven/1),
  apache-m2-snapshot (http://repository.apache.org/snapshots/),
  openejb-3rdparty-builds (http://svn.apache.org/repos/asf/openejb/repo/)

Re: jboss build error - Failed to resolve artifact.

Posted by Andy <an...@orprovision.com>.
  On 03.09.2010 05:27, Karan Malhi wrote:
> karan@sabira:~/projects/oss/openejb3$ mvn --version
> Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_20
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-24-generic-pae" arch: "i386" Family:
> "unix"
>
>
> On Thu, Sep 2, 2010 at 11:19 PM, Thiago Veronezi<th...@veronezi.org>wrote:
>
>> Thats odd. I've tried it with 2 diff computers: at home I have a linux
>> machine; at work, a windows xp. It runs fine for windows, but not FOR my
>> linux  :o/ . Whats your environment?
>>
>>
>> **********************************************************************************
>> boto@botonote:~/galileo/ws_sync1/openejb$ java -version
>> java version "1.6.0_21"
>> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
>>
>> boto@botonote:~/galileo/ws_sync1/openejb$ mvn --version
>> Apache Maven 2.2.1 (rdebian-1)
>> Java version: 1.6.0_21
>> Java home: /opt/java/64/jdk1.6.0_21/jre
>> Default locale: en_CA, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family: "unix"
>>
>>
>> **********************************************************************************
>>
>> C:\dev\ws_illumi2\iroot>java -version
>>
>> java version "1.6.0_21"
>>
>> Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
>>
>> Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
>>
>>
>>
>> C:\dev\ws_illumi2\iroot>mvn -version
>>
>> Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)
>>
>> Java version: 1.6.0_21
>>
>> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
>>
>> Default locale: en_US, platform encoding: Cp1252
>>
>> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>>
>>
>>
>> tkx,
>> Thiago
>>
>> On Thu, Sep 2, 2010 at 10:15 PM, Karan Malhi<ka...@gmail.com>
>> wrote:
>>
>>> On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
>>>
>>>> Devs,
>>>> Im trying to compile the last source code but it seems that is missing
>> the
>>>> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
>>>> bellow. Are you having the same problem?
>>>>
>>>>
>>> Works fine for me. Just ran a successful build.
>>>
>>> --
>>> Karan Singh Malhi
>>>
>>>
>
>
Also, before I forget.

My first step on 'not so obvious' build errors is to search for and 
delete all existing 'target' directories in the openejb tree - This 
removes all cached items and ensures that a 'really clean' build occurs.

Andy.


Re: jboss build error - Failed to resolve artifact.

Posted by Thiago Veronezi <th...@veronezi.org>.
Perfect! Thanks Andy... :O)
[]s,
Thiago.

On Fri, Sep 3, 2010 at 2:45 AM, Andy <an...@orprovision.com> wrote:

>  On 03.09.2010 05:27, Karan Malhi wrote:
>
>> karan@sabira:~/projects/oss/openejb3$ mvn --version
>> Apache Maven 2.2.1 (rdebian-1)
>> Java version: 1.6.0_20
>> Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.32-24-generic-pae" arch: "i386" Family:
>> "unix"
>>
>>
>> On Thu, Sep 2, 2010 at 11:19 PM, Thiago Veronezi<thiago@veronezi.org
>> >wrote:
>>
>>  Thats odd. I've tried it with 2 diff computers: at home I have a linux
>>> machine; at work, a windows xp. It runs fine for windows, but not FOR my
>>> linux  :o/ . Whats your environment?
>>>
>>>
>>>
>>> **********************************************************************************
>>> boto@botonote:~/galileo/ws_sync1/openejb$ java -version
>>> java version "1.6.0_21"
>>> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
>>> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
>>>
>>> boto@botonote:~/galileo/ws_sync1/openejb$ mvn --version
>>> Apache Maven 2.2.1 (rdebian-1)
>>> Java version: 1.6.0_21
>>> Java home: /opt/java/64/jdk1.6.0_21/jre
>>> Default locale: en_CA, platform encoding: UTF-8
>>> OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family:
>>> "unix"
>>>
>>>
>>>
>>> **********************************************************************************
>>>
>>> C:\dev\ws_illumi2\iroot>java -version
>>>
>>> java version "1.6.0_21"
>>>
>>> Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
>>>
>>> Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
>>>
>>>
>>>
>>> C:\dev\ws_illumi2\iroot>mvn -version
>>>
>>> Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)
>>>
>>> Java version: 1.6.0_21
>>>
>>> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
>>>
>>> Default locale: en_US, platform encoding: Cp1252
>>>
>>> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>>>
>>>
>>>
>>> tkx,
>>> Thiago
>>>
>>> On Thu, Sep 2, 2010 at 10:15 PM, Karan Malhi<ka...@gmail.com>
>>> wrote:
>>>
>>>  On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
>>>>
>>>>  Devs,
>>>>> Im trying to compile the last source code but it seems that is missing
>>>>>
>>>> the
>>>
>>>> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
>>>>> bellow. Are you having the same problem?
>>>>>
>>>>>
>>>>>  Works fine for me. Just ran a successful build.
>>>>
>>>> --
>>>> Karan Singh Malhi
>>>>
>>>>
>>>>
>>
>>  I also had problems yesterday with the build due to repos, but after
> adding 'http://repository.jboss.org/nexus/content/groups/public-jboss' to
> my maven configuration everything was fine.
>
> You will find that 'http://repository.jboss.org/maven2/' is going to
> eventually go offline.
>
> I find with the following maven profile config (in
> [maven]/conf/settings.xml) that maven finds just about everything it needs.
>
> <profile>
> <id>My-extra-repos</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <repositories>
> <repository>
> <id>ibiblio</id>
> <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>rapache central</id>
> <url>https://repository.apache.org/content/repositories/central</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>apache snapshot</id>
> <url>https://repository.apache.org/content/repositories/snapshots</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>jboss snapshot</id>
> <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> </profile>
>
>
> Regards,
>
> Andy.
>
>

Re: jboss build error - Failed to resolve artifact.

Posted by Andy <an...@orprovision.com>.
  On 03.09.2010 05:27, Karan Malhi wrote:
> karan@sabira:~/projects/oss/openejb3$ mvn --version
> Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_20
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-24-generic-pae" arch: "i386" Family:
> "unix"
>
>
> On Thu, Sep 2, 2010 at 11:19 PM, Thiago Veronezi<th...@veronezi.org>wrote:
>
>> Thats odd. I've tried it with 2 diff computers: at home I have a linux
>> machine; at work, a windows xp. It runs fine for windows, but not FOR my
>> linux  :o/ . Whats your environment?
>>
>>
>> **********************************************************************************
>> boto@botonote:~/galileo/ws_sync1/openejb$ java -version
>> java version "1.6.0_21"
>> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
>>
>> boto@botonote:~/galileo/ws_sync1/openejb$ mvn --version
>> Apache Maven 2.2.1 (rdebian-1)
>> Java version: 1.6.0_21
>> Java home: /opt/java/64/jdk1.6.0_21/jre
>> Default locale: en_CA, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family: "unix"
>>
>>
>> **********************************************************************************
>>
>> C:\dev\ws_illumi2\iroot>java -version
>>
>> java version "1.6.0_21"
>>
>> Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
>>
>> Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
>>
>>
>>
>> C:\dev\ws_illumi2\iroot>mvn -version
>>
>> Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)
>>
>> Java version: 1.6.0_21
>>
>> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
>>
>> Default locale: en_US, platform encoding: Cp1252
>>
>> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>>
>>
>>
>> tkx,
>> Thiago
>>
>> On Thu, Sep 2, 2010 at 10:15 PM, Karan Malhi<ka...@gmail.com>
>> wrote:
>>
>>> On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
>>>
>>>> Devs,
>>>> Im trying to compile the last source code but it seems that is missing
>> the
>>>> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
>>>> bellow. Are you having the same problem?
>>>>
>>>>
>>> Works fine for me. Just ran a successful build.
>>>
>>> --
>>> Karan Singh Malhi
>>>
>>>
>
>
I also had problems yesterday with the build due to repos, but after 
adding 'http://repository.jboss.org/nexus/content/groups/public-jboss' 
to my maven configuration everything was fine.

You will find that 'http://repository.jboss.org/maven2/' is going to 
eventually go offline.

I find with the following maven profile config (in 
[maven]/conf/settings.xml) that maven finds just about everything it needs.

<profile>
<id>My-extra-repos</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>ibiblio</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>rapache central</id>
<url>https://repository.apache.org/content/repositories/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>apache snapshot</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss snapshot</id>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>


Regards,

Andy.


Re: jboss build error - Failed to resolve artifact.

Posted by Karan Malhi <ka...@gmail.com>.
karan@sabira:~/projects/oss/openejb3$ mvn --version
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-24-generic-pae" arch: "i386" Family:
"unix"


On Thu, Sep 2, 2010 at 11:19 PM, Thiago Veronezi <th...@veronezi.org>wrote:

> Thats odd. I've tried it with 2 diff computers: at home I have a linux
> machine; at work, a windows xp. It runs fine for windows, but not FOR my
> linux  :o/ . Whats your environment?
>
>
> **********************************************************************************
> boto@botonote:~/galileo/ws_sync1/openejb$ java -version
> java version "1.6.0_21"
> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
>
> boto@botonote:~/galileo/ws_sync1/openejb$ mvn --version
> Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_21
> Java home: /opt/java/64/jdk1.6.0_21/jre
> Default locale: en_CA, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family: "unix"
>
>
> **********************************************************************************
>
> C:\dev\ws_illumi2\iroot>java -version
>
> java version "1.6.0_21"
>
> Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
>
> Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
>
>
>
> C:\dev\ws_illumi2\iroot>mvn -version
>
> Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)
>
> Java version: 1.6.0_21
>
> Java home: C:\Program Files\Java\jdk1.6.0_21\jre
>
> Default locale: en_US, platform encoding: Cp1252
>
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
>
>
> tkx,
> Thiago
>
> On Thu, Sep 2, 2010 at 10:15 PM, Karan Malhi <ka...@gmail.com>
> wrote:
>
> > On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
> >
> >> Devs,
> >> Im trying to compile the last source code but it seems that is missing
> the
> >> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
> >> bellow. Are you having the same problem?
> >>
> >>
> > Works fine for me. Just ran a successful build.
> >
> > --
> > Karan Singh Malhi
> >
> >
>



-- 
Karan Singh Malhi

Re: jboss build error - Failed to resolve artifact.

Posted by Thiago Veronezi <th...@veronezi.org>.
Thats odd. I've tried it with 2 diff computers: at home I have a linux
machine; at work, a windows xp. It runs fine for windows, but not FOR my
linux  :o/ . Whats your environment?

**********************************************************************************
boto@botonote:~/galileo/ws_sync1/openejb$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

boto@botonote:~/galileo/ws_sync1/openejb$ mvn --version
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_21
Java home: /opt/java/64/jdk1.6.0_21/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family: "unix"

**********************************************************************************

C:\dev\ws_illumi2\iroot>java -version

java version "1.6.0_21"

Java(TM) SE Runtime Environment (build 1.6.0_21-b07)

Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)



C:\dev\ws_illumi2\iroot>mvn -version

Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)

Java version: 1.6.0_21

Java home: C:\Program Files\Java\jdk1.6.0_21\jre

Default locale: en_US, platform encoding: Cp1252

OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"



tkx,
Thiago

On Thu, Sep 2, 2010 at 10:15 PM, Karan Malhi <ka...@gmail.com> wrote:

> On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
>
>> Devs,
>> Im trying to compile the last source code but it seems that is missing the
>> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
>> bellow. Are you having the same problem?
>>
>>
> Works fine for me. Just ran a successful build.
>
> --
> Karan Singh Malhi
>
>

Re: jboss build error - Failed to resolve artifact.

Posted by Karan Malhi <ka...@gmail.com>.
On 09/02/2010 09:40 PM, Thiago Veronezi wrote:
> Devs,
> Im trying to compile the last source code but it seems that is missing the
> jboss repositoty (http://repository.jboss.org/maven2/  ?) for the items
> bellow. Are you having the same problem?
>    
Works fine for me. Just ran a successful build.

-- 
Karan Singh Malhi