Source

Jettify / pom.xml

Full commit
<?xml version="1.0" encoding="UTF-8"?>
<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>org.bitumenframework.jettify</groupId>
  <artifactId>jettify</artifactId>
  <version>0.2</version>
  <packaging>pom</packaging>
  <name>Jettify Project</name>
  <modules>
    <module>jettify-parent</module>
  </modules>
  
  <developers>
    <developer>
      <id>kumarshantanu</id>
      <name>Shantanu Kumar</name>
      <email>kumar.shantanu@gmail.com</email>
      <roles>
        <role>architect</role>
        <role>developer</role>
      </roles>
      <timezone>+5:30</timezone>
      <properties>
        <picUrl>http://www.gravatar.com/avatar/39f90a6c0ffe4995fb9dff4fb6b6bad6.png</picUrl>
      </properties>
    </developer>
  </developers>
  
  <build>
    <plugins>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <!--<version>2.1.1</version>-->
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>verify</phase>
            <goals>
              <!--<goal>jar-no-fork</goal>-->
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <groupId>org.apache.maven.plugins</groupId>
        <!--<version>2.2-beta-3</version>-->
        <!--
        <executions>
          <execution>
            <id>package</id>
            <goals>
              <goal>single</goal>
            </goals>
            <phase>package</phase>
          </execution>
        </executions>
        -->
        <configuration>
          <!--
          <descriptorRefs>
            <descriptorRef>bin</descriptorRef>
          </descriptorRefs>
          -->
          <descriptors>
            <descriptor>src/assemble/bin.xml</descriptor>
            <descriptor>src/assemble/src.xml</descriptor>
          </descriptors>
          <useTransitiveDependencies>false</useTransitiveDependencies>
        </configuration>
      </plugin>
      
    </plugins>
  </build>
  
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <!--<version>2.1.1</version>-->
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <!--<goal>jar-no-fork</goal>-->
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  
</project>