This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new fdda44f7a98 (chores) build: removed unused Maven profiles for Eclipse 
IDE
fdda44f7a98 is described below

commit fdda44f7a98d4553b41772f2dca5a0c43fbc1663
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Thu Mar 23 10:42:04 2023 +0100

    (chores) build: removed unused Maven profiles for Eclipse IDE
---
 etc/pom.xml    | 107 ------------------------------------------------
 parent/pom.xml |  30 --------------
 pom.xml        | 127 ---------------------------------------------------------
 3 files changed, 264 deletions(-)

diff --git a/etc/pom.xml b/etc/pom.xml
index d4e0f28227c..30942b584a6 100644
--- a/etc/pom.xml
+++ b/etc/pom.xml
@@ -37,111 +37,4 @@
         <workspace>${basedir}/../..</workspace>
     </properties>
 
-    <profiles>
-        <profile>
-            <id>eclipse</id>
-            <build>
-                <defaultGoal>process-test-sources</defaultGoal>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-eclipse-plugin</artifactId>
-                        <inherited>false</inherited>
-                        <executions>
-                            <execution>
-                                <id>setup.eclipse.workspace</id>
-                                <phase>process-test-sources</phase>
-                                <goals>
-                                    <goal>configure-workspace</goal>
-                                </goals>
-                                <configuration>
-                                    <workspace>${workspace}</workspace>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <inherited>false</inherited>
-                        <executions>
-                            <execution>
-                                <id>setup.workspace</id>
-                                <phase>validate</phase>
-                                <configuration>
-                                    <target>
-                                        <path id="ecp.ws.path" 
location="${workspace}" />
-                                        <property 
name="full.eclipse.workspace" refid="ecp.ws.path" />
-                                        <path 
path="${basedir}/../buildingtools/src/main/resources" id="buildtools.path" />
-
-                                        <whichresource 
resource="camel-eclipse-pmd" property="pmd.url">
-                                            <classpath refid="buildtools.path" 
/>
-                                        </whichresource>
-                                        <whichresource 
resource="camel-pmd-ruleset.xml" property="pmdruleset.url">
-                                            <classpath refid="buildtools.path" 
/>
-                                        </whichresource>
-                                        <whichresource 
resource="camel-eclipse-checkstyle" property="eclipse.checkstyle.url">
-                                            <classpath refid="buildtools.path" 
/>
-                                        </whichresource>
-                                        <whichresource 
resource="camel-checkstyle.xml" property="checkstyle.url">
-                                            <classpath refid="buildtools.path" 
/>
-                                        </whichresource>&gt;
-
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings"
 />
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle"
 />
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/net.sourceforge.pmd.eclipse" 
/>
-
-                                        <get src="${checkstyle.url}" 
dest="${full.eclipse.workspace}/camel-checkstyle.xml" />
-
-                                        <!-- Add checkstyle config -->
-                                        <copy 
file="${basedir}/eclipse/template.checkstyle-config.xml" 
tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml"
 overwrite="no">
-                                            <filterset>
-                                                <filter 
token="CHECKSTYLE_CONFIG_FILE" 
value="${full.eclipse.workspace}/camel-checkstyle.xml" />
-                                                <filter 
token="APACHE_HEADER_FILE" value="${full.eclipse.workspace}/camel-header.txt" />
-                                            </filterset>
-                                        </copy>
-
-                                        <xslt 
style="${basedir}/eclipse/addcheckstyle.xsl" 
in="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml"
 
out="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new">
-                                            <param name="checkstyleconfig" 
expression="${full.eclipse.workspace}/camel-checkstyle.xml" />
-                                        </xslt>
-                                        <copy 
file="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new"
 
tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml"
 overwrite="yes" />
-
-                                        <!-- Add warning flags that we want -->
-                                        <propertyfile 
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs">
-                                            <entry 
key="org.eclipse.jdt.core.compiler.problem.missingSerialVersion" value="ignore" 
/>
-                                            <entry 
key="org.eclipse.jdt.core.compiler.problem.unusedImport" value="ignore" />
-                                            <entry 
key="org.eclipse.jdt.core.compiler.problem.annotationSuperInterface" 
value="ignore" />
-                                            <entry 
key="org.eclipse.jdt.core.compiler.problem.rawTypeReference" value="ignore" />
-                                        </propertyfile>
-
-                                        <!-- Add code format rules -->
-                                        <concat 
destfile="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs"
 append="true" fixlastline="true">
-                                            <filelist dir="${basedir}/eclipse" 
files="org.eclipse.jdt.core.prefs" />
-                                        </concat>
-                                        <loadfile 
property="eclipse.code.format" 
srcFile="${basedir}/eclipse/CamelCodeFormatter.xml" />
-                                        <loadfile 
property="eclipse.code.templates" 
srcFile="${basedir}/eclipse/codetemplates.xml" />
-                                        <propertyfile 
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs">
-                                            <entry key="formatter_profile" 
value="_ActiveMQ Java Conventions" />
-                                            <entry 
key="org.eclipse.jdt.ui.formatterprofiles" value="${eclipse.code.format}" />
-                                            <entry 
key="org.eclipse.jdt.ui.text.custom_code_templates" 
value="${eclipse.code.templates}" />
-
-                                            <!-- Add import order -->
-                                            <entry 
key="org.eclipse.jdt.ui.importorder" 
value="java;jakarta;javax;org.w3c;org.xml;w3c;" />
-                                            <!-- Sort order -->
-                                            <entry 
key="org.eclipse.jdt.ui.visibility.order" value="B,R,D,V," />
-                                            <entry key="outlinesortoption" 
value="T,SF,F,SI,I,C,SM,M," />
-                                            <entry 
key="org.eclipse.jdt.ui.enable.visibility.order" value="true" />
-                                        </propertyfile>
-                                    </target>
-                                </configuration>
-                                <goals>
-                                    <goal>run</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/parent/pom.xml b/parent/pom.xml
index 039a620b73f..18fe378c4f4 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -3502,36 +3502,6 @@
             </build>
         </profile>
 
-        <profile>
-            <id>setup.eclipse</id>
-            <build>
-                <defaultGoal>process-test-sources</defaultGoal>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-eclipse-plugin</artifactId>
-                        <inherited>true</inherited>
-                        <dependencies>
-                            <dependency>
-                                <groupId>org.apache.camel</groupId>
-                                <artifactId>camel-buildtools</artifactId>
-                                <version>${project.version}</version>
-                            </dependency>
-                        </dependencies>
-                        <executions>
-                            <execution>
-                                <id>setup.eclipse.project</id>
-                                <phase>process-test-sources</phase>
-                                <goals>
-                                    <goal>eclipse</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-
         <profile>
             <id>integration</id>
             <!--The profile for running the unit and integration test -->
diff --git a/pom.xml b/pom.xml
index 4b84484200d..ba4a5a90bc9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -463,133 +463,6 @@
                 <module>apache-camel</module>
             </modules>
         </profile>
-        <profile>
-            <id>setup.eclipse</id>
-            <!-- set up the eclipse workspace and generate the .classpath and 
.project
-              files for modules -->
-            <properties>
-                
<eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>
-                <skipTests>true</skipTests>
-            </properties>
-            <build>
-                <defaultGoal>package</defaultGoal>
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-compiler-plugin</artifactId>
-                            <version>${maven-compiler-plugin-version}</version>
-                            <configuration>
-                                <release>${jdk.version}</release>
-                                <maxmem>512M</maxmem>
-                                <fork>${compiler.fork}</fork>
-                            </configuration>
-                        </plugin>
-                    </plugins>
-                </pluginManagement>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-eclipse-plugin</artifactId>
-                        <inherited>false</inherited>
-                        <executions>
-                            <execution>
-                                <id>setup.eclipse.workspace</id>
-                                <phase>process-test-sources</phase>
-                                <goals>
-                                    <goal>configure-workspace</goal>
-                                </goals>
-                                <configuration>
-                                    
<workspace>${eclipse.workspace.dir}</workspace>
-                                    
<workspaceCodeStylesURL>file:etc/eclipse/CamelCodeFormatter.xml
-                                    </workspaceCodeStylesURL>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <inherited>false</inherited>
-                        <executions>
-                            <execution>
-                                <id>setup.workspace</id>
-                                <phase>validate</phase>
-                                <configuration>
-                                    <target>
-                                        <path id="ecp.ws.path" 
location="${eclipse.workspace.dir}" />
-                                        <property 
name="full.eclipse.workspace" refid="ecp.ws.path" />
-                                        <path path="${basedir}/etc" 
id="etc.path" />
-
-                                        <path id="buildtools.classpath">
-                                            <fileset 
dir="${basedir}/buildingtools/target" includes="*.jar" />
-                                            <pathelement 
location="${basedir}/buildingtools/target/classes" />
-                                            <pathelement 
location="${basedir}/buildingtools/src/main/resources" />
-                                        </path>
-
-                                        <whichresource 
resource="/camel-eclipse-pmd" property="pmd.url" 
classpathref="buildtools.classpath" />
-                                        <whichresource 
resource="/camel-pmd-ruleset.xml" property="pmdruleset.url" 
classpathref="buildtools.classpath" />
-                                        <whichresource 
resource="/camel-eclipse-checkstyle" property="eclipse.checkstyle.url" 
classpathref="buildtools.classpath" />
-                                        <whichresource 
resource="/camel-checkstyle.xml" property="checkstyle.url" 
classpathref="buildtools.classpath" />
-
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings"
 />
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core" />
-                                        <mkdir 
dir="${full.eclipse.workspace}/.metadata/.plugins/net.sourceforge.pmd.eclipse" 
/>
-
-                                        <get src="${checkstyle.url}" 
dest="${full.eclipse.workspace}/camel-checkstyle.xml" />
-
-                                        <!-- Add checkstyle config -->
-                                        <copy 
file="${basedir}/etc/eclipse/template.checkstyle-config.xml" 
tofile="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml"
 overwrite="no">
-                                            <filterset>
-                                                <filter 
token="CHECKSTYLE_CONFIG_FILE" 
value="${full.eclipse.workspace}/camel-checkstyle.xml" />
-                                                <filter 
token="APACHE_HEADER_FILE" value="${full.eclipse.workspace}/apache-header.txt" 
/>
-                                            </filterset>
-                                        </copy>
-
-                                        <xslt 
style="${basedir}/etc/eclipse/addcheckstyle.xsl" 
in="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml"
 
out="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml.new">
-                                            <param name="checkstyleconfig" 
expression="${full.eclipse.workspace}/camel-checkstyle.xml" />
-                                        </xslt>
-                                        <copy 
file="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml.new"
 
tofile="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml"
 overwrite="yes" />
-
-                                        <!-- Add code format rules -->
-                                        <concat 
destfile="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs"
 append="true" fixlastline="true">
-                                            <filelist 
dir="${basedir}/etc/eclipse" files="org.eclipse.jdt.core.prefs" />
-                                        </concat>
-                                        <loadfile 
property="eclipse.code.format" 
srcFile="${basedir}/etc/eclipse/CamelCodeFormatter.xml" />
-                                        <loadfile 
property="eclipse.code.templates" 
srcFile="${basedir}/etc/eclipse/codetemplates.xml" />
-                                        <loadfile 
property="eclipse.camel.java.code.templates" 
srcFile="${basedir}/etc/eclipse/camel_java_templates.xml" />
-                                        <loadfile 
property="eclipse.camel.xml.code.templates" 
srcFile="${basedir}/etc/eclipse/camel_xml_templates.xml" />
-                                        <propertyfile 
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs">
-                                            <entry key="formatter_profile" 
value="Camel Java Conventions" />
-                                            <entry 
key="org.eclipse.jdt.ui.formatterprofiles" value="${eclipse.code.format}" />
-                                            <entry 
key="org.eclipse.jdt.ui.text.custom_code_templates" 
value="${eclipse.code.templates}" />
-
-                                            <!-- Add Camel templates for Java 
DSL -->
-                                            <entry 
key="org.eclipse.jdt.ui.text.custom_templates" 
value="${eclipse.camel.java.code.templates}" />
-
-                                            <!-- Add import order -->
-                                            <entry 
key="org.eclipse.jdt.ui.importorder" 
value="java;jakarta;javax;org.w3c;org.xml;w3c;" />
-                                            <!-- Sort order -->
-                                            <entry 
key="org.eclipse.jdt.ui.visibility.order" value="B,R,D,V," />
-                                            <entry key="outlinesortoption" 
value="T,SF,F,SI,I,C,SM,M," />
-                                            <entry 
key="org.eclipse.jdt.ui.enable.visibility.order" value="true" />
-                                        </propertyfile>
-                                        <propertyfile 
file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.ui.prefs">
-                                            <entry 
key="eclipse.preferences.version" value="1" />
-                                            <!-- Add Camel templates for 
Spring DSL -->
-                                            <entry 
key="org.eclipse.wst.sse.ui.custom_templates" 
value="${eclipse.camel.xml.code.templates}" />
-                                        </propertyfile>
-                                    </target>
-                                </configuration>
-                                <goals>
-                                    <goal>run</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
 
         <profile>
             <!-- When not on the Mac, we need to add tools.jar to the antrun 
plugin

Reply via email to