Class ProjectMetadataReader


  • @Component(role=ProjectMetadataReader.class,
               instantiationStrategy="per-lookup")
    public class ProjectMetadataReader
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.codehaus.plexus.PlexusContainer container  
      private org.codehaus.plexus.logging.Logger log  
      private static java.lang.String PACKAGING_POM  
      private java.util.Map<java.io.File,​ProjectMetadata> projects  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBasedir​(java.io.File basedir)  
      private java.io.File canonify​(java.io.File file)  
      private java.util.Set<java.io.File> getChildren​(java.io.File basedir, PomFile project)  
      java.util.Collection<ProjectMetadata> getProjects()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        @Requirement
        private org.codehaus.plexus.logging.Logger log
      • container

        @Requirement
        private org.codehaus.plexus.PlexusContainer container
      • projects

        private java.util.Map<java.io.File,​ProjectMetadata> projects
    • Constructor Detail

      • ProjectMetadataReader

        public ProjectMetadataReader()
    • Method Detail

      • addBasedir

        public void addBasedir​(java.io.File basedir)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getChildren

        private java.util.Set<java.io.File> getChildren​(java.io.File basedir,
                                                        PomFile project)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • canonify

        private java.io.File canonify​(java.io.File file)