NICE!! On Mon, Oct 22, 2012 at 10:06 AM, Christian Sadilek <[email protected]>wrote:
> nice! with this we should be able to delete 100's of lines in our pom.xmls. > > On 2012-10-22, at 8:34 AM, Karel Piwko <[email protected]> wrote: > > > Hi guys, > > > > there is a most convenient way how to exclude an dependency from a war > when a > > profile is activated, figured out by Marius: > > > > <dependencies> > > <dependency> > > <groupId>javax.persistence</groupId> > > <artifactId>persistence-api</artifactId> > > <scope>${dependency.scope}</scope> > > <version>1.0</version> > > </dependency> > > ... > > </dependencies> > > > > ... > > > > <profile> > > <id>jbossas7</id> > > > > <properties> > > <dependency.scope>provided</dependency.scope> > > </properties> > > </profile> > > > > <profile> > > <id>jetty</id> > > > > <properties> > > <dependency.scope>compile</dependency.scope> > > </properties> > > </profile> > > > > HTH, > > > > Karel > > _______________________________________________ > > errai-dev mailing list > > [email protected] > > https://lists.jboss.org/mailman/listinfo/errai-dev > > > _______________________________________________ > errai-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/errai-dev > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better."
_______________________________________________ errai-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/errai-dev
