You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by MT...@EvergreenInvestments.com on 2006/04/06 21:51:02 UTC

Experiencing following problem on Building an Ear

Experiencing following problem on Building an Ear during compilation
Any reason why, ->  has the location changed and how do I compensate

[INFO] 
----------------------------------------------------------------------------
[INFO] Building core project classes
[INFO]    task-segment: [compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/root/project/projects/logging/1.0/logging-1.0.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/javax/mail/mail/1.3.2/mail-1.3.2.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

required artifacts missing:
  javax.activation:activation:jar:1.0.2
  root.project.projects:logging:jar:1.0
  javax.mail:mail:jar:1.3.2

for the artifact:
  root.project:primary-source:jar:1.0

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


[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: required artifacts 
missing:
  javax.activation:activation:jar:1.0.2
  root.project.projects:logging:jar:1.0
  javax.mail:mail:jar:1.3.2

Thanks, Mike

Re: Experiencing following problem on Building an Ear

Posted by Tim Kettler <ti...@udo.edu>.
Hi,

for the 'activation' an 'mail' dependencies have a look at: 
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

-Tim

MTedesco@EvergreenInvestments.com schrieb:
> Experiencing following problem on Building an Ear during compilation
> Any reason why, ->  has the location changed and how do I compensate
> 
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building core project classes
> [INFO]    task-segment: [compile]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/root/project/projects/logging/1.0/logging-1.0.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/javax/mail/mail/1.3.2/mail-1.3.2.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> required artifacts missing:
>   javax.activation:activation:jar:1.0.2
>   root.project.projects:logging:jar:1.0
>   javax.mail:mail:jar:1.3.2
> 
> for the artifact:
>   root.project:primary-source:jar:1.0
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: required artifacts 
> missing:
>   javax.activation:activation:jar:1.0.2
>   root.project.projects:logging:jar:1.0
>   javax.mail:mail:jar:1.3.2
> 
> Thanks, Mike


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


Re: Experiencing following problem on Building an Ear

Posted by Wayne Fay <wa...@gmail.com>.
If you read the "coping with Sun jars" webpage, you'll understand why
those jars do not exist in ibiblio, and why they have never existed in
ibiblio. They were never moved.

Your only option right now is to download those jars from Sun.com and
manually install them into your local repository with "mvn
install:install-file" etc.

Wayne

PS- I am working with Project Glassfish to hopefully get these jars
deployed to ibiblio at some point in the future. No clue when that
will actually happen, but I'll be sure to make an announcement on the
user@ list when it does.
PPS- Don't hold your breath. It will be a while.


On 4/6/06, mjohnsonaz74 <mj...@hotmail.com> wrote:
>
> As you've probably guessed, those jars do not exist at those locations.  If
> they did before than they've been moved (obviously), but if you're trying to
> use them for the first time, or even if they have moved, you could try
> downloading them manually and then installing them in your local repository.
> That would be a quick fix since I couldn't tell you where the files have
> moved to.
>
> --MJ
> --
> View this message in context: http://www.nabble.com/Experiencing-following-problem-on-Building-an-Ear-t1408030.html#a3791837
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Experiencing following problem on Building an Ear

Posted by mjohnsonaz74 <mj...@hotmail.com>.
As you've probably guessed, those jars do not exist at those locations.  If
they did before than they've been moved (obviously), but if you're trying to
use them for the first time, or even if they have moved, you could try
downloading them manually and then installing them in your local repository. 
That would be a quick fix since I couldn't tell you where the files have
moved to.

--MJ
--
View this message in context: http://www.nabble.com/Experiencing-following-problem-on-Building-an-Ear-t1408030.html#a3791837
Sent from the Maven - Users forum at Nabble.com.


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