Class MavenComponentLibraryInfoSource
- java.lang.Object
-
- org.apache.tapestry5.internal.services.MavenComponentLibraryInfoSource
-
- All Implemented Interfaces:
ComponentLibraryInfoSource
public class MavenComponentLibraryInfoSource extends java.lang.Object implements ComponentLibraryInfoSource
ComponentLibraryInfoSource
implementation based on the pom.xml and pom.properties files Maven places in the /META-INF/maven/[groupId]/[artifactId] folder.
-
-
Constructor Summary
Constructors Constructor Description MavenComponentLibraryInfoSource(org.slf4j.Logger logger, ClasspathScanner classpathScanner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentLibraryInfo
find(LibraryMapping libraryMapping)
Finds information about a component library.
-
-
-
Constructor Detail
-
MavenComponentLibraryInfoSource
public MavenComponentLibraryInfoSource(org.slf4j.Logger logger, ClasspathScanner classpathScanner)
-
-
Method Detail
-
find
public ComponentLibraryInfo find(LibraryMapping libraryMapping)
Description copied from interface:ComponentLibraryInfoSource
Finds information about a component library.- Specified by:
find
in interfaceComponentLibraryInfoSource
- Parameters:
libraryMapping
- theLibraryMapping
that defined a component library.- Returns:
- a
ComponentLibraryInfo
ornull
.
-
-