You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sarancse <sa...@gmail.com> on 2007/03/01 11:02:24 UTC

Re: [m2] M2 settings.xml

Frenz look at my settings.xml here,
I couldn't download any plugin. Is it require anymore updates?

<settings>
  <localRepository>%USERPROFILE%\.M2\repository</localRepository>
  <interactiveMode>true</interactiveMode>
  <usePluginRegistry>false</usePluginRegistry>
  <offline>false</offline>
  <proxies>
    <proxy>
      <active/>
      <protocol/>
      <username/>
      <password/>
      <port>80</port>
      <host>localhost</host>
      <nonProxyHosts/>
      <id/>
    </proxy>
  </proxies>
  <servers>
    <server>
      <username/>
      <password/>
      <privateKey/>
      <passphrase/>
      <filePermissions/>
      <directoryPermissions/>
      <configuration/>
      <id/>
    </server>
  </servers>
  <mirrors>
    <mirror>
		<id>IBiblio</id>
        <name>IBiblio Repository</name>
        <url>http://www.ibiblio.org/maven2/</url>
        <mirrorOf>central</mirrorOf> 
    </mirror>
    <mirror>
		<id>planetmirror</id>
		<name>Australian Mirror of http://repo1.maven.org/maven2/</name>
		<url>http://public.planetmirror.com/maven2/</url>
		<mirrorOf>central</mirrorOf>
	</mirror>
  </mirrors>
  <profiles>
    <profile>
      <activation>
        <activeByDefault/>
        <jdk/>
        <os>
          <name/>
          <family/>
          <arch/>
          <version/>
        </os>
        <property>
          <name/>
          <value/>
        </property>
        <file>
          <missing/>
          <exists/>
        </file>
      </activation>
      <properties/>
      <repositories>
        <repository>
          <releases>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </releases>
          <snapshots>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </snapshots>
          <id/>
          <name/>
          <url/>
          <layout/>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </releases>
          <snapshots>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </snapshots>
          <id/>
          <name/>
          <url/>
          <layout/>
        </pluginRepository>
      </pluginRepositories>
      <id/>
    </profile>
  </profiles>
  <activeProfiles/>
  <pluginGroups>
	<pluginGroup>org.codehaus.mojo</pluginGroup>
  </pluginGroups>
</settings>



pkimber wrote:
> 
> Here is a simple example:
> 
> <settings>
>   <activeProfiles>
>     <activeProfile>default</activeProfile>
>   </activeProfiles>
>   <profiles>
>     <profile>
>       <id>default</id>
>       <repositories>
>         <repository>
>           <id>serverId</id>
>           <name>serverName</name>
>           <url>http://myserver/repository</url>
>           <layout>default</layout>
>         </repository>
>       </repositories>
>     </profile>
>   </profiles>
> </settings>
> 
> On 01/03/07, Nick Stolwijk <ni...@planet.nl> wrote:
>> You mean something like this:
>>
>> http://maven.apache.org/ref/2.0.4/maven-settings/settings.html
>>
>> Hth,
>>
>> Nick Stolwijk
>>
>> sarancse wrote:
>> > Hi
>> > I am looking for a sample settings.xml file. Could anyone upload it to
>> me?
>> > It will be very useful for Maven2 beginners.
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/M2-settings.xml-tf3325842s177.html#a9246756
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: [m2] M2 settings.xml

Posted by Wayne Fay <wa...@gmail.com>.
You need to actually fill in the correct values in the <proxy> node.

       <active>true</active>
       <protocol>http</protocol>
       <username>your_username<username>
       <password>your_password</password>
       <port>8080</port>
       <host>the proxy server host name</host>

None of us can help you figure out what those values are. You need to
talk to your Network Administrator to get the help you need to get
this set up.

Wayne

On 3/1/07, sarancse <sa...@gmail.com> wrote:
>
> Frenz look at my settings.xml here,
> I couldn't download any plugin. Is it require anymore updates?
>
> <settings>
>   <localRepository>%USERPROFILE%\.M2\repository</localRepository>
>   <interactiveMode>true</interactiveMode>
>   <usePluginRegistry>false</usePluginRegistry>
>   <offline>false</offline>
>   <proxies>
>     <proxy>
>       <active/>
>       <protocol/>
>       <username/>
>       <password/>
>       <port>80</port>
>       <host>localhost</host>
>       <nonProxyHosts/>
>       <id/>
>     </proxy>
>   </proxies>
>   <servers>
>     <server>
>       <username/>
>       <password/>
>       <privateKey/>
>       <passphrase/>
>       <filePermissions/>
>       <directoryPermissions/>
>       <configuration/>
>       <id/>
>     </server>
>   </servers>
>   <mirrors>
>     <mirror>
>                 <id>IBiblio</id>
>         <name>IBiblio Repository</name>
>         <url>http://www.ibiblio.org/maven2/</url>
>         <mirrorOf>central</mirrorOf>
>     </mirror>
>     <mirror>
>                 <id>planetmirror</id>
>                 <name>Australian Mirror of http://repo1.maven.org/maven2/</name>
>                 <url>http://public.planetmirror.com/maven2/</url>
>                 <mirrorOf>central</mirrorOf>
>         </mirror>
>   </mirrors>
>   <profiles>
>     <profile>
>       <activation>
>         <activeByDefault/>
>         <jdk/>
>         <os>
>           <name/>
>           <family/>
>           <arch/>
>           <version/>
>         </os>
>         <property>
>           <name/>
>           <value/>
>         </property>
>         <file>
>           <missing/>
>           <exists/>
>         </file>
>       </activation>
>       <properties/>
>       <repositories>
>         <repository>
>           <releases>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </releases>
>           <snapshots>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </snapshots>
>           <id/>
>           <name/>
>           <url/>
>           <layout/>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <releases>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </releases>
>           <snapshots>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </snapshots>
>           <id/>
>           <name/>
>           <url/>
>           <layout/>
>         </pluginRepository>
>       </pluginRepositories>
>       <id/>
>     </profile>
>   </profiles>
>   <activeProfiles/>
>   <pluginGroups>
>         <pluginGroup>org.codehaus.mojo</pluginGroup>
>   </pluginGroups>
> </settings>
>
>
>
> pkimber wrote:
> >
> > Here is a simple example:
> >
> > <settings>
> >   <activeProfiles>
> >     <activeProfile>default</activeProfile>
> >   </activeProfiles>
> >   <profiles>
> >     <profile>
> >       <id>default</id>
> >       <repositories>
> >         <repository>
> >           <id>serverId</id>
> >           <name>serverName</name>
> >           <url>http://myserver/repository</url>
> >           <layout>default</layout>
> >         </repository>
> >       </repositories>
> >     </profile>
> >   </profiles>
> > </settings>
> >
> > On 01/03/07, Nick Stolwijk <ni...@planet.nl> wrote:
> >> You mean something like this:
> >>
> >> http://maven.apache.org/ref/2.0.4/maven-settings/settings.html
> >>
> >> Hth,
> >>
> >> Nick Stolwijk
> >>
> >> sarancse wrote:
> >> > Hi
> >> > I am looking for a sample settings.xml file. Could anyone upload it to
> >> me?
> >> > It will be very useful for Maven2 beginners.
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/M2-settings.xml-tf3325842s177.html#a9246756
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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