Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Mac OS X and Maven

  • 06-01-2008 04:46PM
    #1
    Registered Users, Registered Users 2 Posts: 1,821 ✭✭✭


    hey,
    i'm kinda new to macs and maven so therein lies the problem :)
    I'm trying to build a project but I can't with maven.

    Tried to follow some examples on the main maven site just to get running and got this error :
    maven-petstore-1.4 root$ mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'archetype'.
    [INFO] org.codehaus.mojo: checking for updates from central
    [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: central due to an error: Error transferring file
    [INFO] Repository 'central' will be blacklisted
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-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 minute 17 seconds
    [INFO] Finished at: Sun Jan 06 15:33:04 GMT 2008
    [INFO] Final Memory: 1M/2M
    

    I'm behind a firewall/proxy so that might have something to do with it. Thing is, I can't find where maven is installed... Can anyone tell me where it is so I can change my proxy settings?

    I'll prob have more questions on this later. Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 189 ✭✭MeWantBroadband


    Skud wrote: »
    hey,
    i'm kinda new to macs and maven so therein lies the problem :)
    I'm trying to build a project but I can't with maven.

    I'm behind a firewall/proxy so that might have something to do with it. Thing is, I can't find where maven is installed... Can anyone tell me where it is so I can change my proxy settings?

    I'll prob have more questions on this later. Thanks

    Surely Maven is installed wherever you unzipped it? Maven is a badly documented piece of crap, good luck with it.

    Here is a well considered and eloquent assessment of Maven: http://www.bileblog.org/?p=322


Advertisement