@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 <[email protected]> > 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. > > <profile> > <id>java-project</id> > <activation> > <file> > <exists>src/main/java</exists> > </file> > </activation> > ... > </profile > <profile> > <id>flex-project</id> > <activation> > <file> > <exists>src/main/flex</exists> > </file> > </activation> > ... > </profile > <profile> > <id>csharp-project</id> > <activation> > <file> > <exists>src/main/csharp</exists> > </file> > </activation> > ... > </profile > > Hope this helps. > > Chris > > > ________________________________________ > Von: Michael Priess <[email protected]> > Gesendet: Freitag, 13. Dezember 2013 13:24 > An: [email protected] > 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: [email protected] > For additional commands, e-mail: [email protected] > >
