From 9a3152925927622c8f851dd7b6e49be52bf1833a Mon Sep 17 00:00:00 2001 From: fgiust Date: Sat, 5 Nov 2005 18:44:25 +0000 Subject: [PATCH] adding an "eclipse:eclipse" alias for the "eclipse" goal (same name as mvn). Reformatting the whole file - sorry for all these modifications in the diff but the formatting was wrong and manually adjusted, now the file can be formatted automatically git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@331014 13f79535-47bb-0310-9956-ffa450edef68 --- eclipse/plugin.jelly | 280 ++++++++++++++++++------------------------- 1 file changed, 117 insertions(+), 163 deletions(-) diff --git a/eclipse/plugin.jelly b/eclipse/plugin.jelly index df8a28a1..22b43712 100644 --- a/eclipse/plugin.jelly +++ b/eclipse/plugin.jelly @@ -1,183 +1,158 @@ - - - - + /* + * Copyright 2001-2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + - - - + + + - - + - + should be (m1 repo layout): + ${groupId}/java-sources/${artifactId}-${version}-sources.jar + --> - - - + + - deprecated: java sources for ${artifactId} found at MAVEN_REPO/${mappedsrc}, please use the path MAVEN_REPO/${groupId}/java-sources/${artifactId}-${version}-sources.jar + + + + ${msg} - - + + - Place java sources for ${artifactId} at ${maven.repo.local}/${mappedsrc} for javadoc and debugging support in Eclipse + + Place java sources for ${artifactId} at ${srcFile} for javadoc and debugging support in Eclipse + + ${msg} - - - - + - + - - - + - + - - - + - - + - Now refresh your project in Eclipse (right click on the project and select "Refresh") - + + + + + + + + Creating ${basedir}/.project ... - - + - - - - + Creating ${basedir}/.classpath ... - + - - - - + Creating ${basedir}/.wtpmodules ... - + - - - + + - Creating ${toolFile} - - + Adapting the generated file for a ${os} box. - - + - + - - - - + + - - + - + - + - $${project} @@ -194,72 +169,60 @@ - - + - - - Please set maven.eclipse.workspace to the location of your eclipse workspace. - Alternatively, copy - ${maven.build.dir}/eclipse/externaltools.xml - to - [maven.eclipse.workspace]/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml - + + + + ${msg} - - - - - Creating external tools - + + + Creating external tools - + Adapting the generated file for a ${os} box. - - + - + - - + - + - - - - - + + + - + - + - Generating ${fileName} - + - @@ -267,38 +230,32 @@ - - - Please set maven.eclipse.workspace to the location of your eclipse workspace. - Alternatively, copy - ${maven.build.dir}/eclipse/*.launch - to - [maven.eclipse.workspace]/.metadata/.plugins/org.eclipse.debug.core/.launches/ - + + + + ${msg} - - - - + - + - - - - + + + - + The property $${maven.eclipse.workspace} was not set. MAVEN_REPO may not be set. @@ -308,16 +265,13 @@ - - - - - - - - - + + + + + + + Cleaned up eclipse generated files