Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-03-07 12:42:05 -0500
committerIgor Fedorenko2011-03-07 19:03:05 -0500
commit47316d740d175ffb217d8834d9b3403d6a9f9c96 (patch)
treea888fd30704a427a1d89f0b20a20ff17560993d4 /org.eclipse.m2e.discovery-directory
parent5ff058a6a988ee4339abe51186a5fd83471ce65b (diff)
downloadm2e-core-47316d740d175ffb217d8834d9b3403d6a9f9c96.tar.gz
m2e-core-47316d740d175ffb217d8834d9b3403d6a9f9c96.tar.xz
m2e-core-47316d740d175ffb217d8834d9b3403d6a9f9c96.zip
added m2e-wtp to m2e marketplace
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.discovery-directory')
-rw-r--r--org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.pluginxml113
-rw-r--r--org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.xml140
-rw-r--r--org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/plugin.xml17
3 files changed, 270 insertions, 0 deletions
diff --git a/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.pluginxml b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.pluginxml
new file mode 100644
index 00000000..1d67b97e
--- /dev/null
+++ b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.pluginxml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.eclipse.m2e.core.lifecycleMappingMetadataSource">
+ </extension>
+ <extension
+ point="org.eclipse.m2e.core.lifecycleMappings">
+ <lifecycleMapping
+ class="org.maven.ide.eclipse.wtp.internal.lifecycle.WarLifecycleMapping"
+ id="org.maven.ide.eclipse.wtp.WarLifecycleMapping"
+ name="War Build Lifecycle Mapping">
+ </lifecycleMapping>
+ <lifecycleMapping
+ class="org.maven.ide.eclipse.wtp.internal.lifecycle.EjbLifecycleMapping"
+ id="org.maven.ide.eclipse.wtp.EjbLifecycleMapping"
+ name="Ejb Build Lifecycle Mapping">
+ </lifecycleMapping>
+ <lifecycleMapping
+ class="org.maven.ide.eclipse.wtp.internal.lifecycle.EarLifecycleMapping"
+ id="org.maven.ide.eclipse.wtp.EarLifecycleMapping"
+ name="Ear Build Lifecycle Mapping">
+ </lifecycleMapping>
+ <lifecycleMapping
+ class="org.maven.ide.eclipse.wtp.internal.lifecycle.RarLifecycleMapping"
+ id="org.maven.ide.eclipse.wtp.RarLifecycleMapping"
+ name="Rar Build Lifecycle Mapping">
+ </lifecycleMapping>
+ </extension>
+
+ <extension-point id="dependencyConfigurators" name="Dependency Configurators" schema="schema/dependencyConfigurators.exsd"/>
+
+ <extension point="org.eclipse.m2e.core.projectConfigurators">
+ <configurator
+ id="org.maven.ide.eclipse.configuration.wtp.configurator"
+ class="org.maven.ide.eclipse.wtp.WTPProjectConfigurator"
+ name="WTP" />
+ </extension>
+
+ <!-- A workaround to allow to uninstall WTP facets -->
+ <extension point="org.eclipse.wst.common.project.facet.core.facets">
+ <action type="uninstall" facet="jst.ear" version="[1.2-6.0]">
+ <delegate class="org.maven.ide.eclipse.wtp.facets.EarUninstallDelegate"/>
+ </action>
+ <action type="uninstall" facet="jst.ejb" version="[1.1-3.1]">
+ <delegate class="org.maven.ide.eclipse.wtp.facets.EjbUninstallDelegate"/>
+ </action>
+ <action type="uninstall" facet="jst.web" version="[2.2-3.0]">
+ <delegate class="org.maven.ide.eclipse.wtp.facets.WarUninstallDelegate"/>
+ </action>
+ <action type="uninstall" facet="jst.java" version="[1.3-6.0]">
+ <delegate class="org.maven.ide.eclipse.wtp.facets.JavaUninstallDelegate"/>
+ </action>
+ <action type="uninstall" facet="jst.connector" version="[1.0-1.6]">
+ <delegate class="org.maven.ide.eclipse.wtp.facets.RarUninstallDelegate"/>
+ </action>
+ </extension>
+
+ <!-- Project Explorer extensions -->
+ <extension point="org.eclipse.ui.navigator.navigatorContent">
+ <navigatorContent id="org.maven.ide.eclipse.wtp.navigatorContent"
+ contentProvider="org.maven.ide.eclipse.wtp.internal.WebResourcesContentProvider"
+ labelProvider="org.maven.ide.eclipse.wtp.internal.WebResourcesLabelProvider"
+ name="Web Resources"
+ icon="icons/web-resources.gif"
+ activeByDefault="true"
+ priority="normal">
+
+ <override suppressedExtensionId="org.eclipse.ui.navigator.resourceContent"
+ policy="InvokeOnlyIfSuppressedExtAlsoVisibleAndActive"/>
+
+ <triggerPoints>
+ <instanceof value="org.eclipse.core.resources.IProject"/>
+ </triggerPoints>
+
+ <possibleChildren>
+ <instanceof value="org.maven.ide.eclipse.wtp.internal.WebResourcesNode"/>
+ </possibleChildren>
+
+ <commonSorter id="org.maven.ide.eclipse.wtp.sorter"
+ class="org.maven.ide.eclipse.wtp.internal.WebResourcesSorter">
+ <parentExpression>
+ <instanceof value="org.eclipse.core.resources.IProject"/>
+ </parentExpression>
+ </commonSorter>
+ </navigatorContent>
+
+ <!--
+ <actionProvider id="org.maven.ide.eclipse.wtp.actionProvider"
+ class="org.maven.ide.eclipse.wtp.internal.WebResourcesActionProvider">
+ <enablement>
+ <or>
+ <adapt type="org.eclipse.core.resources.IResource"/>
+ </or>
+ </enablement>
+ </actionProvider>
+ -->
+ </extension>
+
+ <extension point="org.eclipse.ui.navigator.viewer">
+ <viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+ <includes>
+ <actionExtension pattern="org.maven.ide.eclipse.wtp.actionProvider"/>
+ </includes>
+ </viewerActionBinding>
+
+ <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+ <includes>
+ <contentExtension pattern="org.maven.ide.eclipse.wtp.navigatorContent"/>
+ </includes>
+ </viewerContentBinding>
+ </extension>
+</plugin>
diff --git a/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.xml b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.xml
new file mode 100644
index 00000000..28dd71b6
--- /dev/null
+++ b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/lifecycle/org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp.xml
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lifecycleMappingMetadata>
+ <lifecycleMappings>
+
+ <!-- Tycho packaging types -->
+ <lifecycleMapping>
+ <packagingType>war</packagingType>
+ <lifecycleMappingId>org.maven.ide.eclipse.wtp.WarLifecycleMapping</lifecycleMappingId>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <versionRange>[2.0,)</versionRange>
+ <goals>
+ <goal>compile</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.eclipse.m2e.jdt.javaConfigurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.maven.ide.eclipse.configuration.wtp.configurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMapping>
+ <lifecycleMapping>
+ <packagingType>ejb</packagingType>
+ <lifecycleMappingId>org.maven.ide.eclipse.wtp.EjbLifecycleMapping</lifecycleMappingId>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <versionRange>[2.0,)</versionRange>
+ <goals>
+ <goal>compile</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.eclipse.m2e.jdt.javaConfigurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>ejb</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.maven.ide.eclipse.configuration.wtp.configurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMapping>
+ <lifecycleMapping>
+ <packagingType>ear</packagingType>
+ <lifecycleMappingId>org.maven.ide.eclipse.wtp.EarLifecycleMapping</lifecycleMappingId>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>generate-application-xml</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.maven.ide.eclipse.configuration.wtp.configurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMapping>
+ <lifecycleMapping>
+ <packagingType>rar</packagingType>
+ <lifecycleMappingId>org.maven.ide.eclipse.wtp.RarLifecycleMapping</lifecycleMappingId>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <versionRange>[2.0,)</versionRange>
+ <goals>
+ <goal>compile</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.eclipse.m2e.jdt.javaConfigurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-rar-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>rar</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.maven.ide.eclipse.configuration.wtp.configurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMapping>
+ </lifecycleMappings>
+
+</lifecycleMappingMetadata> \ No newline at end of file
diff --git a/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/plugin.xml b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/plugin.xml
index 758d5285..2217c911 100644
--- a/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/plugin.xml
+++ b/org.eclipse.m2e.discovery-directory/org.eclipse.m2e.discovery.oss/plugin.xml
@@ -61,5 +61,22 @@
</overview>
</connectorDescriptor>
+ <connectorDescriptor
+ categoryId="org.eclipse.m2e.discovery.category.lifecycles"
+ description="%configuratorDescriptor.m2e-wtp.description"
+ groupId="lifecycles"
+ id="org.eclipse.m2e.discovery.lifecyclemapping.m2e-wtp"
+ kind="lifecycles"
+ license="%configuratorDescriptor.m2e-wtp.license"
+ name="%configuratorDescriptor.m2e-wtp.name"
+ provider="%configuratorDescriptor.m2e-wtp.provider"
+ siteUrl="https://repository.sonatype.org/content/repositories/forge-sites/m2eclipse-wtp/0.13.0/N/0.13.0.201103070909/">
+ <iu id="org.maven.ide.eclipse.wtp.feature.feature.group"/>
+ <overview
+ summary="%configuratorDescriptor.m2e-wtp.overview-summary"
+ url="https://github.com/sonatype/m2eclipse-wtp">
+ </overview>
+ </connectorDescriptor>
+
</extension>
</plugin>

Back to the top