Revision: 1433
Author: mcculls
Date: Mon Dec  6 07:53:13 2010
Log: Add source and javadoc to Maven release profile
http://code.google.com/p/google-guice/source/detail?r=1433

Modified:
 /trunk/pom.xml

=======================================
--- /trunk/pom.xml      Wed Nov 24 13:16:07 2010
+++ /trunk/pom.xml      Mon Dec  6 07:53:13 2010
@@ -336,6 +336,38 @@
   <profiles>
     <profile>
       <!--
+       | Release profile: capture source and javadoc
+      -->
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <!--
        | Deployment profile for the Sonatype Grid
       -->
       <id>sonatype-grid</id>

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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/google-guice-dev?hl=en.

Reply via email to