Full name:
org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1:install-file
Description:
Installs a file in the local repository.
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<file> |
Path |
- |
The file to be installed in the local repository. |
Name | Type | Since | Description |
---|---|---|---|
<artifactId> |
String |
- |
ArtifactId of the artifact to be installed. Retrieved from POM file if one is specified or extracted from pom.xml in jar if available. |
<classifier> |
String |
2.2 |
Classifier type of the artifact to be installed. For example, "sources" or "javadoc". Defaults to none which means this is the project's main artifact. |
<generatePom> |
Boolean |
2.1 |
Generate a minimal POM for the artifact if none is supplied via the parameter pomFile . Defaults to true if there is no existing POM in the local repository yet. |
<groupId> |
String |
- |
GroupId of the artifact to be installed. Retrieved from POM file if one is specified or extracted from pom.xml in jar if available. |
<javadoc> |
Path |
2.3 |
The bundled API docs for the artifact. |
<localRepositoryPath> |
Path |
2.2 |
The path for a specific local repository directory. If not specified the local repository path configured in the Maven settings will be used. |
<packaging> |
String |
- |
Packaging type of the artifact to be installed. Retrieved from POM file if one is specified or extracted from pom.xml in jar if available. |
<pomFile> |
Path |
2.1 |
Location of an existing POM file to be installed alongside the main artifact, given by the file parameter. |
<sources> |
Path |
2.3 |
The bundled sources for the artifact. |
<version> |
String |
- |
Version of the artifact to be installed. Retrieved from POM file if one is specified or extracted from pom.xml in jar if available. |
pom.xml
in jar if available.java.lang.String
No
java.lang.String
2.2
No
java.nio.file.Path
Yes
pomFile
. Defaults to true
if there is no existing POM in the local repository yet.java.lang.Boolean
2.1
No
pom.xml
in jar if available.java.lang.String
No
java.nio.file.Path
2.3
No
java.nio.file.Path
2.2
No
pom.xml
in jar if available.java.lang.String
No
file
parameter.java.nio.file.Path
2.1
No
java.nio.file.Path
2.3
No
pom.xml
in jar if available.java.lang.String
No