Package org.apache.tapestry5.internal.services

## Class MavenComponentLibraryInfoSource

- java.lang.Object
- - org.apache.tapestry5.internal.services.MavenComponentLibraryInfoSource

- All Implemented Interfaces:
    `ComponentLibraryInfoSource`

      public class MavenComponentLibraryInfoSource
      extends 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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 interface `ComponentLibraryInfoSource`
      Parameters:
        `libraryMapping` - the `LibraryMapping` that defined a component library.
      Returns:
        a `ComponentLibraryInfo` or `null`.