Hi Masha, Maven usually will also report the exact files which it found to not have a proper header. Was there any additional information provided when you ran Maven?
If you scroll up in your Maven response, you should find some information similar to this reported: [INFO] --- maven-license-plugin:1.9.0:check (check-headers) @ dspace-api --- [INFO] Checking licenses... [INFO] Missing header in: C:\DSpace-src\dspace-api\src\main\java\org\dspace\administer\DCType.java Note the last line which should tell you the exact class that is missing the header. So, search your Maven results to find a line that starts with "Missing header in:" to determine which file it's reporting issues with. Finally, I should note that DSpace should only check headers when you run a "mvn install". If you instead run "mvn package" then the 'check headers' step should be skipped over. - Tim On 5/8/2012 4:34 AM, Masha Watts wrote: > Dear All, > > I'm getting following error during the maven build. It says *[Missing > header]*. But when I go to individual java files, those contains the > default license text. > > Failed to execute goal > com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:check > (check-headers) on project dspace-jspui-api: Some files do not have the > expected license header -> [Help 1] > > To see the full stack trace of the errors, re-run Maven with the -e switch. > Re-run Maven using the -X switch to enable full debug logging. > > For more information about the errors and possible solutions, please > read the following articles: > [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > > Can somebody help me on this. > > Masha. > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

