git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [JGIT PATCH] Addition of source and javadoc plugins to maven script
@ 2009-04-01 11:48 Constantine Plotnikov
  2009-04-01 11:50 ` [JGIT PATCH v2] " Constantine Plotnikov
  0 siblings, 1 reply; 2+ messages in thread
From: Constantine Plotnikov @ 2009-04-01 11:48 UTC (permalink / raw)
  To: git

When JGIT jar is bundled with projects, it often needed
to inspect JGIT sources in order to look for documentation
and implementation. The sources are also very useful during
debugging. The patch adds source plugin that builds source jar,
so the matching version of the source.jar could be easily
bundled. The javadoc plugin generates ready to use archive with
javadoc.
---
 jgit-maven/jgit/pom.xml |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/jgit-maven/jgit/pom.xml b/jgit-maven/jgit/pom.xml
index c370783..75c4b75 100644
--- a/jgit-maven/jgit/pom.xml
+++ b/jgit-maven/jgit/pom.xml
@@ -169,6 +169,26 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                     </includes>
                 </configuration>
            </plugin>
+           <plugin>
+               <artifactId>maven-source-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <goals>
+                           <goal>jar</goal>
+                       </goals>
+                   </execution>
+               </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <dependencies>
-- 
1.6.0.2.1172.ga5ed0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [JGIT PATCH v2] Addition of source and javadoc plugins to maven  script
  2009-04-01 11:48 [JGIT PATCH] Addition of source and javadoc plugins to maven script Constantine Plotnikov
@ 2009-04-01 11:50 ` Constantine Plotnikov
  0 siblings, 0 replies; 2+ messages in thread
From: Constantine Plotnikov @ 2009-04-01 11:50 UTC (permalink / raw)
  To: git

When JGIT jar is bundled with projects, it often needed
to inspect JGIT sources in order to look for documentation
and implementation. The sources are also very useful during
debugging. The patch adds source plugin that builds source jar,
so the matching version of the source.jar could be easily
bundled. The javadoc plugin generates ready to use archive with
javadoc.

Signed-off-by: Constantine Plotnikov <constantine.plotnikov@gmail.com>
---
Forgot Signed-off-by in the previous version.

 jgit-maven/jgit/pom.xml |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/jgit-maven/jgit/pom.xml b/jgit-maven/jgit/pom.xml
index c370783..75c4b75 100644
--- a/jgit-maven/jgit/pom.xml
+++ b/jgit-maven/jgit/pom.xml
@@ -169,6 +169,26 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                     </includes>
                 </configuration>
            </plugin>
+           <plugin>
+               <artifactId>maven-source-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <goals>
+                           <goal>jar</goal>
+                       </goals>
+                   </execution>
+               </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <dependencies>
-- 
1.6.0.2.1172.ga5ed0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-01 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 11:48 [JGIT PATCH] Addition of source and javadoc plugins to maven script Constantine Plotnikov
2009-04-01 11:50 ` [JGIT PATCH v2] " Constantine Plotnikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).