TILES-198
Merge from trunk to TILES_2_0_X branch.
Added "source" and "javadoc" Maven plugins to be attached in the release profile.

git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_2_0_X@584255 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index ae86c60..9577d52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -203,6 +203,30 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-source</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadoc</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
                     <!-- This configuration will be useful when the RAT plugin
                     will be able to fail when a license header is missing
                     <plugin>