Re: tomee-maven-plugin webapps

2018-03-12 Thread Romain Manni-Bucau
yes this should work or just all the deps (one line per lib) 2018-03-12 16:38 GMT+01:00 Matthew Broadhead : > i did a > mvn clean install > which added the modules to my .m2 > > but now i have another problem which is that keycloak requires some > libraries to be

Re: tomee-maven-plugin webapps

2018-03-12 Thread Matthew Broadhead
i did a mvn clean install which added the modules to my .m2 but now i have another problem which is that keycloak requires some libraries to be included in tomee/lib.  is it possible to add these to a folder and have them copied over?  e.g. unzip:somefolder/keycloakstuff.zip On 12/03/2018

Re: tomee-maven-plugin webapps

2018-03-12 Thread Romain Manni-Bucau
2018-03-12 15:46 GMT+01:00 Matthew Broadhead : > why is the gav not resolving to the local builds and trying to get from > repo? > if in your repo and not in the reactor it should find it otherwise it doesn't exists from a maven perspective > yes i could create

Re: tomee-maven-plugin webapps

2018-03-12 Thread Matthew Broadhead
why is the gav not resolving to the local builds and trying to get from repo? yes i could create another module with the setup but wouldn't i be faced with the same problem? On 12/03/2018 15:43, Romain Manni-Bucau wrote: Yep, was more thinking about a path to the war and not the module but

Re: tomee-maven-plugin webapps

2018-03-12 Thread Romain Manni-Bucau
Yep, was more thinking about a path to the war and not the module but you are right we only support gav ATM. the app launcher reference was a new pom module in your project with the plugin setup, not something existing. Just aligning your usage on maven. Romain Manni-Bucau @rmannibucau

Re: tomee-maven-plugin webapps

2018-03-12 Thread Matthew Broadhead
hi i tried putting subproject?name=subproject but i got [ERROR] format for librairies should be ::[:[:]] org.apache.openejb.maven.plugin.TomEEException: format for librairies should be ::[:[:]]     at org.apache.openejb.maven.plugin.AbstractTomEEMojo.mvnToFile(AbstractTomEEMojo.java:847)

Re: tomee-maven-plugin webapps

2018-03-12 Thread Romain Manni-Bucau
Hi you can use a file reference I think instead of gav, otherwise no way in a single reactor until it is already built once you can add -N to not run submodules Personally I'd go with a app-launcher module with dependencies on other modules to ensure the reactor order and it would resolve nicely

tomee-maven-plugin webapps

2018-03-12 Thread Matthew Broadhead
hi i am trying to use tomee-maven-plugin from a parent project. i tried to define the subprojects as webapps like                   org.apache.tomee.maven             tomee-maven-plugin             ${tomee.version}             ${tomee.version}                 plus