All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sonar.archetypes.sonar-gwt-plugin.1.12RC1.source-code.pom.xml Maven / Gradle / Ivy

There is a newer version: 1.12.1
Show newest version
<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>

  <parent>
    <groupId>org.codehaus.sonar.archetypes</groupId>
    <artifactId>sonar-archetypes</artifactId>
    <version>1.12RC1</version>
  </parent>

  <artifactId>sonar-gwt-plugin</artifactId>
  <packaging>jar</packaging>
  <name>Sonar archetype of GWT plugin</name>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>build-archetype</id>
            <phase>package</phase>
            <configuration>
              <tasks>
                <delete dir="target/archetype" />
                <concat destfile="target/archetype/GWT-TestPlugin.sh">mvn gwt:run
                  -DrunTarget=org.codehaus.sonar.page.GwtSamplePage/test.html
                </concat>
                <ant antfile="../build.xml" dir="." target="install-archetype">
                  <property name="sonarArchetypeVersion" value="${version}" />
                  <property name="mainPackage" value="org.sonar.plugins.gwtsample" />
                  <property name="mainClass" value="GwtSamplePlugin" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          <execution>
            <id>test-archetype</id>
            <phase>integration-test</phase>
            <configuration>
              <tasks>
                <ant antfile="../build.xml" dir="." target="test">
                  <property name="archetype" value="${pom.artifactId}-archetype" />
                  <property name="version" value="${pom.version}" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          <execution>
            <id>deploy-archetype</id>
            <phase>deploy</phase>
            <configuration>
              <tasks>
                <ant antfile="../build.xml" dir="." target="deploy" />
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

    </plugins>
  </build>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy