diff --git a/jar/plugin.jelly b/jar/plugin.jelly index 3cf5db01..92c62314 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -35,6 +35,10 @@ + + + + diff --git a/jar/plugin.properties b/jar/plugin.properties index 5cd702e0..9ef1a93d 100644 --- a/jar/plugin.properties +++ b/jar/plugin.properties @@ -2,6 +2,7 @@ # P L U G I N P R O P E R T I E S # ------------------------------------------------------------------- maven.jar.manifest.extensions.add=false +#maven.jar.includes= maven.jar.excludes = **/package.html maven.jar.index=false maven.jar.compress=true diff --git a/jar/xdocs/changes.xml b/jar/xdocs/changes.xml index 273f4232..06017d6c 100644 --- a/jar/xdocs/changes.xml +++ b/jar/xdocs/changes.xml @@ -8,12 +8,32 @@ - + + + Remove old nav (current etc) as it was confusing people. + Implement maven.jar.includes as per Eric Giguere's suggestion. + Added manifest Class-Path, specified by setting property jar.manifest.classpath on dependency artifacts in project.xml. + + Reorder Specification-Title/Vendor/Version and Implementation-Title/Vendor/Version + + + Use pom.currentVersion for Specification-Version + + + Fix for maven.jar.manifest.extensions.add not being checked + correctly. + + Fix MAVEN-1009 + + + + + Fixed maven.jar.manifest.extensions.add use. @@ -22,6 +42,7 @@ Maven-755. Add maven.jar.compress. + Added maven.jar.index property diff --git a/jar/xdocs/current/changes.xml b/jar/xdocs/current/changes.xml deleted file mode 100644 index fa11db8d..00000000 --- a/jar/xdocs/current/changes.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - Changes - Emmanuel Venisse - dIon Gillard - - - - - - - Reorder Specification-Title/Vendor/Version and Implementation-Title/Vendor/Version - - - Use pom.currentVersion for Specification-Version - - - Fix for maven.jar.manifest.extensions.add not being checked - correctly. - - Fix MAVEN-1009 - - - - - - - - - Added maven.jar.index property - - - Upgrade to velocity 1.4-dev - - - - - - Initial plugin created. Goals are move from java plugin. - - - - - diff --git a/jar/xdocs/current/goals.xml b/jar/xdocs/current/goals.xml deleted file mode 100644 index 4bd8f1ad..00000000 --- a/jar/xdocs/current/goals.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Maven Java Plug-in Goals - dIon Gillard - Kurt Schrader - Emmanuel Venisse - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GoalDescription
jar:jarLaunch jar:jar goal.
jar:jar - Creates a jar file in the Maven build directory with the - form ${project.id}-${project.currentVersion}.jar where - the id and currentVersion are taken from the project.xml - of the project being built. -
jar:snapshot - Creates a jar file in the Maven build directory with the - form ${project.id}-YYYYMMDD.hhmmss.jar where -
    -
  • - id - taken from the project.xml - of the project being built -
  • -
  • YYYYMMDD - The current year in 8 digit format
  • -
  • hhmmss - the current time in 6 digit format
  • -
-
jar:deploy-snapshot - Deploy a snapshot jar to the remote repository -
jar:deploy - Deploy a jar to the remote repository. The jar is built using - the java:jar goal -
jar:install - Install a jar into the local repository. The jar is built using - the java:jar goal -
jar:install-snapshot - Install a jar into the local repository. The jar is built using - the jar:snapshot goal and copied into the local - repository as the -SNAPSHOT version. -
clean - This goal is a shortcut to the clean:clean goal -
clean:clean - Removes the maven.build.dir and - maven.test.reportsDirectory directories -
-
- -
diff --git a/jar/xdocs/current/index.xml b/jar/xdocs/current/index.xml deleted file mode 100644 index 0cb4b985..00000000 --- a/jar/xdocs/current/index.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Maven Jar Plug-in - Jason van Zyl - Emmanuel Venisse - - - -
-

- This plug-in provides your basic Jar facilities. -

-

- For more information on the functionality provided by this plugin, - please see the Goals document. -

-

- For more information on how to customise the functionality provided - by this plugin, please see the properties - document. -

-
- -
diff --git a/jar/xdocs/current/properties.xml b/jar/xdocs/current/properties.xml deleted file mode 100644 index 6ae74fb6..00000000 --- a/jar/xdocs/current/properties.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - Properties - Stéphane MOR - dIon Gillard - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
maven.has.jar.resource.patternsYes - This is a calculated property based on the value of the - - - - -]]> - section of your - - project descriptor. If there are includes or excludes - elements, this property will be set to true -
maven.jar.excludesYes - Specifies a list of patterns to exclude from the jar process. - The default value is **/package.html, and is used - by the "java:jar" goal. -
maven.jar.indexYes - Whether to create an index list to speed up classloading. - This is a JDK 1.3+ specific feature. Defaults to false. -
maven.jar.manifestYes - Specifies the manifest to be used in the creation of a jar. - This file is 'merged' with the default manifest created by - Maven. Any values specified in the file referenced by this - property will override Maven's defaults. -
maven.jar.manifest.extensions.addYes - Tells maven to add extension information the the jar manifest. - This can cause some applications to break, so it has been disabled by default. - Set to 'true' to enable extension information. -
maven.jar.mainclassYes - Specifies the Main-Class attribute for your manifest. If not set, - no MainClass attribute will be added to the manifest. -
maven.jarResources.basedirYes - The base directory from which resources to be included in a jar can be found. - Defaults to the base directory of the project. -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.repo.centralYes - Central repository for maven artifacts -
maven.repo.central.directoryYes - Directory to deploy jars into on the remote repository -
maven.repo.localYes - The local repository to store maven artifacts, including jar file - dependencies -
maven.usernameYes - This is the user name used to log in to the remote repository -
maven.remote.groupYes - The name of the Unix group that should own deployed artifacts. Default to maven -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.build.destYesThe directory for compiled classes
maven.build.dirYes - Used by the jar:jar goal for -
    -
  • a temporary manifest file, if one is not specified
  • -
  • the assembled jar file
  • -
-
maven.dependency.classpathYes - This property holds the Ant path of all the dependent jar - files listed in the dependencies block of your - - project descriptor -
maven.final.nameYes - Usually this property is set to ${project.id}-${project.currentVersion} - but the snapshot goal overwrites it to be the snapshot signature -
user.nameYes - Used by the java:jar goal as the default value of the - Built-By attribute of the manifest if one is not specified. -
-
- -
diff --git a/jar/xdocs/navigation.xml b/jar/xdocs/navigation.xml index 978d88df..6ecf3cde 100644 --- a/jar/xdocs/navigation.xml +++ b/jar/xdocs/navigation.xml @@ -13,11 +13,6 @@ - - - - - diff --git a/jar/xdocs/properties.xml b/jar/xdocs/properties.xml index bbb751f1..1c33cee5 100644 --- a/jar/xdocs/properties.xml +++ b/jar/xdocs/properties.xml @@ -36,6 +36,14 @@ by the "java:jar" goal. + + maven.jar.includes + Yes + + Specifies a list of patterns to include with the jar process. + The default value is null + + maven.jar.index Yes