• How to Develop for OpenKM 5.1

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13372  by Kumar
 
Hi,
I am trying to develop Openkm, and checkout the code through Maven but the code compiled automatically. The following are the errors I got while build automatically:

1. ArtifactTransferException: Failure to transfer
org.apache.derby:derby:jar:10.5.3.0_1 from
http://repo1.maven.org/maven2 was cached in the local reposirory,
resolution will not be reattempted untill the update interval of
central has elapsed or updates are forc

2. Missing artifact com.openkm:extensions-full:jar:LTE

3. Missing artifact org.apache.derby:derby:jar:10.5.3.0_1 in
pom.xml /openkm line 2 Maven Dependency Problem

4.The container 'Maven Dependencies' references non existing library
'C:\Users\Administrator\.m2\repository\org\apache\derby\derby\10.5.3.0_1\derby-10.5.3.0_1.jar' openkm Build
path Build Path Problem

5. The project cannot be built until build path errors are
resolved openkm Unknown Java Problem.



Iam tried on Windows server 2008. Can any one tell how to resolve those Errors to build the Code successfully.





Thanks in Advance,
Kumar
 #13476  by Kumar
 
Hi Jilort,
I am new to OpenKM and have gone through documentation about OpenKM and started developing.

First I prepared developing environment by installing softwares like JDK 1.6, Eclipse Indigo, Maven 3.0, Subeclipse. After this I checkout the code through Maven using link https://openkm.svn.sourceforge.net/svnr ... unk/openkm.
Here I came to know that after completing openkm downloading it will automatically compiled. But when I am look into the target folder I am able to see only one folder that is test-classes folder. There was no openkm.war, pom.xml etc.,

What was the mistake I did here to get other files like openkm.war... If I did any thing wrong then please tell me how can I build my openkm code ?


Thanks in Advance,
Ashwin
 #13513  by jllort
 
OpenKM.war is generated by maven. Contextual menu, Run As -> Maven package

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.