Then I guess you different plugin configuration in the modules. /Anders
On Mon, Nov 26, 2012 at 8:56 AM, <[email protected]> wrote: > Yeah sorry for mistification. I have one parrent pom.xml and other moudules > references on this parrent pom.xml. > In parrent pom.xml I have this definition: > > <profiles> > <profile> > <id>pre</id> > <build> > > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>buildnumber-maven-plugin</artifactId> > <version>1.1</version> > <executions> > <execution> > <phase>validate</phase> > <goals> > <goal>create</goal> > </goals> > </execution> > </executions> > <configuration> > <doCheck>false</doCheck> > <doUpdate>false</doUpdate> > <useLastCommittedRevision>true</ > useLastCommittedRevision> > <providerImplementations> > <svn>javasvn</svn> > </providerImplementations> > </configuration> > </plugin> > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > <version>1.7</version> > <executions> > <execution> > <id>parse-version</id> > <goals> > <goal>parse-version</goal> > </goals> > </execution> > </executions> > </plugin> > > <plugin> > <groupId>org.eclipse.tycho</groupId> > <artifactId>tycho-packaging-plugin</artifactId> > <version>${tycho-version}</version> > <executions> > <execution> > <phase>validate</phase> > <goals> > <goal>build-qualifier</goal> > </goals> > <configuration> > <forceContextQualifier>${buildNumber}</ > forceContextQualifier> > </configuration> > </execution> > </executions> > </plugin> > > > <plugin> > <groupId>org.eclipse.tycho</groupId> > <artifactId>tycho-versions-plugin</artifactId> > <version>${tycho-version}</version> > <executions> > <execution> > <phase>validate</phase> > <goals> > <goal>set-version</goal> > </goals> > <configuration> > <newVersion>${parsedVersion. > majorVersion}.${parsedVersion.minorVersion}.${parsedVersion. > incrementalVersion}.${buildNumber}</newVersion> > </configuration> > </execution> > </executions> > </plugin> > > </plugins> > </build> > </profile> > </profiles> > > > So before the build on Jenkins started, the profile <PRE> is called and > set > the qualifier for all modules in reactor. But I need to NOT to set the > qualifier for 2 modules in reactor. Is it clear? > > > Thank you > > > ---------- Původní zpráva ---------- > Od: Anders Hammar <[email protected]> > Datum: 22. 11. 2012 > Předmět: Re: build number maven plugin - how define plugin exclusion? > "> But I need to avoid to set the qualifier for two plugins... how can I do > > that? > > > > I don't understand what you're trying to do. How are you using the build > number as a qualifier for your plugins? Are you talking about your modules? > > /Anders > > > > > Thanks for any advices. > > > > David"
