Maven SCA multi module scan different languages with SCA maven plugin


I have a multi-module maven project with the following structure: 

      -> pom.xml
     ->  ProjectA
                        -> pom.xml
                        -> src / main / java
                        -> src / main / resources
                        -> src / main / webapp
    ->   ProjectB 
                        -> pom.xml
                        -> www / src 

In ProjectA there are Java source files, while in the ProjectB (www/src) there are html / js files (so basically, the ProjectB pom.xml does not set any compile information). 

When I do a scan with SCA maven plugin all the files under ProjectA are analyzed, while for the ProjectB the translate phase says that there are no files to Translate. 

The first question is: 

  • Which dirs are exactly analyzed by sca maven plugin ?  Just src/main/java, src/main/resources and src/main/webapp or other dirs ? 

The second question is:

  • Is there a way to properly configure the maven modules in order to fully translate also ProjectB javascript  / html source code that does not contain java source files? 


Thanks in advance

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.