Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3335

mvn eclipse:eclipse broken for drools-persistence-jpa

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.4.0.CR1
    • 5.3.1.Final
    • None
    • None

    Description

      From a clean repository, I'm seeing a maven error when I run "mvn eclipse:eclipse":

      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO] 
      [INFO] Drools multiproject
      [INFO] Drools :: Core
      [INFO] Drools :: Compiler
      [INFO] Drools :: Templates
      [INFO] Drools :: Decision Tables
      [INFO] Drools :: JSR-94 API Module
      [INFO] Drools :: Clips
      [INFO] Drools :: Verifier
      [INFO] Drools :: Persistence :: JPA
      [INFO] Drools examples
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools multiproject 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-multiproject ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject ---
      [INFO] Not running eclipse plugin goal for pom project
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Core 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-core ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-core/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-core" to /home/adar/Source/drools/drools-core.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Compiler 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-compiler ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-compiler/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-compiler" to /home/adar/Source/drools/drools-compiler.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Templates 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-templates ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-templates/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-templates" to /home/adar/Source/drools/drools-templates.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Decision Tables 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-decisiontables ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-decisiontables/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-decisiontables" to /home/adar/Source/drools/drools-decisiontables.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: JSR-94 API Module 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-jsr94 ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-jsr94/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-jsr94" to /home/adar/Source/drools/drools-jsr94.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Clips 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-clips ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-clips/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-clips" to /home/adar/Source/drools/drools-clips.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Verifier 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-verifier ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Wrote settings to /home/adar/Source/drools/drools-verifier/.settings/org.eclipse.jdt.core.prefs
      [INFO] Wrote Eclipse project for "drools-verifier" to /home/adar/Source/drools/drools-verifier.
      [INFO] 
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Drools :: Persistence :: JPA 5.4.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa >>>
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-persistence-jpa ---
      [INFO] 
      [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa <<<
      [INFO] 
      [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa ---
      [INFO] Using Eclipse Workspace: null
      [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
      [INFO] Resource directory's path matches an existing source directory. Resources will be merged with the source directory src/test/resources
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Drools multiproject ............................... SUCCESS [0.873s]
      [INFO] Drools :: Core .................................... SUCCESS [1.087s]
      [INFO] Drools :: Compiler ................................ SUCCESS [0.758s]
      [INFO] Drools :: Templates ............................... SUCCESS [0.374s]
      [INFO] Drools :: Decision Tables ......................... SUCCESS [0.341s]
      [INFO] Drools :: JSR-94 API Module ....................... SUCCESS [0.219s]
      [INFO] Drools :: Clips ................................... SUCCESS [0.073s]
      [INFO] Drools :: Verifier ................................ SUCCESS [0.102s]
      [INFO] Drools :: Persistence :: JPA ...................... FAILURE [0.225s]
      [INFO] Drools examples ................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.294s
      [INFO] Finished at: Thu Jan 05 15:30:50 PST 2012
      [INFO] Final Memory: 27M/618M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project drools-persistence-jpa: Request to merge when 'filtering' is not identical. Original=resource src/test/resources: output=target/test-classes, include=[], exclude=[**/*.h2.db|**/*.java], test=true, filtering=true, merging with=resource src/test/resources: output=target/test-classes, include=[**/*.h2.db], exclude=[**/*.java], test=true, filtering=false -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :drools-persistence-jpa
      

      Here's my maven version:

      Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
      Maven home: /home/adar/Source/apache-maven-3.0.3
      Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
      Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "3.0.0-14-generic", arch: "amd64", family: "unix"
      

      Attachments

        Activity

          People

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            hltbdivl_jira Adar Dembo (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty