You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco)" <ma...@cisco.com> on 2007/01/29 23:30:30 UTC

Can't find artifact when building offline

Hi, all.

I'm trying to do an offline build.  I've done a successful build and
have
a local repository.  Now, when I run the same build again with the
-o (for offline) option, using that same local repository, I get the
message 
that an artifact could not be resolved.

The message is for
	GroupId: org.apache.maven.surefire
	ArtifactId: surefile
	Version: 2.3-20070114.205105-2

I have searched every pom file in the local repository and can find no
reference to any -2 version of a build done on 20070114.  There are
lots of 20070114.205105-1 files and references existing, but no
references
and no files with -2.  I think the -2 is a typo in some Maven file
somewhere,
but where?  Has anyone any suggestion where else to look?  

BTW I've also tried -o -npu for options, with the same result.

thanks,

--Marilyn Sander

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


Re: Can't find artifact when building offline

Posted by Tony Ambrozie <to...@gmail.com>.
What version of surefire are you specifying in your pom?  Do you specify
one?  Not sure what the issue is as I cannot replicate it, I can only
suspect that some dependency/plugin looks for the latest release and finds a
pom with this name somewhere, but no associated jar. You may want to specify
version 2.2 it works for me...

On 1/29/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) <
marilysa@cisco.com> wrote:
>
> Hi, all.
>
> I'm trying to do an offline build.  I've done a successful build and
> have
> a local repository.  Now, when I run the same build again with the
> -o (for offline) option, using that same local repository, I get the
> message
> that an artifact could not be resolved.
>
> The message is for
>         GroupId: org.apache.maven.surefire
>         ArtifactId: surefile
>         Version: 2.3-20070114.205105-2
>
> I have searched every pom file in the local repository and can find no
> reference to any -2 version of a build done on 20070114.  There are
> lots of 20070114.205105-1 files and references existing, but no
> references
> and no files with -2.  I think the -2 is a typo in some Maven file
> somewhere,
> but where?  Has anyone any suggestion where else to look?
>
> BTW I've also tried -o -npu for options, with the same result.
>
> thanks,
>
> --Marilyn Sander
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>