0 Replies Latest reply on Feb 10, 2014 7:53 AM by Rafael Pestano

    [forge-dev] Add module dependency

    Rafael Pestano Novice

      Hi guys,


      how can i add a module dependency to my plugin?(in forge 1.x)


      I'm using JavaParser and i need to access

      org.eclipse.jdt.core.dom.CompilationUnit api which is available in

      javaparser module (org.eclipse.jdt.core-3.9.1.jar) which doesnt comes in

      default module dependencies[1].


      in my pom.xml i use


      but i receive **ERROR** Exception encountered: (type "set VERBOSE false"

      to disable stack traces)

      java.lang.ClassNotFoundException: org.eclipse.jdt.core.dom.CompilationUnit

      from [Module


      from local module loader @1eac903 (roots:



      if i add(manually) org.eclipse.javaparser module dependency in my plugin

      module.xml everything works.


      How can i tell forge that i need that dependency?


      Thanks in advance






      Rafael M. Pestano


      Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul

      Graduando em Ciência da Computação UFRGS

      http://conventionsframework.org <http://conventions.github.io/home/>