unable to compile jasperreports server 4.7.1 - "http://jasperforge.org/svn/repos/maven2" unavailable

5

Hi,

Can anyone please help to resolve the following build error issue?

Was able to build the japserserver without any issues until last Tuesday, 11/20.  Since 11/21 unable to do the build with this error: http://jasperforge.org/svn/repos/maven2 unavailable.  Is there a way to tell maven to not look in that URL?

Error:

(java) (ERROR) Failed to execute goal on project jasperserver-war: Could not resolve dependencies for project com.jaspersoft.jasperserver:jasperserver-war:war:4.7.1: Failed to collect dependencies for [com.jaspersoft.jasperserver:jasperserver-war-jar:jar:4.7.1
(compile), com.jaspersoft.jasperserver:jasperserver-export-tool:jar:4.7.1
(compile), com.jaspersoft.jasperserver:jasperserver-ws-server:jar:4.7.1
(compile), com.jaspersoft.jasperserver:jasperserver-search:jar:4.7.1
(compile), com.jasperso
ework:spring-core:jar:3.1.0.RELEASE
(compile), org.springframework:spring-beans:jar:3.1.0.RELEASE
(compile), org.springframework:spring-tx:jar:3.1.0.RELEASE
(compile), org.springframework:spring-context:jar:3.1.0.RELEASE
(compile), org.springframework.ldap:spring-ldap-core:jar:1.3.0.RELEASE
(compile), org.springframework.ldap:spring-ldap-core-tiger:jar:1.3.0.RELEASE
(compile), org.springframework.security:spring-security-cas-client:jar:2.0.7.RELEASE
(compile), org.hibernate:hibernate-jmx:jar:3.3.2.G
ar:2.2
(compile), commons-net:commons-net:jar:3.1
(compile), org.easymock:easymock:jar:3.0 (test), com.jaspersoft.jasperserver.api.metadata.impl:jasperserver-repository-hibernate:jar:4.7.1 (compile), net.sf.jasperreports:jasperreports-fonts:jar:4.5.0
(compile), net.sf.jasperreports:jasperreports-chart-themes:jar:4.7.0
(compile), net.sf.jasperreports:jasperreports-ofc:jar:4.7.0
(compile), org.apache.velocity:velocity:jar:1.7
(compile), iReport:iReport-utils:jar:2.0.1 (compile), rhino:js:jar:1.7R1 (ru
ve:hive-service:jar:0.8.1
(compile), org.apache.hive:hive-exec:jar:0.8.1
(compile), org.apache.thrift:libfb303:jar:0.7.0
(compile), org.slf4j:slf4j-api:jar:1.6.1
(compile), org.slf4j:slf4j-log4j12:jar:1.6.1
(compile), junit:junit:jar:4.8.1 (test), commons-logging:commons-logging:jar:1.0.4
(compile)]: Failed to read artifact descriptor for org.apache.hadoop:hadoop-core:jar:0.20.1: Could not transfer artifact org.apache.hadoop:hadoop-core:pom:0.20.1 from/to JasperForge Maven Repository (http://jasperf
     (java) (ERROR)
     (java) (ERROR) To see the full stack trace of the errors, re-run Maven with the -e switch.
     (java) (ERROR) Re-run Maven using the -X switch to enable full debug logging.
     (java) (ERROR)
     (java) (ERROR) For more information about the errors and possible solutions, please read the following articles:
     (java) (ERROR) [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
     (java) (ERROR)
     (java) (ERROR) After correcting the problems, you can resume the build with the command
     (java) (ERROR)   mvn -rf :jasperserver-war
 

alamuvinai's picture
Joined: Nov 26 2012 - 9:33am
Last seen: 3 years 5 months ago

hi,

thanks so much for the response

code.jaspersoft.com/svn/repos requires authorization.
The error above is during the build process "ant build-ce build-pro"

during the build process, building jasperserver points to http://jasperforge.org/svn/repos/maven2, can you please point out which file to modify to use the updated url - so that the build would be success?

alamuvinai - 6 years 4 months ago

Is there an update on how the repository can now be accessed?

velo - 6 years 4 months ago
You have to use anonsvn:anonsvn. See http://anonsvn:anonsvn@code.jaspersoft.com/svn/repos/jasperserver for example, or use "Browse Source Code" link
nbochenko - 6 years 3 months ago
show 1 more...
How come on code.jaspersoft.com/svn/repos/maven2 we could only see maven artifacts up to 3.7.1.1 ? For example, check out http://code.jaspersoft.com/svn/repos/maven2/jasperreports/jasperreports/ Today is Feb 5, 2013
leeyuiwah_1 - 6 years 2 months ago

2 Answers:

1

Point it to code.jaspersoft.com/svn/repos... instead.  The source code repositories have been moved to here with the move from jasperforge.org.

mgeise's picture
16116
Joined: Mar 5 2007 - 6:18am
Last seen: 2 days 13 hours ago

hi, code.jaspersoft.com/svn/repos requires authorization.
The error above is during the build process "ant build-ce build-pro"

during the build process, building jasperserver points to http://jasperforge.org/svn/repos/maven2, can you please point out which file to modify to use the updated url - so that the build would be success?

alamuvinai - 6 years 4 months ago

You have to use anonsvn:anonsvn. See http://anonsvn:anonsvn@code.jaspersoft.com/svn/repos/jasperserver for example, or use "Browse Source Code" link

nbochenko - 6 years 3 months ago
1

change your location from http://jasperforge.org/svn/repos/maven2 to http://code.jaspersoft.com/svn/repos/maven2 so that jasperserver builds correctly.

alamuvinai's picture
Joined: Nov 26 2012 - 9:33am
Last seen: 3 years 5 months ago
Feedback