[
https://issues.apache.org/jira/browse/RAT-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054737#comment-16054737
]
Martin Gainty commented on RAT-237:
-----------------------------------
If i configure apache-rat-plugin with this configuration:
<configuration>
<readImage>elements\asf_logo_longform.jpg</readImage>
<readImageKey>rdf:li</readImageKey>
<readImageValue>Licensed to the Apache Software Foundation
(ASF) under oneor more contributor license agreements. See the NOTICE
filedistributed with this work for additional informationregarding copyright
ownership. The ASF licenses this fileto you under the Apache License, Version
2.0 (the"License"); you may not use this file except in
compliancewith the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or
agreed to in writing,software distributed under the License is distributed on
an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either
express or implied. See the License for thespecific language governing
permissions and limitationsunder the License.</readImageValue>
i get a match:
RatCheckMojo::execute LINE 258 returned_Value=Licensed to the Apache Software
Foundation (ASF) under oneor more contributor license agreements. See the
NOTICE filedistributed with this work for additional informationregarding
copyright ownership. The ASF licenses this fileto you under the Apache
License, Version 2.0 (the"License"); you may not use this file except
in compliancewith the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or
agreed to in writing,software distributed under the License is distributed on
an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either
express or implied. See the License for thespecific language governing
permissions and limitationsunder the License.
RatCheckMojo::execute LINE 259 readImageValue=Licensed to the Apache Software
Foundation (ASF) under oneor more contributor license agreements. See the
NOTICE filedistributed with this work for additional informationregarding
copyright ownership. The ASF licenses this fileto you under the Apache
License, Version 2.0 (the"License"); you may not use this file except
in compliancewith the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or
agreed to in writing,software distributed under the License is distributed on
an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either
express or implied. See the License for thespecific language governing
permissions and limitationsunder the License.
RatCheckMojo::execute LINE 267
checkReadProperty(readImage=elements\asf_logo_longform.jpg readImageKey=rdf:li
contains readImageValue=Licensed to the Apache Software Foundation (ASF) under
oneor more contributor license agreements. See the NOTICE filedistributed with
this work for additional informationregarding copyright ownership. The ASF
licenses this fileto you under the Apache License, Version 2.0
(the"License"); you may not use this file except in compliancewith
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or
agreed to in writing,software distributed under the License is distributed on
an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either
express or implied. See the License for thespecific language governing
permissions and limitationsunder the License.
notice the readImageValue needs to be 'escaped' with readImageValue =
org.apache.commons.lang.StringEscapeUtils.escapeJava(s);
question1)
i know lawyers like to take a whole page what can be accomplished in 1 sentence
but In wondering if limiting text length for <rdf:li>text</rdf:li> is something
we should limit?
question2)
I need a key to lookup the License text.. in this case it was rdf:li to Locate
the license text
is it reasonable that ops would know the readImageKey tag of <rdf:li> ?
If not how else to lookup license information?
WDYT?
> enable ability to read License/Copyright metadata from metadata-enabled Image
> -----------------------------------------------------------------------------
>
> Key: RAT-237
> URL: https://issues.apache.org/jira/browse/RAT-237
> Project: Apache Rat
> Issue Type: New Feature
> Components: maven
> Affects Versions: 0.12
> Environment: any version maven
> any JDK
> <commercial/opensource> tool to create metadata-enabled Image is ?
> Reporter: Martin Gainty
> Priority: Minor
> Fix For: 0.13
>
> Attachments: asf_logo_longform.jpg, asf_logo_longform.png,
> asf_logo_shortform.jpg, asf_logo_shortform.png
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> An Incubator discussion has started to ensure organisations can authenticate
> proprietary image asset(s)..the first iteration will accomplish this
> objective by verifying the Copyright and or License metadata tag from a
> metadata enabled Image such as a XMP Image...a fork has been created from
> existing apache-rat-plugin codebase and a patch is is ready to verify
> copyright/license data in a metadata enabled Image. Currently seeking
> <commercial/opensource> tool which will insert Copyright/License information
> into Image metadata tag..Eval version photoshop File/FileInfo functionality
> is crippled and will not work. Currently evaluating exiftool...Suggestions
> are Welcome
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)