[ 
https://jira.codehaus.org/browse/JBEHAVE-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293286#comment-293286
 ] 

Alexander Lehmann edited comment on JBEHAVE-732 at 3/3/12 8:18 AM:
-------------------------------------------------------------------

you can change the following in settings.xml

{quote}
  <id>glassfish</id>
    <activation>
      <activeByDefault>false</activeByDefault>
    </activation>
{quote}


and add after the last </profile>

{quote}
    <profile>
      <id>java.net</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>java.net</id>
          <url>https://maven.java.net/content/groups/public/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>java.net</id>
          <url>https://maven.java.net/content/groups/public/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
    <profile>
      <id>atlassian</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>atlassian</id>
          <url>https://maven.atlassian.com/repository/public</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>atlassian</id>
          <url>https://maven.atlassian.com/repository/public</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
{quote}

this will disable glassfish (one request remains however that will just time 
out and use the repositories for java.net and atlassian to resolve the missing 
files.

This should only be necessary once, after one successful run of mvn -s 
settings.xml you do not need the settings anymore.




                
      was (Author: alexlehm):
    you can change the following in settings.xml

{{bq.
<id>glassfish</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
}}

and add after the last </profile>

{quote}
    <profile>
      <id>java.net</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>java.net</id>
          <url>https://maven.java.net/content/groups/public/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>java.net</id>
          <url>https://maven.java.net/content/groups/public/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
    <profile>
      <id>atlassian</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>atlassian</id>
          <url>https://maven.atlassian.com/repository/public</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>atlassian</id>
          <url>https://maven.atlassian.com/repository/public</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
{quote}

this will disable glassfish (one request remains however that will just time 
out and use the repositories for java.net and atlassian to resolve the missing 
files.

This should only be necessary once, after one successful run of mvn -s 
settings.xml you do not need the settings anymore.




                  
> maven build to empty rep on Mac
> -------------------------------
>
>                 Key: JBEHAVE-732
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-732
>             Project: JBehave
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.5.4
>         Environment:   System Version:        Mac OS X 10.6.8 (10K549)
>   Kernel Version:     Darwin 10.8.0
>   Boot Volume:        Macintosh HD
>   Boot Mode:  Normal
>   Computer Name:      Shane's MacBook
>   User Name:  Shane Hayes (shanehayes)
>   Secure Virtual Memory:      Enabled
>            Reporter: Shane Hayes
>
> When I try to run the maven command from the web site: "mvn -s settings.xml 
> clean install -Pexamples" I get the error above. When I search the web, I see 
> comments about maven support of Google gdata, but I don't see a solution to 
> the problem. I would assume that there is a reasonably easy solution, maybe 
> manually installing this troublesome dependencies, but I have not been able 
> to figure that out. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to