I am trying to run Jetty:
mvn package jetty:run
And I have a default profile:
<profile>
<id>h2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<database.filter.file>src/main/filters/h2-filter.properties</database.filter.file>
<hibernate3.create>true</hibernate3.create>
<hibernate3.drop>true</hibernate3.drop>
<jdbc.groupId>com.h2database</jdbc.groupId>
<jdbc.artifactId>h2</jdbc.artifactId>
<jdbc.version>${h2.version}</jdbc.version>
</properties>
</profile>
But this is NOT getting picked up at all unless I FORCE the profile on the
command line like:
mvn package jetty:run -Ph2 -e
This works just fine when I run a package like:
mvn clean package
Can someone help me to understand why the Jetty plugin does not pick this
up?
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website:
http://baselogic.comLinked IN:
http://linkedin.com/in/mickknutsonVacation Rental:
http://tahoe.baselogic.com---