From users-return-26566-apmail-tomee-users-archive=tomee.apache.org@tomee.apache.org Mon Mar 12 14:44:21 2018 Return-Path: X-Original-To: apmail-tomee-users-archive@www.apache.org Delivered-To: apmail-tomee-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AAE3718FAC for ; Mon, 12 Mar 2018 14:44:21 +0000 (UTC) Received: (qmail 46080 invoked by uid 500); 12 Mar 2018 14:44:16 -0000 Delivered-To: apmail-tomee-users-archive@tomee.apache.org Received: (qmail 46036 invoked by uid 500); 12 Mar 2018 14:44:16 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 46024 invoked by uid 99); 12 Mar 2018 14:44:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2018 14:44:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 692031A025D for ; Mon, 12 Mar 2018 14:44:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.041 X-Spam-Level: *** X-Spam-Status: No, score=3.041 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_10_20=1.162, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id I8MzZ0XD1tee for ; Mon, 12 Mar 2018 14:44:13 +0000 (UTC) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.161.172]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ABB3F5F2EC for ; Mon, 12 Mar 2018 14:44:12 +0000 (UTC) Received: by mail-yw0-f172.google.com with SMTP id x17so1512018ywj.1 for ; Mon, 12 Mar 2018 07:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=1aEByKHZMXP2KohKJ7XB74RlqlRoW6Z6yv2M7e4Nhoc=; b=SKUsYAWT0InJ6UFlvVgN0Txhm6DKCjuPpB14kTyedUA4sP5POoDIgYdFBq4BhXgtjL NeONJbDwu8XLQC4HsCiXQp2v4wLQM2OSv9tfZZ6gf+2c0hTOedG8PXyWZ5rwRgIb7vBE Kat9l9RZYFH5BHfHE9SWu2lvAxGG4Hbnen2xM35f2zlDG1SX8hzhCR5il+V1kR8pCCbH RfJPUDHFoETO3m7ZfeEZdJfF3jKJBM12B7C2rCgiCKruAyVWraCnCRynM+egdoHt8b5j OwVcm1TJvmYQzYyYN3g/yxSXqri98nzA7Q+hGgWWOPa2224639iXLhas4Os6CDKTgW0h vRyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=1aEByKHZMXP2KohKJ7XB74RlqlRoW6Z6yv2M7e4Nhoc=; b=phoUr9YIcOXVUY/Fs9p5pacJb1p4yzBa5yglUwsCrk1b9aIz6qGi+P/JQb8nTNNivd q7xQhurUDVhJYoQ2HHXwtXI+l/LLKhEwxHqcNupz2mVM38zoxpC20c+Wd5ZD/oRz3Fm2 6Qt/2Hz95WNLsitG2WuD3GrZ2Z15MiOlDkEf/E6leCCD3hiCmv8IAeABzB/gpn9N4+a5 n4zegpeo7zGxvm/nsw8QkukEInZp0/zqu+oUvtIxDpJ2h2AuYwa0zM3IIuGSeO26PhHc QZvFB9f660KisbIaYQ1stPZN+xRGjDFOvr9QwDH7JKF32C9XzrFUiu1U3ApUE0JA3o3t ayPg== X-Gm-Message-State: AElRT7E8yQoTY0AuttpiQYB5f4ZNDer8Tvz0QjNj/+ZadtRYBDFZ8Xmk XDqpZaprN6QgMqYE9Cd/nlUDWltN/fzMZN60Lb8= X-Google-Smtp-Source: AG47ELudBMLHUUkae0mIi8ZzSjd8gr36rmmcb2O/u7r23IUx01zdcnQcVlDAtERauvUKLeAzlMIbyG2m1unUFr3EEn0= X-Received: by 2002:a25:8545:: with SMTP id f5-v6mr4508068ybn.349.1520865851359; Mon, 12 Mar 2018 07:44:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:6dd4:0:0:0:0:0 with HTTP; Mon, 12 Mar 2018 07:43:51 -0700 (PDT) In-Reply-To: <974b8e58-ae7d-52fc-b07c-fe5b571bb948@nbmlaw.co.uk> References: <188317ec-5670-47e9-c219-83799725d89c@nbmlaw.co.uk> <974b8e58-ae7d-52fc-b07c-fe5b571bb948@nbmlaw.co.uk> From: Romain Manni-Bucau Date: Mon, 12 Mar 2018 15:43:51 +0100 Message-ID: Subject: Re: tomee-maven-plugin webapps To: users@tomee.apache.org Content-Type: multipart/alternative; boundary="000000000000d247fe0567382c15" --000000000000d247fe0567382c15 Content-Type: text/plain; charset="UTF-8" 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 | Blog | Old Blog | Github | LinkedIn | Book 2018-03-12 15:39 GMT+01:00 Matthew Broadhead : > hi > i tried putting > subproject?name=subproject > but i got > [ERROR] format for librairies should be :: n>[:[:]] > org.apache.openejb.maven.plugin.TomEEException: format for librairies > should be ::[:[:]] > at org.apache.openejb.maven.plugin.AbstractTomEEMojo.mvnToFile( > AbstractTomEEMojo.java:847) > > incidentally librairies should be spelled libraries but it is not a big > deal... > > i tried google for an app launcher module but i couldn't find anything. > could you point me in the right direction? > > On 12/03/2018 14:10, Romain Manni-Bucau wrote: > >> 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 and get >> rid >> of both issues at once. >> >> >> >> Romain Manni-Bucau >> @rmannibucau | Blog >> | Old Blog >> | Github < >> https://github.com/rmannibucau> | >> LinkedIn | Book >> > high-performance> >> >> >> 2018-03-12 12:51 GMT+01:00 Matthew Broadhead < >> matthew.broadhead@nbmlaw.co.uk >> >>> : >>> 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 >>> ${project.basedir}/src/test/tomee/conf >>> >>> mysql:mysql-connector-java:${mysql.connector.version} >>> >>> >>> ${project.groupId}:subproject:${project.version}?nam >>> e=subproject >>> >>> >>> >>> >>> >>> but it complains that it cannot find the subproject in the maven >>> repository. is there any way to tell it that it is a subproject? >>> also it seems to try to run up a tomee instance for every subproject >>> >>> > --000000000000d247fe0567382c15--