[ 
http://jira.codehaus.org/browse/MDOAP-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Siveton closed MDOAP-27.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Vincent Siveton

MDOAP-24 fixed this issue and I added a validate parameter to validate the 
generated doap file using jena. Snapshot deployed.

> Generated files aren't useable with Jena
> ----------------------------------------
>
>                 Key: MDOAP-27
>                 URL: http://jira.codehaus.org/browse/MDOAP-27
>             Project: Maven 2.x DOAP Plugin
>          Issue Type: Bug
>            Reporter: Christian Mahnke
>            Assignee: Vincent Siveton
>             Fix For: 1.1
>
>
> I'm generating a DOAP file for deployment, the resulting file isn't parseable 
> by Jena, here the exception:
> Caused by: com.hp.hpl.jena.rdf.model.LiteralRequiredException: Apache UGH 
> metadata library
>       at 
> com.hp.hpl.jena.rdf.model.impl.StatementImpl.getLiteral(StatementImpl.java:101)
>       at 
> com.hp.hpl.jena.rdf.model.impl.StatementBase.getString(StatementBase.java:127)
>       at 
> uk.ac.osswatch.simal.model.jena.Resource.getLiteralValue(Resource.java:198)
>       at 
> uk.ac.osswatch.simal.model.jena.DoapResource.getName(DoapResource.java:77)
>       at 
> uk.ac.osswatch.simal.wicket.panel.ProjectSummaryPanel.populatePage(ProjectSummaryPanel.java:83)
>       at 
> uk.ac.osswatch.simal.wicket.panel.ProjectSummaryPanel.<init>(ProjectSummaryPanel.java:65)
>       at uk.ac.osswatch.simal.wicket.UserHomePage.<init>(UserHomePage.java:32)
>       ... 32 more
> The offending fragment of the DOAP file:
>     <!-- 
> ====================================================================== -->
>     <!-- A name of something.                                                 
>   -->
>     <!-- 
> ====================================================================== -->
>     <name rdf:resource="Apache UGH metadata library"/>
> Note the spaces in the rdf:resource attribute. The Plugin should probably do 
> a sanity check.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to