Yeah, sorry - I finally figured it out and apparently <echoproperties/> will (duh) just echo out the ant properties (and none of the maven ones).
I'll get around to writing a plugin that will generate a property file sometime in the future... -----Original Message----- From: Sean Hennessy [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 4:18 PM To: 'Maven Users List' Subject: RE: listing all the properties set via profiles believe you may need to add the optional dependency for echoproperties. been using this version with success. <dependency> <groupId>ant</groupId> <artifactId>optional</artifactId> <version>1.5.4</version> </dependency> -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 11:26 AM To: Maven Users List Subject: RE: listing all the properties set via profiles 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] --------------------------------------------------------------------- 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]
