Permalink
Browse files

379610 : m2e-wtp initial contribution

Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information...
0 parents commit 7322f9e00154d4ed231d9298256b029765722645 @fbricon fbricon committed Jun 14, 2012
Showing with 16,332 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +3 −0 .settings/org.eclipse.core.resources.prefs
  3. +5 −0 .settings/org.eclipse.m2e.core.prefs
  4. +9 −0 .settings/org.maven.ide.eclipse.prefs
  5. +25 −0 README.md
  6. +1 −0 org.eclipse.m2e.wtp.feature/.gitignore
  7. +23 −0 org.eclipse.m2e.wtp.feature/.project
  8. +3 −0 org.eclipse.m2e.wtp.feature/.settings/org.eclipse.core.resources.prefs
  9. +5 −0 org.eclipse.m2e.wtp.feature/.settings/org.eclipse.m2e.core.prefs
  10. +4 −0 org.eclipse.m2e.wtp.feature/.settings/org.eclipse.mylyn.tasks.ui.prefs
  11. +3 −0 org.eclipse.m2e.wtp.feature/.settings/org.eclipse.mylyn.team.ui.prefs
  12. +9 −0 org.eclipse.m2e.wtp.feature/.settings/org.maven.ide.eclipse.prefs
  13. +2 −0 org.eclipse.m2e.wtp.feature/build.properties
  14. +273 −0 org.eclipse.m2e.wtp.feature/feature.properties
  15. +63 −0 org.eclipse.m2e.wtp.feature/feature.xml
  16. +107 −0 org.eclipse.m2e.wtp.feature/pom.xml
  17. +14 −0 org.eclipse.m2e.wtp.feature/src/main/assembly/assembly.xml
  18. +7 −0 org.eclipse.m2e.wtp.overlay.ui/.classpath
  19. +2 −0 org.eclipse.m2e.wtp.overlay.ui/.gitignore
  20. +34 −0 org.eclipse.m2e.wtp.overlay.ui/.project
  21. +3 −0 org.eclipse.m2e.wtp.overlay.ui/.settings/org.eclipse.core.resources.prefs
  22. +8 −0 org.eclipse.m2e.wtp.overlay.ui/.settings/org.eclipse.jdt.core.prefs
  23. +5 −0 org.eclipse.m2e.wtp.overlay.ui/.settings/org.eclipse.m2e.core.prefs
  24. +17 −0 org.eclipse.m2e.wtp.overlay.ui/META-INF/MANIFEST.MF
  25. +5 −0 org.eclipse.m2e.wtp.overlay.ui/build.properties
  26. +30 −0 org.eclipse.m2e.wtp.overlay.ui/plugin.xml
  27. +23 −0 org.eclipse.m2e.wtp.overlay.ui/pom.xml
  28. +73 −0 org.eclipse.m2e.wtp.overlay.ui/src/org/eclipse/m2e/wtp/overlay/ui/OverlayUIPluginActivator.java
  29. +36 −0 ...tp.overlay.ui/src/org/eclipse/m2e/wtp/overlay/ui/preferences/OverlayPublishingPreferencePage.java
  30. +5 −0 org.eclipse.m2e.wtp.overlay/.gitignore
  31. +29 −0 org.eclipse.m2e.wtp.overlay/META-INF/MANIFEST.MF
  32. +5 −0 org.eclipse.m2e.wtp.overlay/build.properties
  33. +16 −0 org.eclipse.m2e.wtp.overlay/plugin.xml
  34. +23 −0 org.eclipse.m2e.wtp.overlay/pom.xml
  35. +21 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/OverlayConstants.java
  36. +39 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/OverlayPluginActivator.java
  37. +345 −0 ...e.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/CompositeVirtualFolder.java
  38. +295 −0 ...se.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/DynamicResourceFilter.java
  39. +139 −0 ...m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/FileSystemResourceFilter.java
  40. +17 −0 ...e.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/IFilteredVirtualFolder.java
  41. +14 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/IResourceFilter.java
  42. +44 −0 ...pse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/OverlaySelfComponent.java
  43. +149 −0 ...p.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/OverlayVirtualArchiveComponent.java
  44. +179 −0 ....m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/OverlayVirtualComponent.java
  45. +154 −0 ...2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/ResourceListVirtualFolder.java
  46. +26 −0 ...p.overlay/src/org/eclipse/m2e/wtp/overlay/internal/preferences/OverlayPreferencesInitializer.java
  47. +146 −0 ...e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/servers/OverlayResourceChangeListener.java
  48. +120 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/utilities/CompressionUtil.java
  49. +19 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/utilities/PathUtil.java
  50. +38 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/modulecore/IOverlayVirtualComponent.java
  51. +61 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/modulecore/ModuleURIUtil.java
  52. +38 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/modulecore/OverlayComponentCore.java
  53. +184 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/modulecore/OverlayReferenceResolver.java
  54. +79 −0 org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/modulecore/UnpackArchiveJob.java
  55. +4 −0 org.eclipse.m2e.wtp.site/.gitignore
  56. +3 −0 org.eclipse.m2e.wtp.site/.settings/org.eclipse.core.resources.prefs
  57. +5 −0 org.eclipse.m2e.wtp.site/.settings/org.eclipse.m2e.core.prefs
  58. +60 −0 org.eclipse.m2e.wtp.site/index.html
  59. +88 −0 org.eclipse.m2e.wtp.site/pom.xml
  60. +11 −0 org.eclipse.m2e.wtp.site/site.xml
  61. +14 −0 org.eclipse.m2e.wtp.site/src/main/assembly/assembly.xml
  62. +12 −0 org.eclipse.m2e.wtp.site/web/site.css
  63. +214 −0 org.eclipse.m2e.wtp.site/web/site.xsl
  64. +2 −0 org.eclipse.m2e.wtp.target-platform/.gitignore
  65. +17 −0 org.eclipse.m2e.wtp.target-platform/.project
  66. +3 −0 org.eclipse.m2e.wtp.target-platform/.settings/org.eclipse.core.resources.prefs
  67. +5 −0 org.eclipse.m2e.wtp.target-platform/.settings/org.eclipse.m2e.core.prefs
  68. +9 −0 org.eclipse.m2e.wtp.target-platform/.settings/org.maven.ide.eclipse.prefs
  69. +89 −0 org.eclipse.m2e.wtp.target-platform/m2e-wtp-e36.target
  70. +58 −0 org.eclipse.m2e.wtp.target-platform/m2e-wtp-e371.target
  71. +56 −0 org.eclipse.m2e.wtp.target-platform/pom.xml
  72. +8 −0 org.eclipse.m2e.wtp/.classpath
  73. +2 −0 org.eclipse.m2e.wtp/.gitignore
  74. +34 −0 org.eclipse.m2e.wtp/.project
  75. +2 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.core.resources.prefs
  76. +377 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.jdt.core.prefs
  77. +10 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.jdt.ui.prefs
  78. +5 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.m2e.core.prefs
  79. +4 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.mylyn.tasks.ui.prefs
  80. +3 −0 org.eclipse.m2e.wtp/.settings/org.eclipse.mylyn.team.ui.prefs
  81. +2 −0 org.eclipse.m2e.wtp/.settings/org.jboss.ide.eclipse.as.core.prefs
  82. +9 −0 org.eclipse.m2e.wtp/.settings/org.maven.ide.eclipse.prefs
  83. +55 −0 org.eclipse.m2e.wtp/META-INF/MANIFEST.MF
  84. +6 −0 org.eclipse.m2e.wtp/NOTICE
  85. +9 −0 org.eclipse.m2e.wtp/build.properties
  86. BIN org.eclipse.m2e.wtp/icons/ear-resources.gif
  87. BIN org.eclipse.m2e.wtp/icons/web-resources.gif
  88. BIN org.eclipse.m2e.wtp/jars/maven-war-plugin-2.1.1.jar
  89. +306 −0 org.eclipse.m2e.wtp/lifecycle-mapping-metadata.xml
  90. +276 −0 org.eclipse.m2e.wtp/plugin.xml
  91. +29 −0 org.eclipse.m2e.wtp/pom.xml
  92. +138 −0 org.eclipse.m2e.wtp/schema/dependencyConfigurators.exsd
  93. +88 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/AbstractDependencyConfigurator.java
  94. +82 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/AbstractFilteringSupportMavenPlugin.java
  95. +412 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/AbstractProjectConfiguratorDelegate.java
  96. +118 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/AcrPluginConfiguration.java
  97. +109 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/AppClientProjectConfiguratorDelegate.java
  98. +128 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/ArtifactHelper.java
  99. +214 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/ConnectorProjectConfiguratorDelegate.java
  100. +143 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/DebugUtilities.java
  101. +27 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/DeploymentDescriptorManagement.java
  102. +75 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/DomUtils.java
  103. +399 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/EarPluginConfiguration.java
  104. +270 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/EarProjectConfiguratorDelegate.java
  105. +86 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/EjbPluginConfiguration.java
  106. +108 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/EjbProjectConfiguratorDelegate.java
  107. +51 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/IMavenPackageFilter.java
  108. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/IPackagingConfiguration.java
  109. +57 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/IProjectConfiguratorDelegate.java
  110. +80 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/JEEPackaging.java
  111. +33 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/MarkedException.java
  112. +262 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/MavenDeploymentDescriptorManagement.java
  113. +136 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/MavenSessionHelper.java
  114. +55 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/MavenWtpConstants.java
  115. +71 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/MavenWtpPlugin.java
  116. +35 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/Messages.java
  117. +189 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/OverlayConfigurator.java
  118. +77 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/PackagingConfiguration.java
  119. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/ProjectConfiguratorDelegateFactory.java
  120. +113 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/ProjectUtils.java
  121. +151 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/RarPluginConfiguration.java
  122. +133 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/ResourceCleaner.java
  123. +119 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/UnsupportedDependencyTypeProjectConfigurator.java
  124. +66 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/UtilityProjectConfigurator.java
  125. +121 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WTPProjectConfigurator.java
  126. +628 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WTPProjectsUtil.java
  127. +360 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WarPluginConfiguration.java
  128. +121 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WebFragmentProjectConfigurator.java
  129. +447 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/WebProjectConfiguratorDelegate.java
  130. +305 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/AbstractEarModule.java
  131. +49 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/AppClientModule.java
  132. +144 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/ArtifactRepository.java
  133. +169 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/ArtifactTypeMappingService.java
  134. +94 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/EarModule.java
  135. +206 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/EarModuleFactory.java
  136. +56 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/EarPluginException.java
  137. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/EjbClientModule.java
  138. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/EjbModule.java
  139. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/HarModule.java
  140. +73 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/JarModule.java
  141. +31 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/JbossEarModule.java
  142. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/ParModule.java
  143. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/RarModule.java
  144. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/SarModule.java
  145. +79 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/SecurityRoleKey.java
  146. +40 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/UnknownArtifactTypeException.java
  147. +90 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/WebModule.java
  148. +50 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/earmodules/WsrModule.java
  149. +17 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/AppClientUninstallDelegate.java
  150. +78 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/AppClientVersionChangeDelegate.java
  151. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/EarUninstallDelegate.java
  152. +81 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/EarVersionChangeDelegate.java
  153. +19 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/EjbUninstallDelegate.java
  154. +19 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/EjbVersionChangeDelegate.java
  155. +28 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/NoOpUninstallDelegate.java
  156. +19 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/NoOpVersionChangeDelegate.java
  157. +17 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/RarUninstallDelegate.java
  158. +19 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/RarVersionChangeDelegate.java
  159. +61 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/WarUninstallDelegate.java
  160. +127 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/facets/WarVersionChangeDelegate.java
  161. +61 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/AbstractResourceFilteringConfiguration.java
  162. +69 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/AppClientResourceFilteringConfiguration.java
  163. +62 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/EarResourceFilteringConfiguration.java
  164. +475 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/ResourceFilteringBuildParticipant.java
  165. +49 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/ResourceFilteringConfiguration.java
  166. +41 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/ResourceFilteringConfigurationFactory.java
  167. +97 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/filtering/WebResourceFilteringConfiguration.java
  168. +412 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/AntPathMatcher.java
  169. +80 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/ExtensionReader.java
  170. +102 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/StringUtils.java
  171. +105 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/WTPResourcesContentProvider.java
  172. +58 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/WTPResourcesImages.java
  173. +38 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/WTPResourcesLabelProvider.java
  174. +116 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/WTPResourcesNode.java
  175. +51 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/WTPResourcesSorter.java
  176. +74 −0 ....m2e.wtp/src/org/eclipse/m2e/wtp/internal/conversion/AbstractWtpProjectConversionParticipant.java
  177. +44 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/conversion/MavenPluginUtils.java
  178. +88 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/conversion/WebProjectConverter.java
  179. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/lifecycle/AcrLifecycleMapping.java
  180. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/lifecycle/EarLifecycleMapping.java
  181. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/lifecycle/EjbLifecycleMapping.java
  182. +20 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/lifecycle/RarLifecycleMapping.java
  183. +21 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/lifecycle/WarLifecycleMapping.java
  184. +33 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/preferences/MavenWtpPreferenceInitializer.java
  185. +343 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/preferences/MavenWtpPreferencePage.java
  186. +98 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/preferences/MavenWtpPreferencesImpl.java
  187. +119 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/preferences/MavenWtpPreferencesManagerImpl.java
  188. +28 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/internal/utilities/PathUtil.java
  189. +36 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/AbstractWTPArchiverConfigurator.java
  190. +24 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/AcrMavenArchiverConfigurator.java
  191. +37 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/EarMavenArchiverConfigurator.java
  192. +25 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/EjbMavenArchiverConfigurator.java
  193. +25 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/RarMavenArchiverConfigurator.java
  194. +59 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/mavenarchiver/WarMavenArchiverConfigurator.java
  195. +3 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/messages.properties
  196. +75 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/AbstractFileNameMapping.java
  197. +44 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/FileNameMapping.java
  198. +103 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/FileNameMappingFactory.java
  199. +42 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/FullFileNameMapping.java
  200. +41 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/NoVersionFileNameMapping.java
  201. +43 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/PatternBasedFileNameMapping.java
  202. +42 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/namemapping/StandardFileNameMapping.java
  203. +46 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/preferences/IMavenWtpPreferences.java
  204. +29 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/preferences/IMavenWtpPreferencesManager.java
  205. +37 −0 org.eclipse.m2e.wtp/src/org/eclipse/m2e/wtp/preferences/MavenWtpPreferencesConstants.java
  206. +146 −0 pom.xml
@@ -0,0 +1,4 @@
+/.project
+/.metadata
+/its
+/target
@@ -0,0 +1,3 @@
+#Tue Sep 27 17:26:50 CEST 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
@@ -0,0 +1,5 @@
+#Wed Apr 06 19:19:46 CEST 2011
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
@@ -0,0 +1,9 @@
+#Sat Jul 31 16:21:31 CEST 2010
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
@@ -0,0 +1,25 @@
+Maven Integration for Eclipse WTP
+=================================
+
+Maven Integration for Eclipse WTP, a.k.a m2e-wtp, aims at providing a tight integration between Maven Integration for Eclipse (a.k.a m2e) and the Eclipse Web Tools Project (WTP) .
+
+m2eclipse-wtp provides a set of m2e connectors used for the configuration of Java EE projects in WTP. It features :
+
+* Support for war projects : adds the Java and Dynamic Web Facets. Support war overlays and on-the-fly resource filtering
+* Support for ejb projects : adds the Java and EJB Facets. Supports deployment descriptor filtering.
+* Support for ear projects : adds the EAR Facet. Supports application.xml and jboss.xml file generation, resource filtering
+* Support for rar projects : adds the Java and Connector Facets.
+* Support for app-client projects : adds the Java and Application Client Facets. Supports deployment descriptor filtering.
+* Support for jar dependency projects : adds the Java and Utility Facets.
+* Support for web-fragment projects : adds the Java and Web Fragment Facets if a web-fragment.xml file is detected in the resource folders.
+
+Note that m2e-wtp requires m2e > 1.0. You must make sure m2e's update site (http://download.eclipse.org/technology/m2e/releases/) is defined in :
+Window > Preferences > Install / Update > Available Software Sites
+Since m2e 1.0 is incompatible with previous versions, you may have to uninstall old m2e and m2e-wtp versions before proceeding with the installation.
+
+[Public source repository](http://git.eclipse.org/c/m2e-wtp/org.eclipse.m2e.wtp.git/)
+
+[Issue tracking](https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP)
+
+[Public wiki](wiki.eclipse.org/M2E-WTP)
+
@@ -0,0 +1 @@
+/target
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.m2e.wtp.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,3 @@
+#Tue Sep 27 17:26:51 CEST 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
@@ -0,0 +1,5 @@
+#Wed Apr 06 19:19:49 CEST 2011
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
@@ -0,0 +1,4 @@
+#Thu Aug 28 19:43:49 EDT 2008
+eclipse.preferences.version=1
+project.repository.kind=jira
+project.repository.url=http\://jira.codehaus.org
@@ -0,0 +1,3 @@
+#Thu Jan 10 02:40:59 EST 2008
+commit.comment.template=${task.key}\: ${task.description}
+eclipse.preferences.version=1
@@ -0,0 +1,9 @@
+#Thu Feb 04 09:56:35 EST 2010
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
@@ -0,0 +1,2 @@
+bin.includes = feature.xml,\
+ feature.properties
@@ -0,0 +1,273 @@
+###############################################################################
+# Copyright (c) 2008, 2011 Sonatype, Inc. and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Sonatype, Inc. - initial API and implementation
+###############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Maven Integration for WTP
+
+# "providerName" property - name of the company that provides the feature
+providerName=Red Hat, Inc.
+
+# "updateSiteName" property - label for the update site
+#updateSiteName=The Eclipse Project Updates
+
+# "description" property - description of the feature
+description=m2e project configurators for Eclipse WTP
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=\
+Copyright (c) 2008-2011 Sonatype, Inc.\n\
+All rights reserved. This program and the accompanying materials\n\
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http://www.eclipse.org/legal/epl-v10.html\n\
+\n\
+Contributors:\n\
+ Sonatype, Inc. - initial API and implementation\n
+ Red Hat - JavaEE configurators\n
+################ end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=http://www.eclipse.org/legal/epl-v10.html
+
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=\
+\n\
+ Eclipse Public License - v 1.0\n\
+\n\
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\n\
+PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF\n\
+THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\
+\n\
+*1. DEFINITIONS*\n\
+\n\
+"Contribution" means:\n\
+\n\
+a) in the case of the initial Contributor, the initial code and\n\
+documentation distributed under this Agreement, and\n\
+\n\
+b) in the case of each subsequent Contributor:\n\
+\n\
+i) changes to the Program, and\n\
+\n\
+ii) additions to the Program;\n\
+\n\
+where such changes and/or additions to the Program originate from and\n\
+are distributed by that particular Contributor. A Contribution\n\
+'originates' from a Contributor if it was added to the Program by such\n\
+Contributor itself or anyone acting on such Contributor's behalf.\n\
+Contributions do not include additions to the Program which: (i) are\n\
+separate modules of software distributed in conjunction with the Program\n\
+under their own license agreement, and (ii) are not derivative works of\n\
+the Program.\n\
+\n\
+"Contributor" means any person or entity that distributes the Program.\n\
+\n\
+"Licensed Patents" mean patent claims licensable by a Contributor which\n\
+are necessarily infringed by the use or sale of its Contribution alone\n\
+or when combined with the Program.\n\
+\n\
+"Program" means the Contributions distributed in accordance with this\n\
+Agreement.\n\
+\n\
+"Recipient" means anyone who receives the Program under this Agreement,\n\
+including all Contributors.\n\
+\n\
+*2. GRANT OF RIGHTS*\n\
+\n\
+a) Subject to the terms of this Agreement, each Contributor hereby\n\
+grants Recipient a non-exclusive, worldwide, royalty-free copyright\n\
+license to reproduce, prepare derivative works of, publicly display,\n\
+publicly perform, distribute and sublicense the Contribution of such\n\
+Contributor, if any, and such derivative works, in source code and\n\
+object code form.\n\
+\n\
+b) Subject to the terms of this Agreement, each Contributor hereby\n\
+grants Recipient a non-exclusive, worldwide, royalty-free patent license\n\
+under Licensed Patents to make, use, sell, offer to sell, import and\n\
+otherwise transfer the Contribution of such Contributor, if any, in\n\
+source code and object code form. This patent license shall apply to the\n\
+combination of the Contribution and the Program if, at the time the\n\
+Contribution is added by the Contributor, such addition of the\n\
+Contribution causes such combination to be covered by the Licensed\n\
+Patents. The patent license shall not apply to any other combinations\n\
+which include the Contribution. No hardware per se is licensed hereunder.\n\
+\n\
+c) Recipient understands that although each Contributor grants the\n\
+licenses to its Contributions set forth herein, no assurances are\n\
+provided by any Contributor that the Program does not infringe the\n\
+patent or other intellectual property rights of any other entity. Each\n\
+Contributor disclaims any liability to Recipient for claims brought by\n\
+any other entity based on infringement of intellectual property rights\n\
+or otherwise. As a condition to exercising the rights and licenses\n\
+granted hereunder, each Recipient hereby assumes sole responsibility to\n\
+secure any other intellectual property rights needed, if any. For\n\
+example, if a third party patent license is required to allow Recipient\n\
+to distribute the Program, it is Recipient's responsibility to acquire\n\
+that license before distributing the Program.\n\
+\n\
+d) Each Contributor represents that to its knowledge it has sufficient\n\
+copyright rights in its Contribution, if any, to grant the copyright\n\
+license set forth in this Agreement.\n\
+\n\
+*3. REQUIREMENTS*\n\
+\n\
+A Contributor may choose to distribute the Program in object code form\n\
+under its own license agreement, provided that:\n\
+\n\
+a) it complies with the terms and conditions of this Agreement; and\n\
+\n\
+b) its license agreement:\n\
+\n\
+i) effectively disclaims on behalf of all Contributors all warranties\n\
+and conditions, express and implied, including warranties or conditions\n\
+of title and non-infringement, and implied warranties or conditions of\n\
+merchantability and fitness for a particular purpose;\n\
+\n\
+ii) effectively excludes on behalf of all Contributors all liability for\n\
+damages, including direct, indirect, special, incidental and\n\
+consequential damages, such as lost profits;\n\
+\n\
+iii) states that any provisions which differ from this Agreement are\n\
+offered by that Contributor alone and not by any other party; and\n\
+\n\
+iv) states that source code for the Program is available from such\n\
+Contributor, and informs licensees how to obtain it in a reasonable\n\
+manner on or through a medium customarily used for software exchange.\n\
+\n\
+When the Program is made available in source code form:\n\
+\n\
+a) it must be made available under this Agreement; and\n\
+\n\
+b) a copy of this Agreement must be included with each copy of the Program.\n\
+\n\
+Contributors may not remove or alter any copyright notices contained\n\
+within the Program.\n\
+\n\
+Each Contributor must identify itself as the originator of its\n\
+Contribution, if any, in a manner that reasonably allows subsequent\n\
+Recipients to identify the originator of the Contribution.\n\
+\n\
+*4. COMMERCIAL DISTRIBUTION*\n\
+\n\
+Commercial distributors of software may accept certain responsibilities\n\
+with respect to end users, business partners and the like. While this\n\
+license is intended to facilitate the commercial use of the Program, the\n\
+Contributor who includes the Program in a commercial product offering\n\
+should do so in a manner which does not create potential liability for\n\
+other Contributors. Therefore, if a Contributor includes the Program in\n\
+a commercial product offering, such Contributor ("Commercial\n\
+Contributor") hereby agrees to defend and indemnify every other\n\
+Contributor ("Indemnified Contributor") against any losses, damages and\n\
+costs (collectively "Losses") arising from claims, lawsuits and other\n\
+legal actions brought by a third party against the Indemnified\n\
+Contributor to the extent caused by the acts or omissions of such\n\
+Commercial Contributor in connection with its distribution of the\n\
+Program in a commercial product offering. The obligations in this\n\
+section do not apply to any claims or Losses relating to any actual or\n\
+alleged intellectual property infringement. In order to qualify, an\n\
+Indemnified Contributor must: a) promptly notify the Commercial\n\
+Contributor in writing of such claim, and b) allow the Commercial\n\
+Contributor to control, and cooperate with the Commercial Contributor\n\
+in, the defense and any related settlement negotiations. The Indemnified\n\
+Contributor may participate in any such claim at its own expense.\n\
+\n\
+For example, a Contributor might include the Program in a commercial\n\
+product offering, Product X. That Contributor is then a Commercial\n\
+Contributor. If that Commercial Contributor then makes performance\n\
+claims, or offers warranties related to Product X, those performance\n\
+claims and warranties are such Commercial Contributor's responsibility\n\
+alone. Under this section, the Commercial Contributor would have to\n\
+defend claims against the other Contributors related to those\n\
+performance claims and warranties, and if a court requires any other\n\
+Contributor to pay any damages as a result, the Commercial Contributor\n\
+must pay those damages.\n\
+\n\
+*5. NO WARRANTY*\n\
+\n\
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED\n\
+ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\
+EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES\n\
+OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR\n\
+A PARTICULAR PURPOSE. Each Recipient is solely responsible for\n\
+determining the appropriateness of using and distributing the Program\n\
+and assumes all risks associated with its exercise of rights under this\n\
+Agreement , including but not limited to the risks and costs of program\n\
+errors, compliance with applicable laws, damage to or loss of data,\n\
+programs or equipment, and unavailability or interruption of operations.\n\
+\n\
+*6. DISCLAIMER OF LIABILITY*\n\
+\n\
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR\n\
+ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,\n\
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING\n\
+WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF\n\
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n\
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR\n\
+DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED\n\
+HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\
+\n\
+*7. GENERAL*\n\
+\n\
+If any provision of this Agreement is invalid or unenforceable under\n\
+applicable law, it shall not affect the validity or enforceability of\n\
+the remainder of the terms of this Agreement, and without further action\n\
+by the parties hereto, such provision shall be reformed to the minimum\n\
+extent necessary to make such provision valid and enforceable.\n\
+\n\
+If Recipient institutes patent litigation against any entity (including\n\
+a cross-claim or counterclaim in a lawsuit) alleging that the Program\n\
+itself (excluding combinations of the Program with other software or\n\
+hardware) infringes such Recipient's patent(s), then such Recipient's\n\
+rights granted under Section 2(b) shall terminate as of the date such\n\
+litigation is filed.\n\
+\n\
+All Recipient's rights under this Agreement shall terminate if it fails\n\
+to comply with any of the material terms or conditions of this Agreement\n\
+and does not cure such failure in a reasonable period of time after\n\
+becoming aware of such noncompliance. If all Recipient's rights under\n\
+this Agreement terminate, Recipient agrees to cease use and distribution\n\
+of the Program as soon as reasonably practicable. However, Recipient's\n\
+obligations under this Agreement and any licenses granted by Recipient\n\
+relating to the Program shall continue and survive.\n\
+\n\
+Everyone is permitted to copy and distribute copies of this Agreement,\n\
+but in order to avoid inconsistency the Agreement is copyrighted and may\n\
+only be modified in the following manner. The Agreement Steward reserves\n\
+the right to publish new versions (including revisions) of this\n\
+Agreement from time to time. No one other than the Agreement Steward has\n\
+the right to modify this Agreement. The Eclipse Foundation is the\n\
+initial Agreement Steward. The Eclipse Foundation may assign the\n\
+responsibility to serve as the Agreement Steward to a suitable separate\n\
+entity. Each new version of the Agreement will be given a distinguishing\n\
+version number. The Program (including Contributions) may always be\n\
+distributed subject to the version of the Agreement under which it was\n\
+received. In addition, after a new version of the Agreement is\n\
+published, Contributor may elect to distribute the Program (including\n\
+its Contributions) under the new version. Except as expressly stated in\n\
+Sections 2(a) and 2(b) above, Recipient receives no rights or licenses\n\
+to the intellectual property of any Contributor under this Agreement,\n\
+whether expressly, by implication, estoppel or otherwise. All rights in\n\
+the Program not expressly granted under this Agreement are reserved.\n\
+\n\
+This Agreement is governed by the laws of the State of New York and the\n\
+intellectual property laws of the United States of America. No party to\n\
+this Agreement will bring a legal action under this Agreement more than\n\
+one year after the cause of action arose. Each party waives its rights\n\
+to a jury trial in any resulting litigation.\n\
+\n
+########### end of license property ##########################################
Oops, something went wrong.

0 comments on commit 7322f9e

Please sign in to comment.