You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2011/08/05 20:22:50 UTC

svn commit: r1154335 - /maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java

Author: rfscholte
Date: Fri Aug  5 18:22:49 2011
New Revision: 1154335

URL: http://svn.apache.org/viewvc?rev=1154335&view=rev
Log:
Make xml inside javadoc easier to read

Modified:
    maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java?rev=1154335&r1=1154334&r2=1154335&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java Fri Aug  5 18:22:49 2011
@@ -536,15 +536,32 @@ public class EclipsePlugin
     private List sourceIncludes;
 
     /**
-     * A list of links to local files in the system. A configuration like this one in the pom : <plugin>
-     * <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId>
-     * <configuration> <linkedResources> <linkedResource>
-     * <name>src/test/resources/oracle-ds.xml</name> <type>1</type>
-     * <location>C://jboss/server/default/deploy/oracle-ds.xml</location> </linkedResource>
-     * </linkedResources> </configuration> </plugin> will produce in the .project :
-     * <linkedResources> <link> <name>src/test/resources/oracle-ds.xml</name>
-     * <type>1</type> <location>C://jboss/server/default/deploy/oracle-ds.xml</location>
-     * </link> </linkedResources>
+     * A list of links to local files in the system. A configuration like this one in the pom : 
+     * <pre>
+     * &lt;plugin&gt;
+     *   &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+     *   &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
+     *   &lt;configuration&gt; 
+     *     &lt;linkedResources&gt; 
+     *       &lt;linkedResource&gt;
+     *         &lt;name&gt;src/test/resources/oracle-ds.xml&lt;/name&gt;
+     *         &lt;type&gt;1&lt;/type&gt;
+     *         &lt;location&gt;C://jboss/server/default/deploy/oracle-ds.xml&lt;/location&gt; 
+     *       &lt;/linkedResource&gt;
+     *     &lt;/linkedResources&gt; 
+     *   &lt;/configuration&gt; 
+     * &lt;/plugin&gt;
+     * </pre>
+     * will produce in the .project :
+     * <pre>
+     * &lt;linkedResources&gt;
+     *   &lt;link&gt;
+     *     &lt;name&gt;src/test/resources/oracle-ds.xml&lt;/name&gt;
+     *     &lt;type&gt;1&lt;/type&gt; 
+     *     &lt;location&gt;C://jboss/server/default/deploy/oracle-ds.xml&lt;/location&gt;
+     *   &lt;/link&gt;
+     * &lt;/linkedResources&gt;
+     * </pre>
      * 
      * @since 2.8
      * @parameter