------ Usage ------ Edwin Punzalan ------ 05 July 2006 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you 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. Usage * Generating the IntelliJ IDEA project files To generate the files needed for an IntelliJ IDEA Project setup, you only need to execute the main plugin goal, which is <<>> like so: +----- mvn idea:idea +----- The above command will execute the other three goals needed to setup your project for IntelliJ IDEA: <<>>, <<>>, and <<>>. Please note that this plugin has no way to determine the name of the JDK you are using. By default, this uses the JDK name equivalent to <<>> in your machine. If you know the name of the JDK to use, for example, 1.5, you can then execute: +----- mvn idea:idea -DjdkName=1.5 +----- * Deleting IDEA project files To delete the project files used by IntelliJ IDEA, you can execute the command below: +----- mvn idea:clean +----- * Creating the IDEA project files separately If, for some reason, you want to create just one of the <<>>, <<>>, or <<>> files, you can still do it. To generate just the <<>> file, use: +----- mvn idea:project +----- To generate just the <<>> files, use: +----- mvn idea:module +----- To generate just the <<>> file, use: +----- mvn idea:workspace +-----