diff --git a/jar/plugin.jelly b/jar/plugin.jelly
index ef382a9b..691e1e1b 100644
--- a/jar/plugin.jelly
+++ b/jar/plugin.jelly
@@ -63,7 +63,11 @@
You must define currentVersion in your POM.
-
+
+
+
+
+
@@ -269,4 +273,17 @@
project="${pom}"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jar/plugin.properties b/jar/plugin.properties
index cc400958..6ddc555c 100644
--- a/jar/plugin.properties
+++ b/jar/plugin.properties
@@ -24,3 +24,5 @@ maven.jar.manifest.extensions.add=false
maven.jar.excludes = **/package.html
maven.jar.index=false
maven.jar.compress=true
+maven.jar.include.source=false
+maven.jar.source.path=src
\ No newline at end of file
diff --git a/jar/project.xml b/jar/project.xml
index 292dd433..22838ced 100644
--- a/jar/project.xml
+++ b/jar/project.xml
@@ -23,7 +23,7 @@
3
maven-jar-plugin
Maven Jar Plug-in
- 1.6
+ 1.6.1-SNAPSHOT
Plugin for creating JAR files. Requires Maven 1.0 RC2.
Create jar files
http://maven.apache.org/reference/plugins/jar/
diff --git a/jar/src/plugin-test/.cvsignore b/jar/src/plugin-test/.cvsignore
new file mode 100644
index 00000000..b0afd1ae
--- /dev/null
+++ b/jar/src/plugin-test/.cvsignore
@@ -0,0 +1,2 @@
+gump.xml
+*.log
diff --git a/jar/src/plugin-test/maven.xml b/jar/src/plugin-test/maven.xml
new file mode 100644
index 00000000..18d11770
--- /dev/null
+++ b/jar/src/plugin-test/maven.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jar/src/plugin-test/project.xml b/jar/src/plugin-test/project.xml
new file mode 100644
index 00000000..b5ea5c6d
--- /dev/null
+++ b/jar/src/plugin-test/project.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+ 3
+ test-maven-jar-plugin
+ Test project for Maven Jar Plugin
+ maven
+ 1.0-SNAPSHOT
+
+ Apache Software Foundation
+ http://www.apache.org/
+ http://maven.apache.org/images/jakarta-logo-blue.gif
+
+ 2001
+ org.apache.maven
+ http://maven.apache.org/images/maven.jpg
+ Test for Maven Jar plugin
+ Test for Maven Jar plugin
+ http://maven.apache.org/reference/plugins/jar/
+ /www/maven.apache.org/reference/plugins/jar/
+
+ scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/jar/
+ http://cvs.apache.org/viewcvs/maven/src/plugins-build/jar/
+
+
+
+ dIon Gillard
+ dion
+ dion@multitask.com.au
+ Multitask Consulting
+
+ Documentation
+
+
+
+
+
+ src/main
+
+
diff --git a/jar/src/plugin-test/src/main/org/apache/maven/Dummy.java b/jar/src/plugin-test/src/main/org/apache/maven/Dummy.java
new file mode 100644
index 00000000..b966b0c8
--- /dev/null
+++ b/jar/src/plugin-test/src/main/org/apache/maven/Dummy.java
@@ -0,0 +1,6 @@
+package org.apache.maven;
+
+public class Dummy
+{
+ public String badChecky = "error";
+}
\ No newline at end of file
diff --git a/jar/xdocs/changes.xml b/jar/xdocs/changes.xml
index 09fd3ba0..c061598d 100644
--- a/jar/xdocs/changes.xml
+++ b/jar/xdocs/changes.xml
@@ -25,6 +25,9 @@
dIon Gillard
+
+ Add the ability to create source jars
+
Use the artifact plugin for installation
Replace Apache Jakarta Maven by Apache Maven in Manifest
diff --git a/jar/xdocs/properties.xml b/jar/xdocs/properties.xml
index fe3abf3d..4d8a0cf4 100644
--- a/jar/xdocs/properties.xml
+++ b/jar/xdocs/properties.xml
@@ -62,6 +62,14 @@
The default value is null
+
+ | maven.jar.include.source |
+ Yes |
+
+ Whether the source should be included in the jar.
+ The default value is false
+ |
+
| maven.jar.index |
Yes |
@@ -131,11 +139,19 @@
project descriptor
-
- | maven.jar.compress |
- Yes |
- Not only store data but also compress them, defaults to true. |
-
+
+ | maven.jar.compress |
+ Yes |
+ Not only store data but also compress them, defaults to true. |
+
+
+ | maven.jar.source.path |
+ Yes |
+
+ The location of the source code within the jar, if included.
+ The default value is src
+ |
+