Uploaded image for project: 'OpenMRS SDK'
  1. OpenMRS SDK
  2. SDK-149

Is there a way to "unwatch" a module?

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 3.2.1
    • None
    • None

    Description

      I deleted one of my watched module source directories (allergyui) and now when I try to start up I'm seeing the following error, and I'm assuming that deleting that module is the issue:

      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Child module /home/mgoodrich/openmrs/haiti/temp-project/allergyui of /ho
      me/mgoodrich/openmrs/haiti/temp-project/pom.xml does not exist @
      @
      [ERROR] The build could not read 1 project -> [Help 1]
      org.apache.maven.project.ProjectBuildingException: Some problems were encountere
      d while processing the POMs:
      [ERROR] Child module /home/mgoodrich/openmrs/haiti/temp-project/allergyui of /ho
      me/mgoodrich/openmrs/haiti/temp-project/pom.xml does not exist @

      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
      ilder.java:422)
      at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGra
      phBuilder.java:419)
      at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
      (DefaultGraphBuilder.java:410)
      at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.
      java:83)
      at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      356)
      [ERROR]
      [ERROR] The project org.openmrs:openmrs-sdk-server-haiti:1.0.0-SNAPSHOT (/home
      /mgoodrich/openmrs/haiti/temp-project/pom.xml) has 1 error
      [ERROR] Child module /home/mgoodrich/openmrs/haiti/temp-project/allergyui of
      /home/mgoodrich/openmrs/haiti/temp-project/pom.xml does not exist
      [ERROR]
      [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 rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
      gException
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.703 s
      [INFO] Finished at: 2016-08-12T11:01:59-04:00
      [INFO] Final Memory: 20M/210M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugi
      n:3.1.3:run (default-cli) on project mirebalais-api: Execution default-cli of go
      al org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.1.3:run failed: Failed t
      o build project in /home/mgoodrich/openmrs/haiti/temp-project: Failed building p
      roject in /home/mgoodrich/openmrs/haiti/temp-project -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
      rg.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.1.3:run (default-cli) on pro
      ject mirebalais-api: Execution default-cli of goal org.openmrs.maven.plugins:ope
      nmrs-sdk-maven-plugin:3.1.3:run failed: Failed to build project in /home/mgoodri
      ch/openmrs/haiti/temp-project
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:212)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:116)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:80)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
      adedBuilder.build(SingleThreadedBuilder.java:51)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
      eStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      356)
      Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-c
      li of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.1.3:run failed:
      Failed to build project in /home/mgoodrich/openmrs/haiti/temp-project
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
      BuildPluginManager.java:145)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:207)
      ... 20 more
      Caused by: java.lang.IllegalStateException: Failed to build project in /home/mgo
      odrich/openmrs/haiti/temp-project
      at org.openmrs.maven.plugins.Build.buildWatchedProjects(Build.java:101)
      at org.openmrs.maven.plugins.Build.executeTask(Build.java:84)
      at org.openmrs.maven.plugins.Run.executeTask(Run.java:96)
      at org.openmrs.maven.plugins.AbstractTask.execute(AbstractTask.java:174)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
      BuildPluginManager.java:134)
      ... 21 more
      Caused by: java.lang.IllegalStateException: Failed building project in /home/mgo
      odrich/openmrs/haiti/temp-project
      at org.openmrs.maven.plugins.Build.cleanInstallServerProject(Build.java:
      272)
      at org.openmrs.maven.plugins.Build.buildWatchedProjects(Build.java:99)
      ... 25 more
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio
      nException

      Gliffy Diagrams

        Attachments

          Activity

            People

              tmarzeion Tomasz Marzeion
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h