Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8b959e65e6
Fetching contributors…

Cannot retrieve contributors at this time

422 lines (376 sloc) 18.604 kB
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<sourceViewerConfiguration
class="org.eclipse.m2e.editor.xml.PomStructuredTextViewConfiguration"
target="org.eclipse.m2e.core.pomFile"/>
<contentOutlineConfiguration
class="org.eclipse.m2e.editor.xml.PomContentOutlineConfiguration"
target="org.eclipse.m2e.core.pomFile"/>
<provisionalConfiguration
type="org.eclipse.jface.text.quickassist.IQuickAssistProcessor"
class="org.eclipse.m2e.editor.xml.PomQuickAssistProcessor"
target="org.eclipse.m2e.core.pomFile"/>
</extension>
<extension point="org.eclipse.wst.sse.core.modelHandler">
<modelHandler
associatedContentTypeId="org.eclipse.m2e.core.pomFile"
class="org.eclipse.m2e.editor.xml.PomModelHandler"
id="org.eclipse.m2e.core.pomFile.handler">
</modelHandler>
</extension>
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.eclipse.m2e.editor.xml.MavenMarkerResolutionGenerator"
markerType="org.eclipse.m2e.core.maven2Problem.pomloading">
</markerResolutionGenerator>
<markerResolutionGenerator
class="org.eclipse.m2e.editor.xml.MavenMarkerResolutionGenerator"
markerType="org.eclipse.m2e.core.maven2Problem.lifecycleMapping">
</markerResolutionGenerator>
</extension>
<extension
point="org.eclipse.core.filebuffers.annotationModelCreation">
<factory
contentTypeId="org.eclipse.m2e.core.pomFile"
class="org.eclipse.m2e.editor.xml.internal.POMMarkerAnnotationModelFactory" />
</extension>
<extension point="org.eclipse.ui.editors.templates">
<contextType name="%contextType.document"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.#document"/>
<contextType name="%contextType.project"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.project"/>
<contextType name="%contextType.parent"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.parent"/>
<contextType name="%contextType.properties"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.properties"/>
<contextType name="%contextType.properties2"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.properties"/>
<contextType name="%contextType.dependencies"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.dependencies"/>
<contextType name="%contextType.exclusions"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.exclusions"/>
<contextType name="%contextType.plugins"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.plugins"/>
<contextType name="%contextType.plugin"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.plugin"/>
<contextType name="%contextType.configuration"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.configuration"/>
<contextType name="%contextType.executions"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.executions"/>
<contextType name="%contextType.execution"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.execution"/>
<contextType name="%contextType.profiles"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.profiles"/>
<contextType name="%contextType.repositories"
class="org.eclipse.m2e.editor.xml.PomTemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.repositories"/>
<contextType name="%contextType.groupid"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.groupId"/>
<contextType name="%contextType.artifactid"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.artifactId"/>
<contextType name="%contextType.version"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.version"/>
<contextType name="%contextType.classifier"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.classifier"/>
<contextType name="%contextType.type"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.type"/>
<contextType name="%contextType.systemPath"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.systemPath"/>
<contextType name="%contextType.packaging"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.packaging"/>
<contextType name="%contextType.scope"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.scope"/>
<contextType name="%contextType.phase"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.phase"/>
<contextType name="%contextType.goal"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.goal"/>
<contextType name="%contextType.module"
class="org.eclipse.jface.text.templates.TemplateContextType"
id="org.eclipse.m2e.editor.xml.templates.contextType.module"/>
<template id="org.eclipse.m2e.editor.xml.templates.project.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.#document"
name="%template.project.name"
description="%template.project.description">
<pattern>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.property.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.properties"
name="%template.property.name"
description="%template.property.description">
<pattern>&lt;${cursor}${name}&gt;${value}&lt;/${name}&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.property.encoding"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.properties"
name="%template.encoding.name"
description="%template.encoding.description">
<pattern>&lt;project.build.sourceEncoding&gt;${encoding}&lt;/project.build.sourceEncoding&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.exclusion.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.exclusions"
name="%template.exclusion.name"
description="%template.exclusion.description">
<pattern>&lt;exclusion&gt;
&lt;groupId&gt;${cursor}&lt;/groupId&gt;
&lt;artifactId&gt;&lt;/artifactId&gt;
&lt;/exclusion&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.javac"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.compiler.name"
description="%template.compiler.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&lt;version&gt;3.1&lt;/version&gt;
&lt;configuration&gt;
&lt;!-- http://maven.apache.org/plugins/maven-compiler-plugin/ --&gt;
&lt;source&gt;${cursor}1.6&lt;/source&gt;
&lt;target&gt;1.6&lt;/target&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.aspectj"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.aspectj.name"
description="%template.aspectj.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
&lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;1.4&lt;/version&gt;
&lt;!-- http://mojo.codehaus.org/aspectj-maven-plugin/ --&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;goals&gt;
&lt;goal&gt;compile&lt;/goal&gt;
&lt;/goals&gt;
&lt;/execution&gt;
&lt;/executions&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.war"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.war.name"
description="%template.war.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
&lt;version&gt;2.4&lt;/version&gt;
&lt;configuration&gt;
&lt;!-- web.xml is not mandatory since JavaEE 5 --&gt;
&lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
&lt;!--
&lt;filteringDeploymentDescriptors&gt;true&lt;/filteringDeploymentDescriptors&gt;
&lt;warSourceDirectory&gt;WebContent&lt;/warSourceDirectory&gt;
&lt;webResources&gt;
&lt;resource&gt;
&lt;directory&gt;src/main/webapp2&lt;/directory&gt;
&lt;filtering&gt;true&lt;/filtering&gt;
&lt;/resource&gt;
&lt;/webResources&gt;
--&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.ejb"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.ejb.name"
description="%template.ejb.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&lt;artifactId&gt;maven-ejb-plugin&lt;/artifactId&gt;
&lt;version&gt;2.3&lt;/version&gt;
&lt;configuration&gt;
&lt;!-- http://maven.apache.org/plugins/maven-ejb-plugin/ --&gt;
&lt;ejbVersion&gt;3.0&lt;/ejbVersion&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.ear"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.ear.name"
description="%template.ear.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&lt;artifactId&gt;maven-ear-plugin&lt;/artifactId&gt;
&lt;version&gt;2.9&lt;/version&gt;
&lt;configuration&gt;
&lt;!-- http://maven.apache.org/plugins/maven-ear-plugin/ --&gt;
&lt;version&gt;6&lt;/version&gt;
&lt;defaultLibBundleDir&gt;lib&lt;/defaultLibBundleDir&gt;
&lt;!--
&lt;generateApplicationXml&gt;false&lt;/generateApplicationXml&gt;
&lt;earSourceDirectory&gt;EarContent&lt;/earSourceDirectory&gt;
&lt;applicationXml&gt;EarContent/META-INF/application.xml&lt;/applicationXml&gt;
&lt;modules&gt;
&lt;webModule&gt;
&lt;groupId&gt;org.foo2&lt;/groupId&gt;
&lt;artifactId&gt;test-war&lt;/artifactId&gt;
&lt;contextRoot&gt;/custom-context-root&lt;/contextRoot&gt;
&lt;/webModule&gt;
&lt;ejbModule&gt;
&lt;groupId&gt;org.foo2&lt;/groupId&gt;
&lt;artifactId&gt;test-ejb&lt;/artifactId&gt;
&lt;bundleFileName&gt;anothername.jar&lt;/bundleFileName&gt;
&lt;/ejbModule&gt;
&lt;jarModule&gt;
&lt;groupId&gt;org.foo2&lt;/groupId&gt;
&lt;artifactId&gt;test-jar&lt;/artifactId&gt;
&lt;/jarModule&gt;
&lt;/modules&gt;
--&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.plugin.jetty"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.plugins"
name="%template.jetty.name"
description="%template.jetty.description">
<pattern>&lt;plugin&gt;
&lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
&lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;
&lt;configuration&gt;
&lt;!-- http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin --&gt;
&lt;scanIntervalSeconds&gt;10&lt;/scanIntervalSeconds&gt;
&lt;connectors&gt;
&lt;connector implementation=&quot;org.mortbay.jetty.nio.SelectChannelConnector&quot;&gt;
&lt;port&gt;8080&lt;/port&gt;
&lt;maxIdleTime&gt;60000&lt;/maxIdleTime&gt;
&lt;/connector&gt;
&lt;/connectors&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.repository.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.repositories"
name="%template.repository.name"
description="%template.repository.description">
<pattern>&lt;repository&gt;
&lt;id&gt;${cursor}&lt;/id&gt;
&lt;url&gt;&lt;/url&gt;
&lt;releases&gt;
&lt;enabled&gt;true&lt;/enabled&gt;
&lt;/releases&gt;
&lt;snapshots&gt;
&lt;enabled&gt;false&lt;/enabled&gt;
&lt;/snapshots&gt;
&lt;/repository&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.execution.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.executions"
name="%template.execution.name"
description="%template.execution.description">
<pattern>&lt;execution&gt;
&lt;id&gt;${cursor}&lt;/id&gt;
&lt;phase&gt;${verify}&lt;/phase&gt;
&lt;goals&gt;
&lt;goal&gt;${run}&lt;/goal&gt;
&lt;/goals&gt;
&lt;inherited&gt;${false}&lt;/inherited&gt;
&lt;configuration&gt;
&lt;/configuration&gt;
&lt;/execution&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.profile.skeleton"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.profiles"
name="%template.profile.name"
description="%template.profile.description">
<pattern>&lt;profile&gt;
&lt;id&gt;${cursor}${test}&lt;/id&gt;
&lt;activation&gt;
&lt;/activation&gt;
&lt;/profile&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.profile.tools.jar"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.profiles"
name="%template.tools.name"
description="%template.tools.description">
<pattern>&lt;profile&gt;
&lt;id&gt;tools.jar&lt;/id&gt;
&lt;activation&gt;
&lt;property&gt;
&lt;name&gt;java.vendor&lt;/name&gt;
&lt;value&gt;Sun Microsystems Inc.&lt;/value&gt;
&lt;/property&gt;
&lt;/activation&gt;
&lt;dependencies&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.sun&lt;/groupId&gt;
&lt;artifactId&gt;tools&lt;/artifactId&gt;
&lt;version&gt;1.4.2&lt;/version&gt;
&lt;scope&gt;system&lt;/scope&gt;
&lt;systemPath&gt;$${java.home}/../lib/tools.jar&lt;/systemPath&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
&lt;/profile&gt;</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.profile.m2e"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.profiles"
name="%template.m2e.profile.name"
description="%template.m2e.profile.description">
<pattern>&lt;profile&gt;
&lt;id&gt;m2e&lt;/id&gt;
&lt;!-- This profile is only activated when building in Eclipse with m2e --&gt;
&lt;activation&gt;
&lt;property&gt;
&lt;name&gt;m2e.version&lt;/name&gt;
&lt;/property&gt;
&lt;/activation&gt;
${cursor}
&lt;/profile&gt;
</pattern>
</template>
<template id="org.eclipse.m2e.editor.xml.templates.systemPath.tools.jar"
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.systemPath"
name="%template.tools2.name"
description="%template.tools2.description">
<pattern>$${java.home}/../lib/tools.jar</pattern>
</template>
</extension>
<extension point="org.eclipse.ui.keywords">
<keyword id="org.eclipse.m2e.maven" label="%keyword.label"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page id="org.eclipse.m2e.editor.xml.preferences.PomTemplatesPreferencePage"
category="org.eclipse.m2e.core.preferences.Maven2PreferencePage"
class="org.eclipse.m2e.editor.xml.preferences.PomTemplatesPreferencePage"
name="%page.name">
<keywordReference id="org.eclipse.m2e.maven"/>
</page>
</extension>
<!--extension
point="org.eclipse.wst.sse.ui.quickFixProcessor">
<quickFixProcessor
class="org.eclipse.m2e.editor.xml.PomQuickAssistProcessor"
problemType="pomhint">
</quickFixProcessor>
</extension-->
</plugin>
Jump to Line
Something went wrong with that request. Please try again.