Hi Vladimir,

There was a change for the swagger goal, it now needs to run the integtests
module, but the validate goal should still run ok in the dom module.

If you look at the simpleapp you'll see that it uses
'domainapp.dom.DomainAppDomManifest' as its manifest, and is in the dom
module, not the app module.  This is DIFFERENT from the regular
'domainapp.app.DomainAppAppManifest' (in the app module) normally used for
bootstrapping.

Basically all we are doing is specifying how much of the metamodel should
be loaded up for validation.  Since there's no point validating 3rd party
modules, it should only specify your domain classes in the 'dom' module.

Hope that helps.

Dan



On 26 April 2016 at 12:44, Vladimir Nišević <vnise...@gmail.com> wrote:

> Hi, after upgrading to 12.0.1 and  when "mvn clean install"  i get
> exception
>
> *[ERROR] Failed to execute goal
> org.apache.isis.tool:isis-maven-plugin:1.12.1:validate (default) on project
> my-dom: Execution default of goal
> org.apache.isis.tool:isis-maven-plugin:1.12.1:validate failed: The class
> 'my.app.MyAppManifest' cannot be found -> [Help 1]*
>
>
> I use same skeleton as simpleapp:
>
> * my.app.MyAppManifest is part of app module "my-app"
> * validate profile is defined in pom.xml of dom module "my-dom"
>
>
> Looking the documentation  "validate goal"
> https://isis.apache.org/guides/rgmvn.html#3.-validate-goal and comparing
> it
> with the generated simpleapp 12.0.1 it's not clear where the validate
> profile should be? In the dom or in the app module?
>
>
> When I move the validate profile to pom.xml of app module and restart  "mvn
> clean install" on parent, validation seems to run but I get another error.
>
>
> *[ERROR] Failed to execute goal
> org.apache.isis.tool:isis-maven-plugin:1.12.1:validate (default) on project
> my-app: Execution default of goal
> org.apache.isis.tool:isis-maven-plugin:1.12.1:validate failed:
> org.apache.isis.core.metamodel.exceptions.MetaModelException:
> java.lang.reflect.InvocationTargetException:
> org.datanucleus.store.rdbms.exceptions.MissingTableException: Required
> table missing : "ISISSETTINGS.APPLICATIONSETTING" in Catalog "" Schema
> "ISISSETTINGS". DataNucleus requires this table to perform its persistence
> operations. Either your MetaData is incorrect, or you need to enable
> "datanucleus.schema.autoCreateTables" -> [Help 1]*
>
> I do use Isis Adon Setting and configure it in AppManifest in
> getModules()-method.
>

Reply via email to