Hi Folks,

I tried to use flexmojos4-alpha5 + maven-site-plugin 3-beta2 and 3-
beta1.

When I run the task: mvn site, the final folder on target stay just
with the css and js folders.

Here is my POM:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.test</groupId>
        <artifactId>siteproject</artifactId>
        <version>0.1.0</version>
        <packaging>pom</packaging>
        <name>Test Project</name>

        <description>Microfocus</description>

        <modules>
                <module>microfocus-common</module>
                <module>microfocus-client</module>
        </modules>

        <properties>
        <flex.debug>false</flex.debug>
                <flex.framework.version>4.1.0.16248</flex.framework.version>
        <flexunit.version>4.1.0-beta3</flexunit.version>
        <flexpmd.version>1.1</flexpmd.version>

        </properties>


        <build>
                <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-site-plugin</artifactId>
              <version>3.0-beta-3</version>
            </plugin>
          </plugins>
        </pluginManagement>
        <plugins>
          <plugin>
            <artifactId>maven-site-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-descriptor</id>
                <goals>
                  <goal>attach-descriptor</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
        </build>

        <dependencies>

                <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>flex-framework</artifactId>
                <version>${flex.framework.version}</version>
                <type>pom</type>
        </dependency>

                <dependency>
              <groupId>com.adobe.flexunit</groupId>
              <artifactId>flexunit</artifactId>
              <version>${flexunit.version}</version>
              <type>swc</type>
              <scope>test</scope>
            </dependency>

            <dependency>
              <groupId>com.adobe.flex.framework</groupId>
              <artifactId>sparkskins</artifactId>
              <version>4.0.0.12575</version>
              <type>swc</type>
              <scope>theme</scope>
            </dependency>

            <dependency>
              <groupId>com.adobe.flex.framework</groupId>
              <artifactId>sparkskins</artifactId>
              <version>4.0.0.12575</version>
              <type>swc</type>
              <scope>external</scope>
            </dependency>

        </dependencies>


        <repositories>
                <repository>
                        <id>flex</id>
                        
<url>http://repository.sonatype.org/content/groups/flexgroup</url>
                        <name>Sonatype Flex Repo</name>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
                <repository>
                <id>flexmojos-repository</id>
                <url>http://svn.sonatype.org/flexmojos/repository/</url>
        </repository>
                <repository>
                        <id>flash-nexus-repository</id>
                        
<url>http://www.flashnexus.org/nexus/content/groups/public</url>
                </repository>
        </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>flexpmd.opensource.adobe</id>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <name>FlexPMD repository on opensource.adobe.com</name>
            <url>http://opensource.adobe.com/svn/opensource/flexpmd/
maven-repository/release</url>
        </pluginRepository>
    </pluginRepositories>

    <distributionManagement>
      <site>
        <id>topaz.projectsite</id>
        <name>Project Site</name>
        <url>${microfocus.projectsite.url}</url>
      </site>
    </distributionManagement>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>${flexmojos.version}</version>
        <reportSets>
          <reportSet>
            <id>flex-reports</id>
            <reports>
              <report>asdoc-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <!-- Flex PMD -->
      <plugin>
          <groupId>com.adobe.ac</groupId>
          <artifactId>flex-pmd-maven-plugin</artifactId>
          <version>${flexpmd.version}</version>
      </plugin>

      <plugin>
        <groupId>com.adobe.ac</groupId>
        <artifactId>flex-pmd-cpd-maven-plugin</artifactId>
        <version>${flexpmd.version}</version>
        <configuration>
            <minimumTokenCount>25</minimumTokenCount>
        </configuration>
      </plugin>

      <plugin>
        <groupId>com.adobe.ac</groupId>
        <artifactId>flex-pmd-metrics-maven-plugin</artifactId>
        <version>${flexpmd.version}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.6</version>
      </plugin>

    </plugins>
  </reporting>


</project>


Someone used that kind of configuration before ?

Thanks

-- 
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/

Reply via email to