Another question regarding the aggregate parameter of the asdoc
goal... I've looked into previous posts, I've looked into the
documentation, but nothing worked out for me so far.
According to the documentation, if you set aggregate to true,
flexmojos "will treat multi-modules projects as only one project".
Now, I have the following project setup:
project folder
╚ moduleA
║ ╚ src
║ ╚ pom.xml
╚ moduleB
║ ╚ src
║ ╚ pom.xml
╚ moduleC
║ ╚ src
║ ╚ pom.xml
╚ pom.xml
The pom.xml of each module references the top pom.xml as parent pom.
In the parent pom, I have set the aggregate parameter to true:
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>asdoc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
When I run the build, the asdoc task is skipped for each module with
the "Skipping asdoc execution, aggregate mode active." message.
But when finally the parent pom itself is built, it skips the asdoc
task as well with the "Skipping asdoc, source path doesn't exist."
message, so I end up with no documentation at all. As you can see
above, the project folder does not have any source folders, and it's
not supposed to.
Adding the docSources or docClasses tags to the configuration won't do
anything either, it still skips the documentation generation. If a add
a dummy source folder to the project folder, I only get an empty
documentation.
Maybe I misunderstand the mechanic? How do I get flexmojos to actually
aggregate the documentations? Is there some working example I can take
a look at?
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/