Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-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 51283104F3 for ; Fri, 13 Dec 2013 13:51:13 +0000 (UTC) Received: (qmail 33544 invoked by uid 500); 13 Dec 2013 13:51:08 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 33197 invoked by uid 500); 13 Dec 2013 13:51:08 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 33166 invoked by uid 99); 13 Dec 2013 13:50:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 13:50:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of digitalover0se@googlemail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 13:50:55 +0000 Received: by mail-wg0-f50.google.com with SMTP id a1so1880191wgh.17 for ; Fri, 13 Dec 2013 05:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UCv6opLDkkyTZwv0hcxk3mQ8OH5Kk7SrUBHoshLa560=; b=ZGPyKjL+WBd3dJkjetSXhLK8C1yFBBMZz7SDB0YCCugH4Q2IQ2vJ8ELRvf4V/oCytb KFT/5DlN/eYBf2vCAhsL0NQx1b1oDitu8syzmlJyKxzYJmnI03yeAyI+7aoyUBmsIb4b bZE4SKUHAlUOpg0J5//YRwbKC6rzE2egIOWBjezvXtWkAySYl5svT1YAH9REf4CXzmyK /pqUMMonjJ7+f+aIuaAh+/x7oHQkLKbG8SJl6Mb1I0qZlz4hHBFaca7g4f7Kk2ykHnf9 nznzd3S7YNtog7TK0Puc89D4GCYN4SrYvfqKu7IUOm5dqzGj0YvyFM1fjw9gWd6/oiXw pX0g== MIME-Version: 1.0 X-Received: by 10.180.36.105 with SMTP id p9mr3024472wij.58.1386942634068; Fri, 13 Dec 2013 05:50:34 -0800 (PST) Received: by 10.216.174.201 with HTTP; Fri, 13 Dec 2013 05:50:33 -0800 (PST) In-Reply-To: <924cdfe035d4418392b5732616ce1df2@DBXPR05MB237.eurprd05.prod.outlook.com> References: <924cdfe035d4418392b5732616ce1df2@DBXPR05MB237.eurprd05.prod.outlook.com> Date: Fri, 13 Dec 2013 14:50:33 +0100 Message-ID: Subject: Re: Multi-modules projects From: Michael Priess To: Maven Users List Content-Type: multipart/alternative; boundary=e89a8f50356207119a04ed6abf59 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f50356207119a04ed6abf59 Content-Type: text/plain; charset=ISO-8859-1 @Stephan Connolly Thanks for the hint. But can I bind a profile to a self defined package or could you provide a example project :) 2013/12/13 Christofer Dutz > I have similar Projects consisting of Java, Flex and .Net artifacts. > I usually configure the plugins in the root of the maven Project and use > self-activating maven profiles. > > Flex is active if a Directory src/main/flex exists, Npanday is used if i > have src/main/csharp and so on. > > > java-project > > > src/main/java > > > ... > > flex-project > > > src/main/flex > > > ... > > csharp-project > > > src/main/csharp > > > ... > > Hope this helps. > > Chris > > > ________________________________________ > Von: Michael Priess > Gesendet: Freitag, 13. Dezember 2013 13:24 > An: users@maven.apache.org > Betreff: Multi-modules projects > > Hi, > > our projects have the following structure: > > - parent pom > -- pom.xml > ----cpp--pom.xml > ----java--pom.xml > > To build a project like this we must invoke different build steps. For the > CPP build we like to invoke gcc for the java build we like to invoke javac > and many other steps. In our enviroment we have a lot of builds which are > similar. > > Is there a way to define the builds steps in one place to avoid > duplications of the javac and gcc build configuration. I like to inherite > or get the build steps from one central place and use this steps in a multi > module project. Any idea howto resolve this? > > Cheerrs, > > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --e89a8f50356207119a04ed6abf59--