Jump to content
Changes to the Jaspersoft community edition download ×

JasperServer Buld error with maven


parimoj

Recommended Posts

Hi,

I am building jasperserver using maven but its following error.....

 

E:jasperserver-pro-1.2-srcjs-1.2.0jasperserver-repository-hibernatebuild-db>mvn clean install

[iNFO] Scanning for projects...

[WARNING] Unable to get resource 'com.jaspersoft.jasperservererverom:1.2.0' from repository jasperServer (E:jasperserver-pro-1.2-srcjs-1.2.0)

Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/com/jaspersoft/jasperserver/server/1.2.0/server- 1.2.0.pom

[WARNING] Unable to get resource 'com.jaspersoft.jasperservererverom:1.2.0' from repository ApacheSVN-central (http://mirrors.ibiblio.org/pub/mirrors/maven2)

Downloading: http://repo1.maven.org/maven2/com/jaspersoft/jasperserver/server/1.2.0/server-1.2.0.pom

[WARNING] Unable to get resource 'com.jaspersoft.jasperservererverom:1.2.0' from repository central (http://repo1.maven.org/maven2)

[iNFO] ------------------------------------------------------------------------

[ERROR] FATAL ERROR

[iNFO] ------------------------------------------------------------------------

[iNFO] Failed to resolve artifact.

 

GroupId: com.jaspersoft.jasperserver

ArtifactId: server

Version: 1.2.0

 

Reason: Unable to download the artifact from any repository

 

com.jaspersoft.jasperservererverom:1.2.0

 

from the specified remote repositories:

Maven Snapshots (http://www.ibiblio.org/maven2),

central (http://repo1.maven.org/maven2),

ApacheSVN-central (http://mirrors.ibiblio.org/pub/mirrors/maven2),

jasperServer (E:jasperserver-pro-1.2-srcjs-1.2.0)

 

 

[iNFO] ------------------------------------------------------------------------

[iNFO] Trace

org.apache.maven.reactor.MavenExecutionException: Cannot find parent: com.jaspersoft.jasperservererver for project: com.jaspersoft.jasperserver.api.metadata.impl:jasperserver-repository-build-db:jar

:1.2.0

at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: com.jaspersoft.jasperservererver for project: com.jaspersoft.jasperserver.api.metadata.impl:jasperserver-repository-

build-db:jar:1.2.0

at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java: 1198)

at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java: 697)

at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectB uilder.java:431)

at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)

at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)

at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)

at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)

... 11 more

Caused by: org.apache.maven.project.ProjectBuildingException: POM 'com.jaspersoft.jasperservererver' not found in repository: Unable to download the artifact from any repository

 

com.jaspersoft.jasperservererverom:1.2.0

 

from the specified remote repositories:

Maven Snapshots (http://www.ibiblio.org/maven2),

central (http://repo1.maven.org/maven2),

ApacheSVN-central (http://mirrors.ibiblio.org/pub/mirrors/maven2),

jasperServer (E:jasperserver-pro-1.2-srcjs-1.2.0)

 

at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuild er.java:528)

at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java: 1194)

... 17 more

Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

 

com.jaspersoft.jasperservererverom:1.2.0

 

from the specified remote repositories:

Maven Snapshots (http://www.ibiblio.org/maven2),

central (http://repo1.maven.org/maven2),

ApacheSVN-central (http://mirrors.ibiblio.org/pub/mirrors/maven2),

jasperServer (E:jasperserver-pro-1.2-srcjs-1.2.0)

 

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)

at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuild er.java:482)

... 18 more

Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:308)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)

... 20 more

[iNFO] ------------------------------------------------------------------------

[iNFO] Total time: 27 seconds

[iNFO] Finished at: Tue Mar 20 12:10:35 IST 2007

[iNFO] Final Memory: 1M/2M

[iNFO] ------------------------------------------------------------------------

 

Please see the attached settings.xml file.

 

Please help me....

 

Thanx in advance

 

Regards

Parimoj [file name=settings-061889c1d1519fa566904e335634184a.xml size=2659]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/settings-061889c1d1519fa566904e335634184a.xml[/file]

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

We have a publicly available Maven repository with artifacts needed for the JasperServer and JasperAnalysis builds. Snapshots of JasperReports are available too.

 

Replace the jasperserver-repo settings in your settings.xml to:

 

Code:

<repository>
<id>jasperserver-os</id>
<url>http://rs.jaspersoft.com/maven2</url>
</repository>

 

 

Sherman

JasperSoft

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...