Page 1 of 1

Error building code using Maven

PostPosted:Sat Jun 30, 2012 5:44 am
by nour
hi guys

i'm having a difficulty in buliding code using maven for OpenKM 5.1.10 and i\m getting the following error
Code: Select all
[ERROR] Failed to execute goal on project openkm: Could not resolve dependencies
 for project com.openkm:openkm:war:5.1.10: The following artifacts could not be
resolved: com.ettrema:milton-api:jar:1.7.1, com.ettrema:milton-servlet:jar:1.7.1
: Could not find artifact com.ettrema:milton-api:jar:1.7.1 in jboss.org (http://
repository.jboss.org/nexus/content/groups/public) -> [Help 1]


any ideas?

Re: Error building code using Maven

PostPosted:Sun Jul 01, 2012 8:13 am
by shaardu
Open pom.xml and change the api which is 1.7.1 to 1.6.8 at milton....Hope this helps.

Re: Error building code using Maven

PostPosted:Sun Jul 01, 2012 7:13 pm
by nour
Thanks,,

used the same idea but with version 1.7.2 and it worked ok

Re: Error building code using Maven

PostPosted:Mon Jul 02, 2012 6:44 pm
by pavila
Milton Maven repository has some problems, because some version are missing.