metainf:generatelocationlist
Full name:
org.kuali.maven.plugins:metainf-plugin:1.0.0:generatelocationlist
Description:
Create a location listing file that describes resources inside of a
jar file
Attributes:
- Requires a Maven project to be executed.
Required Parameters
Name |
Type |
Since |
Description |
baseDir |
File |
- |
The directory to scan using the include/exclude patterns. Paths in
outputFile are generated relative to this directory Default value is: ${project.build.outputDirectory}. |
include |
String |
- |
Regular expression pattern for files to include Default value is: **/*. |
outputFile |
File |
- |
The file which will contain classpath: references to
the files that were located Default value is: ${project.build.outputDirectory}/META-INF/classpath.resources. |
Optional Parameters
Name |
Type |
Since |
Description |
exclude |
String |
- |
Regular expression pattern for files to exclude Default value is: **/META-INF/*. |
prefix |
String |
- |
The prefix to insert before the relative path name Default value is: classpath:. |
Parameter Details
baseDir:
The directory to scan using the include/exclude patterns. Paths in
outputFile are generated relative to this directory
- Type: java.io.File
- Required: Yes
- Expression: ${metainf.basedir}
- Default: ${project.build.outputDirectory}
exclude:
Regular expression pattern for files to exclude
- Type: java.lang.String
- Required: No
- Expression: ${metainf.exclude}
- Default: **/META-INF/*
include:
Regular expression pattern for files to include
- Type: java.lang.String
- Required: Yes
- Expression: ${metainf.include}
- Default: **/*
outputFile:
The file which will contain classpath: references to
the files that were located
- Type: java.io.File
- Required: Yes
- Expression: ${metainf.outputFile}
- Default: ${project.build.outputDirectory}/META-INF/classpath.resources
prefix:
The prefix to insert before the relative path name
- Type: java.lang.String
- Required: No
- Expression: ${metainf.prefix}
- Default: classpath: