You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Boyer <cb...@musiciansfriend.com> on 2008/04/02 19:58:51 UTC
Problems with Maven on OSX
I'm lost here and can't seem to figure this out. I'm working with
Maven on OSX and for some reason it doesn't seem to be downloading
dependencies or anything really. Just for fun. I went ahead and moved
off my .m2 repo and ran a mvn install on a pretty simple pom file. It
spewed this at me:
cboyer@gaz test $ mvn install[INFO]
Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Tutorial[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second[INFO] Finished at: Wed Apr 02 10:57:01
PDT 2008
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
I just reinstalled maven with macports. Running version 2.0.8. My
repo was clean when I ran this.
Any help with this would be great.
--Chris
Chris Boyer <cb...@musiciansfriend.com>
Senior Programmer/Analyst, Musician's Friend
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with Maven on OSX
Posted by Chris Boyer <cb...@musiciansfriend.com>.
So that brought about a different error: ;)
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Test
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/
maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-
beta-6.pomDownloading: http://repo1.maven.org/maven2/org/apache/maven/
plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.pluginsArtifactId: maven-site-
pluginVersion: 2.0-beta-6
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6
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: < 1 second
[INFO] Finished at: Wed Apr 02 14:47:17 PDT 2008[INFO] Final Memory:
1M/2M
[INFO]
------------------------------------------------------------------------
On Apr 2, 2008, at 11:05 AM, Joshua ChaitinPollak wrote:
> Chris,
>
> try locking down the version of the site plugin you are using by
> putting this in your <build><plugins> section:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>2.0-beta-6</version>
> </plugin>
>
>
> Alternatively, I believe Maven 2.0.9 release candidates lock down
> the default plugin versions.
>
> -Josh
>
> On Apr 2, 2008, at 1:58 PM, Chris Boyer wrote:
>
>> I'm lost here and can't seem to figure this out. I'm working with
>> Maven on OSX and for some reason it doesn't seem to be downloading
>> dependencies or anything really. Just for fun. I went ahead and
>> moved off my .m2 repo and ran a mvn install on a pretty simple pom
>> file. It spewed this at me:
>>
>> cboyer@gaz test $ mvn install[INFO]
>> Scanning for projects...
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Building Tutorial[INFO] task-segment: [install]
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO]
>> ---------------------------------------------------------------------
>> ---[ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin'
>> does not exist or no valid version could be found
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Total time: < 1 second[INFO] Finished at: Wed Apr 02
>> 10:57:01 PDT 2008
>> [INFO] Final Memory: 1M/2M
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>>
>>
>> I just reinstalled maven with macports. Running version 2.0.8. My
>> repo was clean when I ran this.
>>
>> Any help with this would be great.
>>
>> --Chris
>>
>>
>>
>> Chris Boyer <cb...@musiciansfriend.com>
>> Senior Programmer/Analyst, Musician's Friend
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> --
> Joshua ChaitinPollak | Software Engineer
> Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970
>
>
>
>
>
>
Chris Boyer <cb...@musiciansfriend.com>
Senior Programmer/Analyst, Musician's Friend
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problems with Maven on OSX
Posted by Joshua ChaitinPollak <jp...@kivasystems.com>.
Chris,
try locking down the version of the site plugin you are using by
putting this in your <build><plugins> section:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-6</version>
</plugin>
Alternatively, I believe Maven 2.0.9 release candidates lock down the
default plugin versions.
-Josh
On Apr 2, 2008, at 1:58 PM, Chris Boyer wrote:
> I'm lost here and can't seem to figure this out. I'm working with
> Maven on OSX and for some reason it doesn't seem to be downloading
> dependencies or anything really. Just for fun. I went ahead and
> moved off my .m2 repo and ran a mvn install on a pretty simple pom
> file. It spewed this at me:
>
> cboyer@gaz test $ mvn install[INFO]
> Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Tutorial[INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------[ERROR
> ] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does
> not exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second[INFO] Finished at: Wed Apr 02 10:57:01
> PDT 2008
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
>
> I just reinstalled maven with macports. Running version 2.0.8. My
> repo was clean when I ran this.
>
> Any help with this would be great.
>
> --Chris
>
>
>
> Chris Boyer <cb...@musiciansfriend.com>
> Senior Programmer/Analyst, Musician's Friend
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Joshua ChaitinPollak | Software Engineer
Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970