Author: veithen
Date: Tue Nov  1 13:04:22 2011
New Revision: 1195972

URL: http://svn.apache.org/viewvc?rev=1195972&view=rev
Log:
Updated the instructions for importing the Axis2 source code into Eclipse, 
taking into account Maven 3.

Modified:
    axis/axis2/java/core/trunk/src/site/xdoc/svn.xml

Modified: axis/axis2/java/core/trunk/src/site/xdoc/svn.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/src/site/xdoc/svn.xml?rev=1195972&r1=1195971&r2=1195972&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/src/site/xdoc/svn.xml (original)
+++ axis/axis2/java/core/trunk/src/site/xdoc/svn.xml Tue Nov  1 13:04:22 2011
@@ -123,7 +123,7 @@
                         in multi-module builds. While this has no impact on 
the normal Maven
                         build, it prevents the Maven Eclipse plugin from 
identifying modules
                         with these packagings as Java projects. Therefore it 
is recommended
-                        to use Maven 2.2.x to execute the Maven Eclipse plugin.
+                        to use Maven 2.2.x or 3.0.x to execute the Maven 
Eclipse plugin.
                     </li>
                     <li>
                         By default, the Maven Eclipse plugin only imports 
generated sources
@@ -132,20 +132,20 @@
                         are generated during the 
<tt>generate-test-sources</tt> and
                         <tt>generate-test-resources</tt> phases. This is due 
to a limitation in Maven 2 (see
                         <a 
href="http://jira.codehaus.org/browse/MECLIPSE-37";>MECLIPSE-37</a>
-                        for more information). Therefore it is recommended to 
execute the
-                        <tt>eclipse:eclipse</tt> goal after the 
<tt>process-test-resources</tt>
-                        phase.
-                    </li>
-                    <li>
-                        There is a bug in the Maven Eclipse plugin version 2.8 
that causes
-                        it to fail on the Axis2 sources. However, version 2.7 
is known to work.
+                        for more information). Executing the 
<tt>eclipse:eclipse</tt> goal after
+                        the <tt>process-test-resources</tt> phase is also not 
enough because of
+                        <a 
href="http://jira.codehaus.org/browse/MDEP-259";>MDEP-259</a>. The
+                        best is to execute it after the <tt>install</tt> 
phase. The <tt>skipTests</tt>
+                        property can be used to skip the execution of the unit 
tests (<tt>maven.test.skip</tt>
+                        is not appropriate here because it also skips some of 
the goals configured
+                        in the <tt>generate-test-sources</tt> and 
<tt>generate-test-resources</tt> phases).
                     </li>
                 </ul>
                 <p>
                     To summarize, use the following command to prepare the 
Axis2 sources for
                     import into Eclipse:
                 </p>
-                <pre>mvn process-test-resources 
org.apache.maven.plugins:maven-eclipse-plugin:2.7:eclipse</pre>
+                <pre>mvn -DskipTests=true install eclipse:eclipse</pre>
                 <p>
                     As usual, before importing the projects into Eclipse, 
check that a Classpath Variable
                     for <tt>M2_REPO</tt> is configured in Eclipse. Then select 
File &gt; Import &gt; Existing Projects


Reply via email to