Author: thomas.diesler(a)jboss.com
Date: 2008-04-18 05:46:14 -0400 (Fri, 18 Apr 2008)
New Revision: 6493
Added:
spi/trunk/profiles-example.xml
Modified:
spi/trunk/
spi/trunk/pom.xml
Log:
Add profiles.xml. Check properties
Property changes on: spi/trunk
___________________________________________________________________
Name: svn:ignore
- ant.properties
target
+ ant.properties
target
profiles.xml
Modified: spi/trunk/pom.xml
===================================================================
--- spi/trunk/pom.xml 2008-04-18 09:41:40 UTC (rev 6492)
+++ spi/trunk/pom.xml 2008-04-18 09:46:14 UTC (rev 6493)
@@ -111,6 +111,24 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="version.id"
value="${project.version}"/>
+ <property name="jboss.local.repository"
value="${jboss.local.repository}"/>
+ <ant antfile="src/main/ant/build-install.xml"
target="install"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Added: spi/trunk/profiles-example.xml
===================================================================
--- spi/trunk/profiles-example.xml (rev 0)
+++ spi/trunk/profiles-example.xml 2008-04-18 09:46:14 UTC (rev 6493)
@@ -0,0 +1,16 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <profiles>
+ <profile>
+ <id>user-profile</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+
<jboss.local.repository>/home/tdiesler/svn/jboss.local.repository</jboss.local.repository>
+ </properties>
+ </profile>
+ </profiles>
+
+</project>
\ No newline at end of file
Property changes on: spi/trunk/profiles-example.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF