Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct{}
func (Analyzer) Analyze ¶
func (a Analyzer) Analyze(ctx analyzerapi.AnalyzerContext) []*analyzerapi.ProjectModule
type PomXML ¶
type PomXML struct { XMLName xml.Name `xml:"project"` ArtifactID string `xml:"artifactId"` GroupID string `xml:"groupId"` Version string `xml:"version"` Packaging string `xml:"packaging"` Name string `xml:"name"` Description string `xml:"description"` URL string `xml:"url"` PropJavaVersion string `xml:"properties>java.version"` Build struct { Plugins []struct { GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` Executions []struct { Goals []string `xml:"goals>goal"` } `xml:"executions>execution"` } `xml:"plugins>plugin"` } Repositories []struct { ID string `xml:"id"` URL string `xml:"url"` Layout string `xml:"layout"` Snapshots struct { Enabled bool `xml:"enabled"` } `xml:"snapshots"` Releases struct { Enabled bool `xml:"enabled"` } `xml:"releases"` } `xml:"repositories>repository"` Dependencies []struct { GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` } `xml:"dependencies>dependency"` }
PomXML represents the structure of a Maven pom.xml file
func ParsePackageJSON ¶
ParsePackageJSON will parse the package.json to evaluate its content
Click to show internal directories.
Click to hide internal directories.