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

Cannot build from source -- missing directory or pom file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.3, 4.0.4
    • Fix Version/s: 4.0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      RedHat ENT4, HP ProLiant

      Description

      After downloading and unzipping the source code file from the DROOLS website, I found that trying to build the source with Maven came to an immediate halt due to missing sub-directories and/or files.

      I followed the instructions directly in the README and this is what happened. If 'drools-analytics' really isn't necessary then the top-level pom file is messed up.

      Thanks.

      -----------------------------------------------

      total 30432
      drwxr-xr-x 5 afbagwe users 4096 Jan 10 12:08 documentation
      rw-rw-r- 1 afbagwe users 30989275 Jan 10 07:47 drools-4.0.3-src.zip
      drwxr-xr-x 2 afbagwe users 4096 Oct 22 22:19 drools-ant
      drwxr-xr-x 5 afbagwe users 4096 Jan 10 12:13 drools-compiler
      drwxr-xr-x 5 afbagwe users 4096 Jan 10 12:06 drools-core
      drwxr-xr-x 3 afbagwe users 4096 Oct 22 22:19 drools-decisiontables
      drwxr-xr-x 3 afbagwe users 4096 Oct 22 22:19 drools-jbrms
      drwxr-xr-x 3 afbagwe users 4096 Oct 22 22:19 drools-jsr94
      drwxr-xr-x 4 afbagwe users 4096 Oct 22 22:19 drools-repository
      rw-rr- 1 afbagwe users 26847 Oct 22 21:56 eclipse-code-style.xml
      rw-rr- 1 afbagwe users 8209 Oct 22 21:56 JBossORG-EULA.txt
      rw-rr- 1 afbagwe users 11358 Oct 22 22:02 LICENSE-ASL-2.0.txt
      drwxr-xr-x 3 afbagwe users 4096 Oct 22 21:56 m2_repo
      rw-rr- 1 afbagwe users 29202 Oct 22 21:56 pom.xml
      rw-rr- 1 afbagwe users 2184 Oct 22 21:54 README_DEPENDENCIES.txt
      rw-rr- 1 afbagwe users 1887 Oct 22 22:04 README.txt
      rw-rr- 1 afbagwe users 2716 Oct 22 21:56 update-version.xml
      [afbagwe@lynx drools]$ mvn -Declipse=true -Ddocumentation=true clean install -DlocalEclipseDrop=/home/afbagwe/temp/local-eclipse-drop-mirror
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).

      Project ID: unknown

      Reason: Could not find the model file '/home/afbagwe/downloads/drools/drools-analytics/pom.xml'. for project unknown

      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/home/afbagwe/downloads/drools/drools-analytics/pom.xml'. for project unknown
      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file '/home/afbagwe/downloads/drools/drools-analytics/pom.xml'. for project unknown
      at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1381)
      at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:474)
      at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
      at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:524)
      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
      ... 11 more
      Caused by: java.io.FileNotFoundException: /home/afbagwe/downloads/drools/drools-analytics/pom.xml (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:123)
      at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
      at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)
      at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1376)
      ... 17 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: < 1 second
      [INFO] Finished at: Thu Jan 10 12:22:01 MST 2008
      [INFO] Final Memory: 2M/134M
      [INFO] ------------------------------------------------------------------------

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fmeyer Fernando Meyer
                Reporter:
                AllenABQ Allen Bagwell
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: