[v3] WORKAROUND for building v3

View: New views
16 Messages — Rating Filter:   Alert me  

[v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The workaround is to remove the references to Nexus server and replace
it with Maven repositories.  This workaround works for existing and
clean local Maven repository

1. Checkout master-pom:
svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom

2. comment out references to Nexus server: http://maven.glassfish.org 
and add references to the following repositories (see diffs below):

Index: pom.xml
===================================================================
--- pom.xml     (revision 31221)
+++ pom.xml     (working copy)
@@ -85,6 +85,7 @@
 
     <repositories>
         <!-- first hits nexus repo for any artifact request, then falls
to the next repo in the list / order -->
+<!--
         <repository>
             <id>glassfish-repo-archive</id>
             <name>Nexus repository collection for Glassfish</name>
@@ -93,10 +94,43 @@
                 <updatePolicy>never</updatePolicy>
             </snapshots>
         </repository>
+-->
+       <repository>
+           <id>repo1</id>
+           <name>repo1</name>
+           <url>http://download.java.net/maven/glassfish/</url>
+           <layout>default</layout>
+       </repository>
+       <repository>
+           <id>repo2</id>
+           <name>repo2</name>
+           <url>http://download.java.net/maven/2/</url>
+           <layout>default</layout>
+       </repository>
+       <repository>
+           <id>repo3</id>
+           <name>repo3</name>
+           <url>http://download.java.net/maven/1/</url>
+           <layout>legacy</layout>
+       </repository>
+       <repository>
+           <id>repo4</id>
+           <name>repo4</name>
+          
<url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
+           <layout>default</layout>
+       </repository>
+       <repository>
+           <id>repo5</id>
+           <name>repo5</name>
+           <url>http://deadlock.netbeans.org/maven2/</url>
+           <layout>default</layout>
+       </repository>
+
     </repositories>
 
     <pluginRepositories>
         <!-- first hits nexus repo for any artifact request, then falls
to the next repo in the list / order -->
+<!--
         <pluginRepository>
             <id>glassfish-repo-archive</id>
             <name>Nexus repository collection for Glassfish</name>
@@ -105,6 +139,20 @@
                 <updatePolicy>never</updatePolicy>
             </snapshots>
         </pluginRepository>
+-->
+       <pluginRepository>
+           <id>repo1</id>
+           <name>repo1</name>
+           <url>http://download.java.net/maven/glassfish/</url>
+           <layout>default</layout>
+       </pluginRepository>
+       <pluginRepository>
+           <id>repo2</id>
+           <name>repo2</name>
+           <url>http://download.java.net/maven/2/</url>
+           <layout>default</layout>
+       </pluginRepository>
+
     </pluginRepositories>
   
     <distributionManagement>


I have also attached a copy of the master-pom/pom.xml

3.  compile master-pom.xml: "mvn install"

4.  in v3/pom.xml update the version of the master-pom to "7-SNAPSHOT"
and remove reference to Nexus server (maven.glassfish.org):
Index: pom.xml
===================================================================
--- pom.xml     (revision 31218)
+++ pom.xml     (working copy)
@@ -42,7 +42,7 @@
     <parent>
         <groupId>org.glassfish</groupId>
         <artifactId>pom</artifactId>
-        <version>6</version>
+        <version>7-SNAPSHOT</version>
     </parent>
   
     <groupId>org.glassfish</groupId>
@@ -373,9 +373,11 @@
             </modules>
         </profile>
     </profiles>
-
+<!--
     <repositories>
+-->
         <!-- first hits nexus repo for any artifact request, then falls
to the next repo in the list / order -->
+<!--
         <repository>
             <id>glassfish-repo-archive</id>
             <name>Nexus repository collection for Glassfish</name>
@@ -384,7 +386,9 @@
                 <updatePolicy>never</updatePolicy>
             </snapshots>
         </repository>
+
     </repositories>
+-->
 
     <build>
         <defaultGoal>install</defaultGoal>

5. compile v3


<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License").  You
* may not use this file except in compliance with the License. You can obtain
* a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html 
* or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
* Sun designates this particular file as subject to the "Classpath" exception
* as provided by Sun in the GPL Version 2 section of the License file that
* accompanied this code.  If applicable, add the following below the License
* Header, with the fields enclosed by brackets [] replaced by your own
* identifying information: "Portions Copyrighted [year]
* [name of copyright owner]"
*
* Contributor(s):
*
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license."  If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above.  However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
-->
<!--
  GlassFish master POM
  ====================
 
  This POM is the organization root POM, from which all the components in the GlassFish umbrella
  extends from. A similar POM for other organizations can be seen in [1].
 
  The point of this POM is to provide organizational information, repository location, and
  license information. The nature of the POM makes it unsuitable for putting information
  that changes frequently, so this is not a place for example to define properies that
  designate component versions that GlassFish depends on.

  In an attempt to control the build stability with SNAPSHOTs, we are experimenting with
  no snapshot updates by default.

  [1] http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <prerequisites>
        <maven>2.0.4</maven>
    </prerequisites>
    <groupId>org.glassfish</groupId>
    <artifactId>pom</artifactId>
    <packaging>pom</packaging>
    <version>7-SNAPSHOT</version>
    <name>GlassFish Master POM</name>
    <url>http://glassfish.org/</url>
    <scm>
        <connection>scm:svn:https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom</connection>
        <developerConnection>scm:svn:https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom</developerConnection>
    </scm>
   
    <licenses>
      <license>
        <name>CDDL + GPLv2 with classpath exception</name>
        <url>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</url>
        <distribution>repo</distribution>
        <comments>A business-friendly OSS license</comments>
      </license>
    </licenses>
   
    <organization>
        <name>GlassFish Community</name>
        <url>https://glassfish.dev.java.net</url>
    </organization>

    <repositories>
        <!-- first hits nexus repo for any artifact request, then falls to the next repo in the list / order -->
<!--
        <repository>
            <id>glassfish-repo-archive</id>
            <name>Nexus repository collection for Glassfish</name>
            <url>http://maven.glassfish.org/content/groups/glassfish</url>
            <snapshots>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
-->
       <repository>
           <id>repo1</id>
           <name>repo1</name>
           <url>http://download.java.net/maven/glassfish/</url>
           <layout>default</layout>
       </repository>
       <repository>
           <id>repo2</id>
           <name>repo2</name>
           <url>http://download.java.net/maven/2/</url>
           <layout>default</layout>
       </repository>
       <repository>
           <id>repo3</id>
           <name>repo3</name>
           <url>http://download.java.net/maven/1/</url>
           <layout>legacy</layout>
       </repository>
       <repository>
           <id>repo4</id>
           <name>repo4</name>
           <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
           <layout>default</layout>
       </repository>
       <repository>
           <id>repo5</id>
           <name>repo5</name>
           <url>http://deadlock.netbeans.org/maven2/</url>
           <layout>default</layout>
       </repository>

    </repositories>
 
    <pluginRepositories>
        <!-- first hits nexus repo for any artifact request, then falls to the next repo in the list / order -->
<!--
        <pluginRepository>
            <id>glassfish-repo-archive</id>
            <name>Nexus repository collection for Glassfish</name>
            <url>http://maven.glassfish.org/content/groups/glassfish</url>
            <snapshots>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </pluginRepository>
-->
       <pluginRepository>
           <id>repo1</id>
           <name>repo1</name>
           <url>http://download.java.net/maven/glassfish/</url>
           <layout>default</layout>
       </pluginRepository>
       <pluginRepository>
           <id>repo2</id>
           <name>repo2</name>
           <url>http://download.java.net/maven/2/</url>
           <layout>default</layout>
       </pluginRepository>

    </pluginRepositories>
   
    <distributionManagement>
        <!-- our internal staging repository, to be pushed to http://download.java.net/maven/glassfish/ -->
        <repository>            
            <uniqueVersion>false</uniqueVersion>
            <!-- the ID maps to ~/.m2/settings.xml, so don't change the ID -->
            <id>rator.sfbay</id>
            <url>dav:http://glassfish-maven-repository.sfbay/maven/repositories/glassfish/</url>
        </repository>
    </distributionManagement>
   
    <build>
        <!--
          please be very conservative about what plugins to configure by default,
          as this POM will be used very widely.
        -->
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
        </plugins>
        <extensions>
             <extension>
                  <groupId>org.apache.maven.wagon</groupId>
                  <artifactId>wagon-webdav</artifactId>
                  <version>1.0-beta-2</version>
             </extension>
        </extensions>
    </build>

    <properties>
        <!--
          java.net user id. Used in SCM setting to access java.net.
          If your local id and java.net user id are diffrent, override this property
          in your ~/.m2/settings.xml
        -->
        <java.net.username>${user.name}</java.net.username>
    </properties>
</project>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jane,

Thanks for the information. Should we not have a profile that bypasses
nexus? That way, we don't have to edit the pom.xml.

Thanks,
Sahoo

Jane Young wrote:

> The workaround is to remove the references to Nexus server and replace
> it with Maven repositories.  This workaround works for existing and
> clean local Maven repository
>
> 1. Checkout master-pom:
> svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>
> 2. comment out references to Nexus server: http://maven.glassfish.org 
> and add references to the following repositories (see diffs below):
>
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 31221)
> +++ pom.xml     (working copy)
> @@ -85,6 +85,7 @@
>
>     <repositories>
>         <!-- first hits nexus repo for any artifact request, then
> falls to the next repo in the list / order -->
> +<!--
>         <repository>
>             <id>glassfish-repo-archive</id>
>             <name>Nexus repository collection for Glassfish</name>
> @@ -93,10 +94,43 @@
>                 <updatePolicy>never</updatePolicy>
>             </snapshots>
>         </repository>
> +-->
> +       <repository>
> +           <id>repo1</id>
> +           <name>repo1</name>
> +           <url>http://download.java.net/maven/glassfish/</url>
> +           <layout>default</layout>
> +       </repository>
> +       <repository>
> +           <id>repo2</id>
> +           <name>repo2</name>
> +           <url>http://download.java.net/maven/2/</url>
> +           <layout>default</layout>
> +       </repository>
> +       <repository>
> +           <id>repo3</id>
> +           <name>repo3</name>
> +           <url>http://download.java.net/maven/1/</url>
> +           <layout>legacy</layout>
> +       </repository>
> +       <repository>
> +           <id>repo4</id>
> +           <name>repo4</name>
> +          
> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
> +           <layout>default</layout>
> +       </repository>
> +       <repository>
> +           <id>repo5</id>
> +           <name>repo5</name>
> +           <url>http://deadlock.netbeans.org/maven2/</url>
> +           <layout>default</layout>
> +       </repository>
> +
>     </repositories>
>  
>     <pluginRepositories>
>         <!-- first hits nexus repo for any artifact request, then
> falls to the next repo in the list / order -->
> +<!--
>         <pluginRepository>
>             <id>glassfish-repo-archive</id>
>             <name>Nexus repository collection for Glassfish</name>
> @@ -105,6 +139,20 @@
>                 <updatePolicy>never</updatePolicy>
>             </snapshots>
>         </pluginRepository>
> +-->
> +       <pluginRepository>
> +           <id>repo1</id>
> +           <name>repo1</name>
> +           <url>http://download.java.net/maven/glassfish/</url>
> +           <layout>default</layout>
> +       </pluginRepository>
> +       <pluginRepository>
> +           <id>repo2</id>
> +           <name>repo2</name>
> +           <url>http://download.java.net/maven/2/</url>
> +           <layout>default</layout>
> +       </pluginRepository>
> +
>     </pluginRepositories>
>        <distributionManagement>
>
>
> I have also attached a copy of the master-pom/pom.xml
>
> 3.  compile master-pom.xml: "mvn install"
>
> 4.  in v3/pom.xml update the version of the master-pom to "7-SNAPSHOT"
> and remove reference to Nexus server (maven.glassfish.org):
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 31218)
> +++ pom.xml     (working copy)
> @@ -42,7 +42,7 @@
>     <parent>
>         <groupId>org.glassfish</groupId>
>         <artifactId>pom</artifactId>
> -        <version>6</version>
> +        <version>7-SNAPSHOT</version>
>     </parent>
>        <groupId>org.glassfish</groupId>
> @@ -373,9 +373,11 @@
>             </modules>
>         </profile>
>     </profiles>
> -
> +<!--
>     <repositories>
> +-->
>         <!-- first hits nexus repo for any artifact request, then
> falls to the next repo in the list / order -->
> +<!--
>         <repository>
>             <id>glassfish-repo-archive</id>
>             <name>Nexus repository collection for Glassfish</name>
> @@ -384,7 +386,9 @@
>                 <updatePolicy>never</updatePolicy>
>             </snapshots>
>         </repository>
> +
>     </repositories>
> +-->
>
>     <build>
>         <defaultGoal>install</defaultGoal>
>
> 5. compile v3
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See the "BETTER WORKAROUND".  There is a mirror element in settings.xml  
that overrides the Nexus.

Sahoo wrote:

> Jane,
>
> Thanks for the information. Should we not have a profile that bypasses
> nexus? That way, we don't have to edit the pom.xml.
>
> Thanks,
> Sahoo
>
> Jane Young wrote:
>> The workaround is to remove the references to Nexus server and
>> replace it with Maven repositories.  This workaround works for
>> existing and clean local Maven repository
>>
>> 1. Checkout master-pom:
>> svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>
>> 2. comment out references to Nexus server: http://maven.glassfish.org 
>> and add references to the following repositories (see diffs below):
>>
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml     (revision 31221)
>> +++ pom.xml     (working copy)
>> @@ -85,6 +85,7 @@
>>
>>     <repositories>
>>         <!-- first hits nexus repo for any artifact request, then
>> falls to the next repo in the list / order -->
>> +<!--
>>         <repository>
>>             <id>glassfish-repo-archive</id>
>>             <name>Nexus repository collection for Glassfish</name>
>> @@ -93,10 +94,43 @@
>>                 <updatePolicy>never</updatePolicy>
>>             </snapshots>
>>         </repository>
>> +-->
>> +       <repository>
>> +           <id>repo1</id>
>> +           <name>repo1</name>
>> +           <url>http://download.java.net/maven/glassfish/</url>
>> +           <layout>default</layout>
>> +       </repository>
>> +       <repository>
>> +           <id>repo2</id>
>> +           <name>repo2</name>
>> +           <url>http://download.java.net/maven/2/</url>
>> +           <layout>default</layout>
>> +       </repository>
>> +       <repository>
>> +           <id>repo3</id>
>> +           <name>repo3</name>
>> +           <url>http://download.java.net/maven/1/</url>
>> +           <layout>legacy</layout>
>> +       </repository>
>> +       <repository>
>> +           <id>repo4</id>
>> +           <name>repo4</name>
>> +          
>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>> +           <layout>default</layout>
>> +       </repository>
>> +       <repository>
>> +           <id>repo5</id>
>> +           <name>repo5</name>
>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>> +           <layout>default</layout>
>> +       </repository>
>> +
>>     </repositories>
>>  
>>     <pluginRepositories>
>>         <!-- first hits nexus repo for any artifact request, then
>> falls to the next repo in the list / order -->
>> +<!--
>>         <pluginRepository>
>>             <id>glassfish-repo-archive</id>
>>             <name>Nexus repository collection for Glassfish</name>
>> @@ -105,6 +139,20 @@
>>                 <updatePolicy>never</updatePolicy>
>>             </snapshots>
>>         </pluginRepository>
>> +-->
>> +       <pluginRepository>
>> +           <id>repo1</id>
>> +           <name>repo1</name>
>> +           <url>http://download.java.net/maven/glassfish/</url>
>> +           <layout>default</layout>
>> +       </pluginRepository>
>> +       <pluginRepository>
>> +           <id>repo2</id>
>> +           <name>repo2</name>
>> +           <url>http://download.java.net/maven/2/</url>
>> +           <layout>default</layout>
>> +       </pluginRepository>
>> +
>>     </pluginRepositories>
>>        <distributionManagement>
>>
>>
>> I have also attached a copy of the master-pom/pom.xml
>>
>> 3.  compile master-pom.xml: "mvn install"
>>
>> 4.  in v3/pom.xml update the version of the master-pom to
>> "7-SNAPSHOT" and remove reference to Nexus server (maven.glassfish.org):
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml     (revision 31218)
>> +++ pom.xml     (working copy)
>> @@ -42,7 +42,7 @@
>>     <parent>
>>         <groupId>org.glassfish</groupId>
>>         <artifactId>pom</artifactId>
>> -        <version>6</version>
>> +        <version>7-SNAPSHOT</version>
>>     </parent>
>>        <groupId>org.glassfish</groupId>
>> @@ -373,9 +373,11 @@
>>             </modules>
>>         </profile>
>>     </profiles>
>> -
>> +<!--
>>     <repositories>
>> +-->
>>         <!-- first hits nexus repo for any artifact request, then
>> falls to the next repo in the list / order -->
>> +<!--
>>         <repository>
>>             <id>glassfish-repo-archive</id>
>>             <name>Nexus repository collection for Glassfish</name>
>> @@ -384,7 +386,9 @@
>>                 <updatePolicy>never</updatePolicy>
>>             </snapshots>
>>         </repository>
>> +
>>     </repositories>
>> +-->
>>
>>     <build>
>>         <defaultGoal>install</defaultGoal>
>>
>> 5. compile v3
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is that better than having a profile?

Jane Young wrote:

> See the "BETTER WORKAROUND".  There is a mirror element in
> settings.xml  that overrides the Nexus.
>
> Sahoo wrote:
>> Jane,
>>
>> Thanks for the information. Should we not have a profile that
>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>
>> Thanks,
>> Sahoo
>>
>> Jane Young wrote:
>>> The workaround is to remove the references to Nexus server and
>>> replace it with Maven repositories.  This workaround works for
>>> existing and clean local Maven repository
>>>
>>> 1. Checkout master-pom:
>>> svn checkout
>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>
>>> 2. comment out references to Nexus server:
>>> http://maven.glassfish.org and add references to the following
>>> repositories (see diffs below):
>>>
>>> Index: pom.xml
>>> ===================================================================
>>> --- pom.xml     (revision 31221)
>>> +++ pom.xml     (working copy)
>>> @@ -85,6 +85,7 @@
>>>
>>>     <repositories>
>>>         <!-- first hits nexus repo for any artifact request, then
>>> falls to the next repo in the list / order -->
>>> +<!--
>>>         <repository>
>>>             <id>glassfish-repo-archive</id>
>>>             <name>Nexus repository collection for Glassfish</name>
>>> @@ -93,10 +94,43 @@
>>>                 <updatePolicy>never</updatePolicy>
>>>             </snapshots>
>>>         </repository>
>>> +-->
>>> +       <repository>
>>> +           <id>repo1</id>
>>> +           <name>repo1</name>
>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>> +           <layout>default</layout>
>>> +       </repository>
>>> +       <repository>
>>> +           <id>repo2</id>
>>> +           <name>repo2</name>
>>> +           <url>http://download.java.net/maven/2/</url>
>>> +           <layout>default</layout>
>>> +       </repository>
>>> +       <repository>
>>> +           <id>repo3</id>
>>> +           <name>repo3</name>
>>> +           <url>http://download.java.net/maven/1/</url>
>>> +           <layout>legacy</layout>
>>> +       </repository>
>>> +       <repository>
>>> +           <id>repo4</id>
>>> +           <name>repo4</name>
>>> +          
>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>> +           <layout>default</layout>
>>> +       </repository>
>>> +       <repository>
>>> +           <id>repo5</id>
>>> +           <name>repo5</name>
>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>> +           <layout>default</layout>
>>> +       </repository>
>>> +
>>>     </repositories>
>>>  
>>>     <pluginRepositories>
>>>         <!-- first hits nexus repo for any artifact request, then
>>> falls to the next repo in the list / order -->
>>> +<!--
>>>         <pluginRepository>
>>>             <id>glassfish-repo-archive</id>
>>>             <name>Nexus repository collection for Glassfish</name>
>>> @@ -105,6 +139,20 @@
>>>                 <updatePolicy>never</updatePolicy>
>>>             </snapshots>
>>>         </pluginRepository>
>>> +-->
>>> +       <pluginRepository>
>>> +           <id>repo1</id>
>>> +           <name>repo1</name>
>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>> +           <layout>default</layout>
>>> +       </pluginRepository>
>>> +       <pluginRepository>
>>> +           <id>repo2</id>
>>> +           <name>repo2</name>
>>> +           <url>http://download.java.net/maven/2/</url>
>>> +           <layout>default</layout>
>>> +       </pluginRepository>
>>> +
>>>     </pluginRepositories>
>>>        <distributionManagement>
>>>
>>>
>>> I have also attached a copy of the master-pom/pom.xml
>>>
>>> 3.  compile master-pom.xml: "mvn install"
>>>
>>> 4.  in v3/pom.xml update the version of the master-pom to
>>> "7-SNAPSHOT" and remove reference to Nexus server
>>> (maven.glassfish.org):
>>> Index: pom.xml
>>> ===================================================================
>>> --- pom.xml     (revision 31218)
>>> +++ pom.xml     (working copy)
>>> @@ -42,7 +42,7 @@
>>>     <parent>
>>>         <groupId>org.glassfish</groupId>
>>>         <artifactId>pom</artifactId>
>>> -        <version>6</version>
>>> +        <version>7-SNAPSHOT</version>
>>>     </parent>
>>>        <groupId>org.glassfish</groupId>
>>> @@ -373,9 +373,11 @@
>>>             </modules>
>>>         </profile>
>>>     </profiles>
>>> -
>>> +<!--
>>>     <repositories>
>>> +-->
>>>         <!-- first hits nexus repo for any artifact request, then
>>> falls to the next repo in the list / order -->
>>> +<!--
>>>         <repository>
>>>             <id>glassfish-repo-archive</id>
>>>             <name>Nexus repository collection for Glassfish</name>
>>> @@ -384,7 +386,9 @@
>>>                 <updatePolicy>never</updatePolicy>
>>>             </snapshots>
>>>         </repository>
>>> +
>>>     </repositories>
>>> +-->
>>>
>>>     <build>
>>>         <defaultGoal>install</defaultGoal>
>>>
>>> 5. compile v3
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is a profile: -Prepo.  Maybe we're talking about separate things.  
Please clarify.

Sahoo wrote:

> Is that better than having a profile?
>
> Jane Young wrote:
>> See the "BETTER WORKAROUND".  There is a mirror element in
>> settings.xml  that overrides the Nexus.
>>
>> Sahoo wrote:
>>> Jane,
>>>
>>> Thanks for the information. Should we not have a profile that
>>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> Jane Young wrote:
>>>> The workaround is to remove the references to Nexus server and
>>>> replace it with Maven repositories.  This workaround works for
>>>> existing and clean local Maven repository
>>>>
>>>> 1. Checkout master-pom:
>>>> svn checkout
>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>>
>>>> 2. comment out references to Nexus server:
>>>> http://maven.glassfish.org and add references to the following
>>>> repositories (see diffs below):
>>>>
>>>> Index: pom.xml
>>>> ===================================================================
>>>> --- pom.xml     (revision 31221)
>>>> +++ pom.xml     (working copy)
>>>> @@ -85,6 +85,7 @@
>>>>
>>>>     <repositories>
>>>>         <!-- first hits nexus repo for any artifact request, then
>>>> falls to the next repo in the list / order -->
>>>> +<!--
>>>>         <repository>
>>>>             <id>glassfish-repo-archive</id>
>>>>             <name>Nexus repository collection for Glassfish</name>
>>>> @@ -93,10 +94,43 @@
>>>>                 <updatePolicy>never</updatePolicy>
>>>>             </snapshots>
>>>>         </repository>
>>>> +-->
>>>> +       <repository>
>>>> +           <id>repo1</id>
>>>> +           <name>repo1</name>
>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>> +           <layout>default</layout>
>>>> +       </repository>
>>>> +       <repository>
>>>> +           <id>repo2</id>
>>>> +           <name>repo2</name>
>>>> +           <url>http://download.java.net/maven/2/</url>
>>>> +           <layout>default</layout>
>>>> +       </repository>
>>>> +       <repository>
>>>> +           <id>repo3</id>
>>>> +           <name>repo3</name>
>>>> +           <url>http://download.java.net/maven/1/</url>
>>>> +           <layout>legacy</layout>
>>>> +       </repository>
>>>> +       <repository>
>>>> +           <id>repo4</id>
>>>> +           <name>repo4</name>
>>>> +          
>>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>>> +           <layout>default</layout>
>>>> +       </repository>
>>>> +       <repository>
>>>> +           <id>repo5</id>
>>>> +           <name>repo5</name>
>>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>>> +           <layout>default</layout>
>>>> +       </repository>
>>>> +
>>>>     </repositories>
>>>>  
>>>>     <pluginRepositories>
>>>>         <!-- first hits nexus repo for any artifact request, then
>>>> falls to the next repo in the list / order -->
>>>> +<!--
>>>>         <pluginRepository>
>>>>             <id>glassfish-repo-archive</id>
>>>>             <name>Nexus repository collection for Glassfish</name>
>>>> @@ -105,6 +139,20 @@
>>>>                 <updatePolicy>never</updatePolicy>
>>>>             </snapshots>
>>>>         </pluginRepository>
>>>> +-->
>>>> +       <pluginRepository>
>>>> +           <id>repo1</id>
>>>> +           <name>repo1</name>
>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>> +           <layout>default</layout>
>>>> +       </pluginRepository>
>>>> +       <pluginRepository>
>>>> +           <id>repo2</id>
>>>> +           <name>repo2</name>
>>>> +           <url>http://download.java.net/maven/2/</url>
>>>> +           <layout>default</layout>
>>>> +       </pluginRepository>
>>>> +
>>>>     </pluginRepositories>
>>>>        <distributionManagement>
>>>>
>>>>
>>>> I have also attached a copy of the master-pom/pom.xml
>>>>
>>>> 3.  compile master-pom.xml: "mvn install"
>>>>
>>>> 4.  in v3/pom.xml update the version of the master-pom to
>>>> "7-SNAPSHOT" and remove reference to Nexus server
>>>> (maven.glassfish.org):
>>>> Index: pom.xml
>>>> ===================================================================
>>>> --- pom.xml     (revision 31218)
>>>> +++ pom.xml     (working copy)
>>>> @@ -42,7 +42,7 @@
>>>>     <parent>
>>>>         <groupId>org.glassfish</groupId>
>>>>         <artifactId>pom</artifactId>
>>>> -        <version>6</version>
>>>> +        <version>7-SNAPSHOT</version>
>>>>     </parent>
>>>>        <groupId>org.glassfish</groupId>
>>>> @@ -373,9 +373,11 @@
>>>>             </modules>
>>>>         </profile>
>>>>     </profiles>
>>>> -
>>>> +<!--
>>>>     <repositories>
>>>> +-->
>>>>         <!-- first hits nexus repo for any artifact request, then
>>>> falls to the next repo in the list / order -->
>>>> +<!--
>>>>         <repository>
>>>>             <id>glassfish-repo-archive</id>
>>>>             <name>Nexus repository collection for Glassfish</name>
>>>> @@ -384,7 +386,9 @@
>>>>                 <updatePolicy>never</updatePolicy>
>>>>             </snapshots>
>>>>         </repository>
>>>> +
>>>>     </repositories>
>>>> +-->
>>>>
>>>>     <build>
>>>>         <defaultGoal>install</defaultGoal>
>>>>
>>>> 5. compile v3
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So, if I run with -Prepo option, will maven bypass nexus even I don't
make any change to settings.xml? If yes, then I was looking for that
profile. Then, as a work around, people can run "mvn -Prepo install." If
no, then you know what I am looking for.

Thanks,
Sahoo

Jane Young wrote:

> There is a profile: -Prepo.  Maybe we're talking about separate
> things.  Please clarify.
> Sahoo wrote:
>> Is that better than having a profile?
>>
>> Jane Young wrote:
>>> See the "BETTER WORKAROUND".  There is a mirror element in
>>> settings.xml  that overrides the Nexus.
>>>
>>> Sahoo wrote:
>>>> Jane,
>>>>
>>>> Thanks for the information. Should we not have a profile that
>>>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Jane Young wrote:
>>>>> The workaround is to remove the references to Nexus server and
>>>>> replace it with Maven repositories.  This workaround works for
>>>>> existing and clean local Maven repository
>>>>>
>>>>> 1. Checkout master-pom:
>>>>> svn checkout
>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>>>
>>>>> 2. comment out references to Nexus server:
>>>>> http://maven.glassfish.org and add references to the following
>>>>> repositories (see diffs below):
>>>>>
>>>>> Index: pom.xml
>>>>> ===================================================================
>>>>> --- pom.xml     (revision 31221)
>>>>> +++ pom.xml     (working copy)
>>>>> @@ -85,6 +85,7 @@
>>>>>
>>>>>     <repositories>
>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>> falls to the next repo in the list / order -->
>>>>> +<!--
>>>>>         <repository>
>>>>>             <id>glassfish-repo-archive</id>
>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>> @@ -93,10 +94,43 @@
>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>             </snapshots>
>>>>>         </repository>
>>>>> +-->
>>>>> +       <repository>
>>>>> +           <id>repo1</id>
>>>>> +           <name>repo1</name>
>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </repository>
>>>>> +       <repository>
>>>>> +           <id>repo2</id>
>>>>> +           <name>repo2</name>
>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </repository>
>>>>> +       <repository>
>>>>> +           <id>repo3</id>
>>>>> +           <name>repo3</name>
>>>>> +           <url>http://download.java.net/maven/1/</url>
>>>>> +           <layout>legacy</layout>
>>>>> +       </repository>
>>>>> +       <repository>
>>>>> +           <id>repo4</id>
>>>>> +           <name>repo4</name>
>>>>> +          
>>>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </repository>
>>>>> +       <repository>
>>>>> +           <id>repo5</id>
>>>>> +           <name>repo5</name>
>>>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </repository>
>>>>> +
>>>>>     </repositories>
>>>>>  
>>>>>     <pluginRepositories>
>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>> falls to the next repo in the list / order -->
>>>>> +<!--
>>>>>         <pluginRepository>
>>>>>             <id>glassfish-repo-archive</id>
>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>> @@ -105,6 +139,20 @@
>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>             </snapshots>
>>>>>         </pluginRepository>
>>>>> +-->
>>>>> +       <pluginRepository>
>>>>> +           <id>repo1</id>
>>>>> +           <name>repo1</name>
>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </pluginRepository>
>>>>> +       <pluginRepository>
>>>>> +           <id>repo2</id>
>>>>> +           <name>repo2</name>
>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>> +           <layout>default</layout>
>>>>> +       </pluginRepository>
>>>>> +
>>>>>     </pluginRepositories>
>>>>>        <distributionManagement>
>>>>>
>>>>>
>>>>> I have also attached a copy of the master-pom/pom.xml
>>>>>
>>>>> 3.  compile master-pom.xml: "mvn install"
>>>>>
>>>>> 4.  in v3/pom.xml update the version of the master-pom to
>>>>> "7-SNAPSHOT" and remove reference to Nexus server
>>>>> (maven.glassfish.org):
>>>>> Index: pom.xml
>>>>> ===================================================================
>>>>> --- pom.xml     (revision 31218)
>>>>> +++ pom.xml     (working copy)
>>>>> @@ -42,7 +42,7 @@
>>>>>     <parent>
>>>>>         <groupId>org.glassfish</groupId>
>>>>>         <artifactId>pom</artifactId>
>>>>> -        <version>6</version>
>>>>> +        <version>7-SNAPSHOT</version>
>>>>>     </parent>
>>>>>        <groupId>org.glassfish</groupId>
>>>>> @@ -373,9 +373,11 @@
>>>>>             </modules>
>>>>>         </profile>
>>>>>     </profiles>
>>>>> -
>>>>> +<!--
>>>>>     <repositories>
>>>>> +-->
>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>> falls to the next repo in the list / order -->
>>>>> +<!--
>>>>>         <repository>
>>>>>             <id>glassfish-repo-archive</id>
>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>> @@ -384,7 +386,9 @@
>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>             </snapshots>
>>>>>         </repository>
>>>>> +
>>>>>     </repositories>
>>>>> +-->
>>>>>
>>>>>     <build>
>>>>>         <defaultGoal>install</defaultGoal>
>>>>>
>>>>> 5. compile v3
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's correct.   If you use -Prepo option, maven will bypass Nexus and
you don't need to make any changes to settings.xml or pom files.

Sahoo wrote:

> So, if I run with -Prepo option, will maven bypass nexus even I don't
> make any change to settings.xml? If yes, then I was looking for that
> profile. Then, as a work around, people can run "mvn -Prepo install."
> If no, then you know what I am looking for.
>
> Thanks,
> Sahoo
>
> Jane Young wrote:
>> There is a profile: -Prepo.  Maybe we're talking about separate
>> things.  Please clarify.
>> Sahoo wrote:
>>> Is that better than having a profile?
>>>
>>> Jane Young wrote:
>>>> See the "BETTER WORKAROUND".  There is a mirror element in
>>>> settings.xml  that overrides the Nexus.
>>>>
>>>> Sahoo wrote:
>>>>> Jane,
>>>>>
>>>>> Thanks for the information. Should we not have a profile that
>>>>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>>>>
>>>>> Thanks,
>>>>> Sahoo
>>>>>
>>>>> Jane Young wrote:
>>>>>> The workaround is to remove the references to Nexus server and
>>>>>> replace it with Maven repositories.  This workaround works for
>>>>>> existing and clean local Maven repository
>>>>>>
>>>>>> 1. Checkout master-pom:
>>>>>> svn checkout
>>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>>>>
>>>>>> 2. comment out references to Nexus server:
>>>>>> http://maven.glassfish.org and add references to the following
>>>>>> repositories (see diffs below):
>>>>>>
>>>>>> Index: pom.xml
>>>>>> ===================================================================
>>>>>> --- pom.xml     (revision 31221)
>>>>>> +++ pom.xml     (working copy)
>>>>>> @@ -85,6 +85,7 @@
>>>>>>
>>>>>>     <repositories>
>>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>>> falls to the next repo in the list / order -->
>>>>>> +<!--
>>>>>>         <repository>
>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>> @@ -93,10 +94,43 @@
>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>             </snapshots>
>>>>>>         </repository>
>>>>>> +-->
>>>>>> +       <repository>
>>>>>> +           <id>repo1</id>
>>>>>> +           <name>repo1</name>
>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </repository>
>>>>>> +       <repository>
>>>>>> +           <id>repo2</id>
>>>>>> +           <name>repo2</name>
>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </repository>
>>>>>> +       <repository>
>>>>>> +           <id>repo3</id>
>>>>>> +           <name>repo3</name>
>>>>>> +           <url>http://download.java.net/maven/1/</url>
>>>>>> +           <layout>legacy</layout>
>>>>>> +       </repository>
>>>>>> +       <repository>
>>>>>> +           <id>repo4</id>
>>>>>> +           <name>repo4</name>
>>>>>> +          
>>>>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </repository>
>>>>>> +       <repository>
>>>>>> +           <id>repo5</id>
>>>>>> +           <name>repo5</name>
>>>>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </repository>
>>>>>> +
>>>>>>     </repositories>
>>>>>>  
>>>>>>     <pluginRepositories>
>>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>>> falls to the next repo in the list / order -->
>>>>>> +<!--
>>>>>>         <pluginRepository>
>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>> @@ -105,6 +139,20 @@
>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>             </snapshots>
>>>>>>         </pluginRepository>
>>>>>> +-->
>>>>>> +       <pluginRepository>
>>>>>> +           <id>repo1</id>
>>>>>> +           <name>repo1</name>
>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </pluginRepository>
>>>>>> +       <pluginRepository>
>>>>>> +           <id>repo2</id>
>>>>>> +           <name>repo2</name>
>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>> +           <layout>default</layout>
>>>>>> +       </pluginRepository>
>>>>>> +
>>>>>>     </pluginRepositories>
>>>>>>        <distributionManagement>
>>>>>>
>>>>>>
>>>>>> I have also attached a copy of the master-pom/pom.xml
>>>>>>
>>>>>> 3.  compile master-pom.xml: "mvn install"
>>>>>>
>>>>>> 4.  in v3/pom.xml update the version of the master-pom to
>>>>>> "7-SNAPSHOT" and remove reference to Nexus server
>>>>>> (maven.glassfish.org):
>>>>>> Index: pom.xml
>>>>>> ===================================================================
>>>>>> --- pom.xml     (revision 31218)
>>>>>> +++ pom.xml     (working copy)
>>>>>> @@ -42,7 +42,7 @@
>>>>>>     <parent>
>>>>>>         <groupId>org.glassfish</groupId>
>>>>>>         <artifactId>pom</artifactId>
>>>>>> -        <version>6</version>
>>>>>> +        <version>7-SNAPSHOT</version>
>>>>>>     </parent>
>>>>>>        <groupId>org.glassfish</groupId>
>>>>>> @@ -373,9 +373,11 @@
>>>>>>             </modules>
>>>>>>         </profile>
>>>>>>     </profiles>
>>>>>> -
>>>>>> +<!--
>>>>>>     <repositories>
>>>>>> +-->
>>>>>>         <!-- first hits nexus repo for any artifact request, then
>>>>>> falls to the next repo in the list / order -->
>>>>>> +<!--
>>>>>>         <repository>
>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>> @@ -384,7 +386,9 @@
>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>             </snapshots>
>>>>>>         </repository>
>>>>>> +
>>>>>>     </repositories>
>>>>>> +-->
>>>>>>
>>>>>>     <build>
>>>>>>         <defaultGoal>install</defaultGoal>
>>>>>>
>>>>>> 5. compile v3
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>>> For additional commands, e-mail: dev-help@...
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>> For additional commands, e-mail: dev-help@...
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perfect. We should add it to our Wiki as a work around when nexus is down.

Thanks,
Sahoo

Jane Young wrote:

> That's correct.   If you use -Prepo option, maven will bypass Nexus
> and you don't need to make any changes to settings.xml or pom files.
>
> Sahoo wrote:
>> So, if I run with -Prepo option, will maven bypass nexus even I don't
>> make any change to settings.xml? If yes, then I was looking for that
>> profile. Then, as a work around, people can run "mvn -Prepo install."
>> If no, then you know what I am looking for.
>>
>> Thanks,
>> Sahoo
>>
>> Jane Young wrote:
>>> There is a profile: -Prepo.  Maybe we're talking about separate
>>> things.  Please clarify.
>>> Sahoo wrote:
>>>> Is that better than having a profile?
>>>>
>>>> Jane Young wrote:
>>>>> See the "BETTER WORKAROUND".  There is a mirror element in
>>>>> settings.xml  that overrides the Nexus.
>>>>>
>>>>> Sahoo wrote:
>>>>>> Jane,
>>>>>>
>>>>>> Thanks for the information. Should we not have a profile that
>>>>>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>>>>>
>>>>>> Thanks,
>>>>>> Sahoo
>>>>>>
>>>>>> Jane Young wrote:
>>>>>>> The workaround is to remove the references to Nexus server and
>>>>>>> replace it with Maven repositories.  This workaround works for
>>>>>>> existing and clean local Maven repository
>>>>>>>
>>>>>>> 1. Checkout master-pom:
>>>>>>> svn checkout
>>>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>>>>>
>>>>>>> 2. comment out references to Nexus server:
>>>>>>> http://maven.glassfish.org and add references to the following
>>>>>>> repositories (see diffs below):
>>>>>>>
>>>>>>> Index: pom.xml
>>>>>>> ===================================================================
>>>>>>> --- pom.xml     (revision 31221)
>>>>>>> +++ pom.xml     (working copy)
>>>>>>> @@ -85,6 +85,7 @@
>>>>>>>
>>>>>>>     <repositories>
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <repository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -93,10 +94,43 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </repository>
>>>>>>> +-->
>>>>>>> +       <repository>
>>>>>>> +           <id>repo1</id>
>>>>>>> +           <name>repo1</name>
>>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo2</id>
>>>>>>> +           <name>repo2</name>
>>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo3</id>
>>>>>>> +           <name>repo3</name>
>>>>>>> +           <url>http://download.java.net/maven/1/</url>
>>>>>>> +           <layout>legacy</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo4</id>
>>>>>>> +           <name>repo4</name>
>>>>>>> +          
>>>>>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo5</id>
>>>>>>> +           <name>repo5</name>
>>>>>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +
>>>>>>>     </repositories>
>>>>>>>  
>>>>>>>     <pluginRepositories>
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <pluginRepository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -105,6 +139,20 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </pluginRepository>
>>>>>>> +-->
>>>>>>> +       <pluginRepository>
>>>>>>> +           <id>repo1</id>
>>>>>>> +           <name>repo1</name>
>>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </pluginRepository>
>>>>>>> +       <pluginRepository>
>>>>>>> +           <id>repo2</id>
>>>>>>> +           <name>repo2</name>
>>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </pluginRepository>
>>>>>>> +
>>>>>>>     </pluginRepositories>
>>>>>>>        <distributionManagement>
>>>>>>>
>>>>>>>
>>>>>>> I have also attached a copy of the master-pom/pom.xml
>>>>>>>
>>>>>>> 3.  compile master-pom.xml: "mvn install"
>>>>>>>
>>>>>>> 4.  in v3/pom.xml update the version of the master-pom to
>>>>>>> "7-SNAPSHOT" and remove reference to Nexus server
>>>>>>> (maven.glassfish.org):
>>>>>>> Index: pom.xml
>>>>>>> ===================================================================
>>>>>>> --- pom.xml     (revision 31218)
>>>>>>> +++ pom.xml     (working copy)
>>>>>>> @@ -42,7 +42,7 @@
>>>>>>>     <parent>
>>>>>>>         <groupId>org.glassfish</groupId>
>>>>>>>         <artifactId>pom</artifactId>
>>>>>>> -        <version>6</version>
>>>>>>> +        <version>7-SNAPSHOT</version>
>>>>>>>     </parent>
>>>>>>>        <groupId>org.glassfish</groupId>
>>>>>>> @@ -373,9 +373,11 @@
>>>>>>>             </modules>
>>>>>>>         </profile>
>>>>>>>     </profiles>
>>>>>>> -
>>>>>>> +<!--
>>>>>>>     <repositories>
>>>>>>> +-->
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <repository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -384,7 +386,9 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </repository>
>>>>>>> +
>>>>>>>     </repositories>
>>>>>>> +-->
>>>>>>>
>>>>>>>     <build>
>>>>>>>         <defaultGoal>install</defaultGoal>
>>>>>>>
>>>>>>> 5. compile v3
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>>>> For additional commands, e-mail: dev-help@...
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>>> For additional commands, e-mail: dev-help@...
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>> For additional commands, e-mail: dev-help@...
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Kedar Mhaswade :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sahoo wrote:
> Perfect. We should add it to our Wiki as a work around when nexus is down.
Done:
http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Kedar!
I've updated the instructions and also provided a link from the GFv3
wiki page:  http://wiki.glassfish.java.net/Wiki.jsp?page=PlanForGlassFishV3.

Jane



Kedar Mhaswade wrote:

> Sahoo wrote:
>> Perfect. We should add it to our Wiki as a work around when nexus is
>> down.
> Done:
> http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jane,

Where is thie repo profile defined? I don't see it in v3 pom.xml nor in
master pom.

Thanks,
Sahoo

Jane Young wrote:

> That's correct.   If you use -Prepo option, maven will bypass Nexus
> and you don't need to make any changes to settings.xml or pom files.
>
> Sahoo wrote:
>> So, if I run with -Prepo option, will maven bypass nexus even I don't
>> make any change to settings.xml? If yes, then I was looking for that
>> profile. Then, as a work around, people can run "mvn -Prepo install."
>> If no, then you know what I am looking for.
>>
>> Thanks,
>> Sahoo
>>
>> Jane Young wrote:
>>> There is a profile: -Prepo.  Maybe we're talking about separate
>>> things.  Please clarify.
>>> Sahoo wrote:
>>>> Is that better than having a profile?
>>>>
>>>> Jane Young wrote:
>>>>> See the "BETTER WORKAROUND".  There is a mirror element in
>>>>> settings.xml  that overrides the Nexus.
>>>>>
>>>>> Sahoo wrote:
>>>>>> Jane,
>>>>>>
>>>>>> Thanks for the information. Should we not have a profile that
>>>>>> bypasses nexus? That way, we don't have to edit the pom.xml.
>>>>>>
>>>>>> Thanks,
>>>>>> Sahoo
>>>>>>
>>>>>> Jane Young wrote:
>>>>>>> The workaround is to remove the references to Nexus server and
>>>>>>> replace it with Maven repositories.  This workaround works for
>>>>>>> existing and clean local Maven repository
>>>>>>>
>>>>>>> 1. Checkout master-pom:
>>>>>>> svn checkout
>>>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/master-pom
>>>>>>>
>>>>>>> 2. comment out references to Nexus server:
>>>>>>> http://maven.glassfish.org and add references to the following
>>>>>>> repositories (see diffs below):
>>>>>>>
>>>>>>> Index: pom.xml
>>>>>>> ===================================================================
>>>>>>> --- pom.xml     (revision 31221)
>>>>>>> +++ pom.xml     (working copy)
>>>>>>> @@ -85,6 +85,7 @@
>>>>>>>
>>>>>>>     <repositories>
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <repository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -93,10 +94,43 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </repository>
>>>>>>> +-->
>>>>>>> +       <repository>
>>>>>>> +           <id>repo1</id>
>>>>>>> +           <name>repo1</name>
>>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo2</id>
>>>>>>> +           <name>repo2</name>
>>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo3</id>
>>>>>>> +           <name>repo3</name>
>>>>>>> +           <url>http://download.java.net/maven/1/</url>
>>>>>>> +           <layout>legacy</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo4</id>
>>>>>>> +           <name>repo4</name>
>>>>>>> +          
>>>>>>> <url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +       <repository>
>>>>>>> +           <id>repo5</id>
>>>>>>> +           <name>repo5</name>
>>>>>>> +           <url>http://deadlock.netbeans.org/maven2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </repository>
>>>>>>> +
>>>>>>>     </repositories>
>>>>>>>  
>>>>>>>     <pluginRepositories>
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <pluginRepository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -105,6 +139,20 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </pluginRepository>
>>>>>>> +-->
>>>>>>> +       <pluginRepository>
>>>>>>> +           <id>repo1</id>
>>>>>>> +           <name>repo1</name>
>>>>>>> +           <url>http://download.java.net/maven/glassfish/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </pluginRepository>
>>>>>>> +       <pluginRepository>
>>>>>>> +           <id>repo2</id>
>>>>>>> +           <name>repo2</name>
>>>>>>> +           <url>http://download.java.net/maven/2/</url>
>>>>>>> +           <layout>default</layout>
>>>>>>> +       </pluginRepository>
>>>>>>> +
>>>>>>>     </pluginRepositories>
>>>>>>>        <distributionManagement>
>>>>>>>
>>>>>>>
>>>>>>> I have also attached a copy of the master-pom/pom.xml
>>>>>>>
>>>>>>> 3.  compile master-pom.xml: "mvn install"
>>>>>>>
>>>>>>> 4.  in v3/pom.xml update the version of the master-pom to
>>>>>>> "7-SNAPSHOT" and remove reference to Nexus server
>>>>>>> (maven.glassfish.org):
>>>>>>> Index: pom.xml
>>>>>>> ===================================================================
>>>>>>> --- pom.xml     (revision 31218)
>>>>>>> +++ pom.xml     (working copy)
>>>>>>> @@ -42,7 +42,7 @@
>>>>>>>     <parent>
>>>>>>>         <groupId>org.glassfish</groupId>
>>>>>>>         <artifactId>pom</artifactId>
>>>>>>> -        <version>6</version>
>>>>>>> +        <version>7-SNAPSHOT</version>
>>>>>>>     </parent>
>>>>>>>        <groupId>org.glassfish</groupId>
>>>>>>> @@ -373,9 +373,11 @@
>>>>>>>             </modules>
>>>>>>>         </profile>
>>>>>>>     </profiles>
>>>>>>> -
>>>>>>> +<!--
>>>>>>>     <repositories>
>>>>>>> +-->
>>>>>>>         <!-- first hits nexus repo for any artifact request,
>>>>>>> then falls to the next repo in the list / order -->
>>>>>>> +<!--
>>>>>>>         <repository>
>>>>>>>             <id>glassfish-repo-archive</id>
>>>>>>>             <name>Nexus repository collection for Glassfish</name>
>>>>>>> @@ -384,7 +386,9 @@
>>>>>>>                 <updatePolicy>never</updatePolicy>
>>>>>>>             </snapshots>
>>>>>>>         </repository>
>>>>>>> +
>>>>>>>     </repositories>
>>>>>>> +-->
>>>>>>>
>>>>>>>     <build>
>>>>>>>         <defaultGoal>install</defaultGoal>
>>>>>>>
>>>>>>> 5. compile v3
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>>>> For additional commands, e-mail: dev-help@...
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>>> For additional commands, e-mail: dev-help@...
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>>> For additional commands, e-mail: dev-help@...
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You are looking at the wrong workaround.  Please see:
http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus
The profile is defined in the settings.xml.

Also, if you're in SWAN (behind Sun firewall), you can also reference
the internal Nexus server with the following profile:

"mvn -Pinternal-repo,default clean install"

This profile is defined in v3/pom.xml.

Thanks,
Jane





Sahoo wrote:

> Jane,
>
> Where is thie repo profile defined? I don't see it in v3 pom.xml nor
> in master pom.
>
> Thanks,
> Sahoo
>
> Jane Young wrote:
>> That's correct.   If you use -Prepo option, maven will bypass Nexus
>> and you don't need to make any changes to settings.xml or pom files.
>>
>> Sahoo wrote:
>>> So, if I run with -Prepo option, will maven bypass nexus even I
>>> don't make any change to settings.xml? If yes, then I was looking
>>> for that profile. Then, as a work around, people can run "mvn -Prepo
>>> install." If no, then you know what I am looking for.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> Jane Young wrote:


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jane,

Why do we need a special settings.xml? Can't we have the profile defined
in v3/pom.xml with appropriate repository list just like we have done
for internal-repo profile?

Thanks,
Sahoo

Jane Young wrote:

> You are looking at the wrong workaround.  Please see:
> http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus
> The profile is defined in the settings.xml.
>
> Also, if you're in SWAN (behind Sun firewall), you can also reference
> the internal Nexus server with the following profile:
>
> "mvn -Pinternal-repo,default clean install"
>
> This profile is defined in v3/pom.xml.
>
> Thanks,
> Jane
>
>
>
>
>
> Sahoo wrote:
>> Jane,
>>
>> Where is thie repo profile defined? I don't see it in v3 pom.xml nor
>> in master pom.
>>
>> Thanks,
>> Sahoo
>>
>> Jane Young wrote:
>>> That's correct.   If you use -Prepo option, maven will bypass Nexus
>>> and you don't need to make any changes to settings.xml or pom files.
>>>
>>> Sahoo wrote:
>>>> So, if I run with -Prepo option, will maven bypass nexus even I
>>>> don't make any change to settings.xml? If yes, then I was looking
>>>> for that profile. Then, as a work around, people can run "mvn
>>>> -Prepo install." If no, then you know what I am looking for.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Jane Young wrote:
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [v3] WORKAROUND for building v3

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, I will add the settings.xml in v3/pom.xml.

Thanks,
Jane


Sahoo wrote:

> Jane,
>
> Why do we need a special settings.xml? Can't we have the profile
> defined in v3/pom.xml with appropriate repository list just like we
> have done for internal-repo profile?
>
> Thanks,
> Sahoo
>
> Jane Young wrote:
>> You are looking at the wrong workaround.  Please see:
>> http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus
>> The profile is defined in the settings.xml.
>>
>> Also, if you're in SWAN (behind Sun firewall), you can also reference
>> the internal Nexus server with the following profile:
>>
>> "mvn -Pinternal-repo,default clean install"
>>
>> This profile is defined in v3/pom.xml.
>>
>> Thanks,
>> Jane
>>
>>
>>
>>
>>
>> Sahoo wrote:
>>> Jane,
>>>
>>> Where is thie repo profile defined? I don't see it in v3 pom.xml nor
>>> in master pom.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> Jane Young wrote:
>>>> That's correct.   If you use -Prepo option, maven will bypass Nexus
>>>> and you don't need to make any changes to settings.xml or pom files.
>>>>
>>>> Sahoo wrote:
>>>>> So, if I run with -Prepo option, will maven bypass nexus even I
>>>>> don't make any change to settings.xml? If yes, then I was looking
>>>>> for that profile. Then, as a work around, people can run "mvn
>>>>> -Prepo install." If no, then you know what I am looking for.
>>>>>
>>>>> Thanks,
>>>>> Sahoo
>>>>>
>>>>> Jane Young wrote:
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


pom.xml changes for JSP integration

by jluehe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI.

Jan

Index: pom.xml
===================================================================
--- pom.xml     (revision 33669)
+++ pom.xml     (working copy)
@@ -90,8 +90,8 @@
         <mail.version>1.4.2</mail.version>
         <management-api.version>1.1-rev-1</management-api.version>
         <jms-api.version>1.1-rev-1</jms-api.version>
-        <jsp-api.version>2.1.3-b05</jsp-api.version>
-        <jsp-impl.version>2.1.3-b18</jsp-impl.version>
+        <jsp-api.version>2.1.3-b06</jsp-api.version>
+        <jsp-impl.version>2.1.3-b19</jsp-impl.version>
         <el-api.version>2.1.2-b05</el-api.version>
         <el-impl.version>2.1.2-b05</el-impl.version>
         <jstl-impl.version>1.2</jstl-impl.version>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: pom.xml changes for JSP integration

by Jane Young-Lau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks fine.  Thanks.

Jan Luehe wrote:

> FYI.
>
> Jan
>
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 33669)
> +++ pom.xml     (working copy)
> @@ -90,8 +90,8 @@
>         <mail.version>1.4.2</mail.version>
>         <management-api.version>1.1-rev-1</management-api.version>
>         <jms-api.version>1.1-rev-1</jms-api.version>
> -        <jsp-api.version>2.1.3-b05</jsp-api.version>
> -        <jsp-impl.version>2.1.3-b18</jsp-impl.version>
> +        <jsp-api.version>2.1.3-b06</jsp-api.version>
> +        <jsp-impl.version>2.1.3-b19</jsp-impl.version>
>         <el-api.version>2.1.2-b05</el-api.version>
>         <el-impl.version>2.1.2-b05</el-impl.version>
>         <jstl-impl.version>1.2</jstl-impl.version>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...