Yes, looks like a bug.
- Brett
On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
> I'm playing a bit with profiles, and it seems to me that report plugins
> listed in a profile are not added to the list of reports when the profile
> is activated. That is, it seems that when a profile is activated, its
> "reporting" element is not merged with the "reporting" element of the pom.
>
> For instance, try the following command with the pom given below: "m2
> site:site -Denv=TEST"
> -> you will have the JXR report generated, but not the taglist. (and you
> can check that the profile is activated though, because the "index.html"
> generated page shows "Profile Activated" instead of "${foo}" in the
> description)
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
> <modelVersion>4.0.0</modelVersion>
> <groupId>test</groupId>
> <artifactId>test</artifactId>
> <packaging>jar</packaging>
> <name>Test</name>
> <version>1.0.0</version>
> <description>Test project - ${foo}</description>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>jxr-maven-plugin</artifactId>
> <version>2.0-beta-1</version>
> </plugin>
> </plugins>
> </reporting>
> <profiles>
> <profile>
> <id>test-site-profile</id>
> <activation>
> <property>
> <name>env</name>
> <value>TEST</value>
> </property>
> </activation>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>taglist-maven-plugin
> </artifactId>
> <version>2.0-beta-1</version>
> </plugin>
> </plugins>
> </reporting>
> <properties>
> <foo>Profile Activated</foo>
> </properties>
> </profile>
> </profiles>
> </project>
>
> Is this a bug? If so, I will add it to Jira.
>
>
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91 - [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]