You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/09/23 08:56:48 UTC
[maven-install-plugin] branch MINSTALL-148 created (now 82374f1)
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a change to branch MINSTALL-148
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git.
at 82374f1 [MINSTALL-148] - Document change about createChecksums
This branch includes the following new commits:
new 82374f1 [MINSTALL-148] - Document change about createChecksums
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-install-plugin] 01/01: [MINSTALL-148] - Document change
about createChecksums
Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MINSTALL-148
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
commit 82374f1aac324f3a529a0754d72685f3dda10ae8
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sun Sep 23 10:56:47 2018 +0200
[MINSTALL-148] - Document change about createChecksums
---
src/site/apt/examples/installing-checksums.apt.vm | 55 -----------------------
src/site/apt/index.apt.vm | 6 +++
src/site/site.xml | 1 -
3 files changed, 6 insertions(+), 56 deletions(-)
diff --git a/src/site/apt/examples/installing-checksums.apt.vm b/src/site/apt/examples/installing-checksums.apt.vm
deleted file mode 100644
index 40ee638..0000000
--- a/src/site/apt/examples/installing-checksums.apt.vm
+++ /dev/null
@@ -1,55 +0,0 @@
- ------
- Creating artifact checksums
- ------
- Allan Ramirez
- ------
- 2009-03-22
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/doxia/references/apt-format.html
-
-Creating artifact checksums
-
- The Install Plugin can create integrity checksums (MD5, SHA-1)
- for the artifacts during installation. Checksums are cryptographic hash
- functions and are used to check the integrity of the associated file. This can be
- activated by setting the <<<createChecksum>>> parameter to <<<true>>>.
-
- In the <<<install:install>>> goal.
-
-+---+
-mvn install -DcreateChecksum=true
-+---+
-
-
- In the <<<install:install-file>>> goal.
-
-+---+
-mvn ${project.groupId}:${project.artifactId}:${project.version}:install-file -Dfile=path-to-your-artifact-jar \
- -DgroupId=your.groupId \
- -DartifactId=your-artifactId \
- -Dversion=version \
- -Dpackaging=jar \
- -DcreateChecksum=true
-+---+
-
- <<Note>>: By using the fully qualified path of a goal, you're ensured to be using the preferred version of the maven-install-plugin. When using <<<mvn install:install-file>>>
- its version depends on its specification in the pom or the version of Apache Maven.
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index 8b8884f..04d9249 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -55,6 +55,12 @@ ${project.name}
[]
+* Important Note for Version 3.0.0+
+
+ The {{{./install-mojo.html}install:install}} goal does not support creating checksums anymore
+ via <<<-DcreateChecksum=true>>> cause this option has been removed. Details can be found
+ in {{{https://issues.apache.org/jira/browse/MINSTALL-143}MINSTALL-143}}.
+
* Usage
General instructions on how to use the Install Plugin can be found on the {{{./usage.html}usage page}}. Some more
diff --git a/src/site/site.xml b/src/site/site.xml
index ba6b3a1..0c9a4f5 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -35,7 +35,6 @@ under the License.
<menu name="Examples">
<item name="Installing Artifact with Custom POM" href="examples/custom-pom-installation.html"/>
<item name="Generating Generic POM" href="examples/generic-pom-generation.html"/>
- <item name="Creating Checksums" href="examples/installing-checksums.html"/>
<item name="Updating Release Info" href="examples/update-release-info.html"/>
<item name="Installing to a Specific Local Repository Path" href="examples/specific-local-repo.html"/>
<item name="Installing Secondary Artifacts" href="examples/installing-secondary-artifacts.html"/>