diff --git a/scanners/example-scanner/pom.xml b/scanners/example-scanner/pom.xml index 4f55071..2f110cc 100755 --- a/scanners/example-scanner/pom.xml +++ b/scanners/example-scanner/pom.xml @@ -14,28 +14,26 @@ pom - - ${project.basedir}/../../extractors/dependency-extractors/ae-dependency-extractor/target/scan - + 0.113.0 + 0.106.0 1.7.0 + + - - org.apache.maven.plugins - maven-dependency-plugin - + org.metaeffekt.core ae-inventory-maven-plugin + com.metaeffekt.artifact.analysis ae-artifact-analysis-plugin - ${ae.artifact.analysis.version} @@ -77,20 +75,20 @@ ${project.build.directory}/scan false - true + true + true false false - false - false - false - false false + false + false false + false + false false false false - false + + + + + + + + + + + + org.metaeffekt.core + ae-inventory-maven-plugin + + + + + com.metaeffekt.artifact.analysis + ae-artifact-analysis-plugin + + + + + + + + + org.metaeffekt.core + ae-inventory-maven-plugin + ${ae.core.version} + + + + prepare-scan-directory + + prepare-scan-directory + + generate-sources + + ${source.dir} + ${project.build.directory}/scan + + **/* + + + ---nothing--- + + + + + + create-scan-report + + create-directory-report + + process-sources + + ${project.build.directory}/scan + + false + true + true + + false + false + false + false + false + false + false + false + false + false + false + + + + ${project.basedir}/src/analysis + component-patterns.xls + + **/* + -none- + + + ${project.build.directory}/inventory + + + + + + + com.metaeffekt.artifact.analysis + ae-artifact-analysis-plugin + ${ae.artifact.analysis.version} + + + extract + + extract-artifacts + + compile + + + ${project.basedir}/src/analysis/ + component-patterns.xls + + + + scan + + scan-artifacts + report-artifacts + + compile + + + ${project.basedir}/src/analysis + reference-inventory.xls + + + + + ${project.artifactId} + + ${project.basedir}/src/analysis/scan-control.properties + + com.metaeffekt.universe + ae-metaeffekt-universe + ${ae.universe.version} + + ${universe.consumer.password} + ${universe.consumer.keys} + + + + + + + diff --git a/scanners/scanner-template/src/analysis/component-patterns.xls b/scanners/scanner-template/src/analysis/component-patterns.xls new file mode 100755 index 0000000..62b64c3 Binary files /dev/null and b/scanners/scanner-template/src/analysis/component-patterns.xls differ diff --git a/scanners/scanner-template/src/analysis/reference-inventory.xls b/scanners/scanner-template/src/analysis/reference-inventory.xls new file mode 100755 index 0000000..2f990aa Binary files /dev/null and b/scanners/scanner-template/src/analysis/reference-inventory.xls differ diff --git a/scanners/scanner-template/src/analysis/scan-control.properties b/scanners/scanner-template/src/analysis/scan-control.properties new file mode 100755 index 0000000..6ed790f --- /dev/null +++ b/scanners/scanner-template/src/analysis/scan-control.properties @@ -0,0 +1,34 @@ +# These includes/excludes apply to unpacked analysis folder of an artifact in the analysis folder and specify the +# files included in the scanning process. +analyze.metascan.license.includes=**/* +analyze.metascan.license.excludes=\ + **/.DS_Store,**/._*,\ + **/.git/**/*,**/.git*,**/.git*,\ + **/.svn/**/*,\ + **/*.mp4,**/*.class,\ + **/*.so,**/*.so.*,**/*.a,\ + **/debug/core,**/Debug/core + +# Segmentation filter includes/ignores. These includes specify which scan results contribute to the derived results. +# Licenses in filtered files are still reported as identified terms. Licenses in files that are ignored are not +# # reported. +analyze.scan.segmentation.ignore.includes=--none-- +analyze.scan.segmentation.filter.includes=--none-- + +# enable scanning features +analyze.scan.pom.enabled=true +analyze.scan.license.enabled=true +analyze.scan.segmentation.enabled=true + +# these scanning features require scancode; currently disabled +analyze.scan.scancode.enabled=false +analyze.scan.copyright.segmentation.enabled=true + +# control overwrites; false means that scans are not overwritten and reused to boost performance of the scan +analyze.scan.license.overwrite=false +analyze.scan.scancode.overwrite=false +analyze.scan.segmentation.overwrite=false +analyze.scan.copyright.segmentation.overwrite=false + +# forces html reports are produced when true +analyze.metascan.report.force=false