Dear Mark and Tim,
I'm using Netbeans for the maven build and also I'm using default maven
goals. It worked fine till last Friday. Is there any effect from the SVN
repository change which held on last weekend?
Tim,
It shows almost all the java files in the project.
Thanks,
Masha.
On Wed, May 9, 2012 at 4:41 AM, Mark Diggory <[email protected]> wrote:
> Masha and Tim,
>
> Another thought. The license goal shouldn't be getting executed during the
> package phase of our regular build process. Are you executing some other
> mvn goal or phase such as install or deploy?
>
> Mark
>
>
> On Tue, May 8, 2012 at 7:12 AM, Tim Donohue <[email protected]>wrote:
>
>> 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
>>
>
>
>
> --
> [image: @mire Inc.]
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>
------------------------------------------------------------------------------
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