Here's a snippet from the pom:
<profiles>
<profile>
<id>propgen</id>
<activation>
<property>
<name>propgen</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.7.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>props</id>
<phase>process-resources</phase>
<configuration>
<tasks>
<ant antfile="props.xml"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 2:05 PM
To: Maven Users List
Subject: RE: listing all the properties set via profiles
It dawned on me that ant has an <echoproperties/> task, but with ant and
ant-nodeps added as dependencies, it still gives the error:
Could not create task or type of type: echoproperties.
Ant could not find the task or a class this task relies upon.
Is there something else that's necessary?
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 1:27 PM
To: [email protected]
Subject: listing all the properties set via profiles
Is there a plugin or configuration (or something) that echoes out a list
of all the properties available when given a list of profiles?
I wrote something long ago to do this, but I'm wondering if something
more off-the-shelf may exist now.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]