maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Hennessy <shenne...@astutenetworks.com>
Subject RE: listing all the properties set via profiles
Date Thu, 28 Feb 2008 21:17:40 GMT
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:ejciramella@upromise.com]
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:ejciramella@upromise.com]
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:ejciramella@upromise.com]
Sent: Thursday, February 28, 2008 1:27 PM
To: users@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message