<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">
  <parent>
    <groupId>org.codehaus.mevenide</groupId>
    <artifactId>mevenide2-parent</artifactId>
    <version>1.5</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>netbeans</artifactId>
  <packaging>pom</packaging>
  <name>NetBeans Support</name>
  <description>NetBeans Support</description>
  <version>3.0.10</version>
  <inceptionYear>2005</inceptionYear>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <profiles>
      <profile>
          <id>experimental</id>
          <modules>
             <module>nb-repo-browser</module>
             <module>libs/continuum-rpc</module>
             <module>continuum</module>
	     <module>graph</module>
             <!-- move archetypeng to experimental once it's maven plugin is in some kind of 
             remote repository-->
             <!--module>archetypeng</module-->
	     <module>webframeworks</module>
          </modules>
       </profile>
      
      <profile>
          <id>lint-compile</id>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-compiler-plugin</artifactId>
                      <version>2.0.1</version>
                      <configuration>
                          <showDeprecation>true</showDeprecation>
                          <compilerVersion>1.5</compilerVersion>
                          <source>1.5</source>
                          <target>1.5</target>
                          <compilerArgument>-Xlint</compilerArgument>
                          <encoding>UTF-8</encoding>
                      </configuration>
                  </plugin>
              </plugins>
          </build>
      </profile>
      <profile>
          <id>l10n</id>
          <pluginRepositories>
              <pluginRepository>
                  <id>codehaus.snapshot</id>
                  <url>http://snapshots.repository.codehaus.org</url>
              </pluginRepository>
          </pluginRepositories>
          <repositories>
              <repository>
                  <id>codehaus.snapshot</id>
                  <url>http://snapshots.repository.codehaus.org</url>
              </repository>
          </repositories>
          <build>
              <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>l10n-maven-plugin</artifactId>
                        <version>1.0-SNAPSHOT</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>pseudo</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
              </plugins>
          </build>
          <reporting>
              <plugins>
                  <plugin>
                      <groupId>org.codehaus.mojo</groupId>
                      <artifactId>l10n-maven-plugin</artifactId>
                      <version>1.0-SNAPSHOT</version>
                      <configuration>
                          <aggregate>true</aggregate>
                          <locales>
                              <locale>zh_CN</locale>
                              <locale>pt_BR</locale>
                              <locale>ja</locale>
                          </locales>
                      </configuration>
                  </plugin>
              </plugins>
          </reporting>
      </profile>

  </profiles>
  <build>
      <pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.codehaus.modello</groupId>
                <artifactId>modello-maven-plugin</artifactId>
                <version>1.0-alpha-15</version>
                </plugin>
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>2.0.1</version>
              <configuration>
                  <showDeprecation>true</showDeprecation>
                  <compilerVersion>1.5</compilerVersion>
                  <source>1.5</source>
                  <target>1.5</target>
                  <encoding>UTF-8</encoding>
              </configuration>
          </plugin>
        </plugins>
      </pluginManagement>
  </build>
  <modules>
     <module>nb-project</module>
     <module>libs</module>
     <!--module>continuum</module-->
     <module>grammar</module>
     <module>j2ee</module>
     <module>persistence</module>
     <module>autoupdate</module>
     <module>feature</module>
     <module>plugin-bridges</module>
     <module>ide-mojos</module>
     <module>netbeans-repository</module>
     <module>apisupport</module>
     <module>junit</module>
     <!--module>nb-repo-browser</module-->
     <!--module>graph</module-->
  </modules>
    <repositories>
        <repository>
            <id>netbeans</id>
            <name>repository hosting netbeans.org api artifacts</name>
            <url>http://deadlock.netbeans.org/maven2</url>
            <releases>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
    </repositories>
  
  <properties>
      <!--a fallback to make it work everywhere -->
      <java15.home>${java.home}/..</java15.home>
      <!-- the version of netbeans we depend on-->
       <netbeans.release>RELEASE60-BETA2</netbeans.release>
       <mevenide.nb.release>3.0.10</mevenide.nb.release>
  </properties>
  <!--reporting>
      <plugins>
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
              <version>RELEASE</version>
              <configuration>
                  <aggregate>true</aggregate>
              </configuration>
          </plugin>
      </plugins>
  </reporting-->

</project>
