Files
maven-plugins/idea/src/plugin-resources/templates/v4/multiproject.jelly
T
brett f06309ebe9 PR: MPIDEA-25
use relative paths


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@189919 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 07:55:23 +00:00

157 lines
7.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2001-2004 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.
*/
-->
<j:whitespace xmlns:j="jelly:core" xmlns:maven="jelly:maven" xmlns="dummy" trim="true">
<project version="4" relativePaths="true">
<maven:get plugin="maven-java-plugin" property="maven.compile.source" var="jdkLevel" />
<j:if test="${empty(jdkLevel)}">
<j:set var="jdkLevel" value="${java.specification.version}" />
</j:if>
<j:choose>
<j:when test="${jdkLevel == '1.4'}">
<component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="false"/>
</j:when>
<j:when test="${jdkLevel.compareTo('1.5') >= 0}">
<component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true"/>
</j:when>
<j:otherwise>
<component name="ProjectRootManager" version="2" assert-keyword="false"/>
</j:otherwise>
</j:choose>
<component name="CodeStyleManager">
<option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true"/>
<option name="CODE_STYLE_SCHEME" value=""/>
</component>
<component name="ProjectModuleManager">
<modules>
<module filepath="$$PROJECT_DIR$$/${pom.artifactId}.iml"/>
</modules>
</component>
<component name="libraryTable"/>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac"/>
<option name="CLEAR_OUTPUT_DIRECTORY" value="false"/>
<!-- TODO: exclusions?
<excludeFromCompile>
<file url="file://$$PROJECT_DIR$$/src/webapp/WEB-INF/jsp/index.jspf"/>
</excludeFromCompile>
-->
<resourceExtensions>
<entry name=".+\.(properties|xml|html)"/>
<entry name=".+\.(gif|png|jpeg)"/>
</resourceExtensions>
</component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="DEPRECATION" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
<option name="USE_GENERICS_COMPILER" value="false"/>
</component>
<component name="JikesSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="DEPRECATION" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="GENERATE_MAKE_FILE_DEPENDENCIES" value="false"/>
<option name="DO_FULL_DEPENDENCE_CHECK" value="false"/>
<option name="IS_INCREMENTAL_MODE" value="false"/>
<option name="IS_EMACS_ERRORS_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="AntConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="FILTER_TARGETS" value="false"/>
</component>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY"/>
<option name="OPTION_SCOPE" value="protected"/>
<option name="OPTION_HIERARCHY" value="false"/>
<option name="OPTION_NAVIGATOR" value="false"/>
<option name="OPTION_INDEX" value="false"/>
<option name="OPTION_SEPARATE_INDEX" value="false"/>
<option name="OPTION_USE_1_1" value="false"/>
<option name="OPTION_DOCUMENT_TAG_USE" value="false"/>
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false"/>
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false"/>
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false"/>
<option name="OPTION_DEPRECATED_LIST" value="false"/>
<option name="OTHER_OPTIONS"/>
<option name="HEAP_SIZE"/>
<option name="OPEN_IN_BROWSER" value="false"/>
</component>
<j:set var="webSourceDir" value="${maven.war.src}"/>
<j:choose>
<j:when test="${empty(webSourceDir)}">
<component name="WebManager">
<OPTION enabled="false"/>
</component>
<component name="WebRootContainer"/>
</j:when>
<j:otherwise>
<component name="WebManager">
<OPTION enabled="true"/>
</component>
<component name="WebRootContainer">
<root url="file://$$PROJECT_DIR$$/${webSourceDir}" name="${pom.artifactId}" validate="false"/>
</component>
</j:otherwise>
</j:choose>
<component name="EjbManager" enabled="false"/>
<component name="JUnitProjectSettings">
<option name="TEST_RUNNER" value="UI"/>
</component>
<component name="EntryPointsManager">
<entry_points/>
</component>
<component name="DataSourceManager"/>
<component name="EjbActionsConfiguration">
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value=""/>
</component>
<component name="ExportToHTMLSettings">
<option name="PRINT_LINE_NUMBERS" value="false"/>
<option name="OPEN_IN_BROWSER" value="false"/>
<option name="OUTPUT_DIRECTORY"/>
</component>
<component name="ImportConfiguration">
<option name="VENDOR"/>
<option name="RELEASE_TAG"/>
<option name="LOG_MESSAGE"/>
<option name="CHECKOUT_AFTER_IMPORT" value="true"/>
</component>
<component name="ProjectModuleManager">
<modules>
<!-- Include the mutiproject's module -->
<j:set var="file" value="file://${pom.file.parentFile.canonicalFile}/${pom.artifactId}.iml" />
<module fileurl="${file}" filepath="${file}"/>
<j:forEach var="project" items="${reactorProjects}">
<j:set var="file" value="file://${project.file.parentFile.canonicalFile}/${project.artifactId}.iml" />
<module fileurl="${file}" filepath="${file}"/>
</j:forEach>
</modules>
</component>
</project>
</j:whitespace>