| Package | Description |
|---|---|
| io.joshworks.snappy.maven.tools |
Tools for generating executable JAR/WAR files.
|
| Modifier and Type | Field | Description |
|---|---|---|
static LibraryScope |
LibraryScope.COMPILE |
The library is used at compile time and runtime.
|
static LibraryScope |
LibraryScope.CUSTOM |
Marker for custom scope when custom configuration is used.
|
static LibraryScope |
LibraryScope.PROVIDED |
The library is needed for compile but is usually provided when running.
|
static LibraryScope |
LibraryScope.RUNTIME |
The library is used at runtime but not needed for compile.
|
| Modifier and Type | Method | Description |
|---|---|---|
LibraryScope |
Library.getScope() |
Return the scope of the library.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
Layout.getLibraryDestination(java.lang.String libraryName,
LibraryScope scope) |
Returns the destination path for a given library.
|
java.lang.String |
Layouts.Jar.getLibraryDestination(java.lang.String libraryName,
LibraryScope scope) |
|
java.lang.String |
Layouts.Module.getLibraryDestination(java.lang.String libraryName,
LibraryScope scope) |
|
java.lang.String |
Layouts.War.getLibraryDestination(java.lang.String libraryName,
LibraryScope scope) |
| Constructor | Description |
|---|---|
Library(java.io.File file,
LibraryScope scope) |
Create a new
Library. |
Library(java.io.File file,
LibraryScope scope,
boolean unpackRequired) |
Create a new
Library. |
Library(java.lang.String name,
java.io.File file,
LibraryScope scope,
boolean unpackRequired) |
Create a new
Library. |
Copyright © 2018. All rights reserved.