Hi together,

I was trying to add a maven module to our version of DSpace to seperate 
our code from the rest. This was needed because of dependency conflicts 
(Our code has dependencies which can't be added to additions/pom.xml 
without problems).
My Problem is that one of the classes in our module is a NamedPlugin 
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the 
custum module is not in the classpath (no dependency in dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom 
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one 
can add local code as a Maven Project for a own AuthenticationMethod (as 
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins 
(implementing an interface from dspace-api/ extending a class from 
dspace-api)?

Thanks in advance
Christian

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to