jgh Posted January 4, 2013 Share Posted January 4, 2013 Hi. I am unable to build from source the new version of JasperServer 5.0.0. Any help is appreciated!Attached are the error log and my build properties files. Link to comment Share on other sites More sharing options...
tkavanagh Posted January 4, 2013 Share Posted January 4, 2013 Hi Jason, Sorry the build did not work. We are in a bit of a migration phase because we are converting to an internal maven repository (software we are using is Artifactory). And eventually we will be hosting our Community/external 3rd party dependencies on the Artifactory Community hosting service - so that jasperserver Community source can be built by pointing to this external maven repository location. This is what the new mvn-mirror property is about. Also, the old jasperforge.org site no longer exists (this had a maven2 repo). So, this is in transition as well. So, I think everything should work for you if you add a new property: maven.build.type=repo And then repo-path will stay the same (in your case the following): repo-path = /home/jgh/workspace/ports/databases/jasperserver/work/jasperreports-server-cp-5.0.0-src/jasperserver-repo The updated jaspersever/buildomatic/sample_conf/source/postgresql_master.properties file has this new setting that you can look at. But you, of course, would not have gotten it because you have your pre-existing .properties file. Also, this info is documented in the Source Build Guide (but unfortunately did not make it into the Community 5.0.0 version of the PDF). I will need to update this. In the meantime, the settings are documented in the Commercial Source Build Guide (which I am attaching) (Just search for maven.build.type). Link to comment Share on other sites More sharing options...
jgh Posted January 8, 2013 Author Share Posted January 8, 2013 bad paste Link to comment Share on other sites More sharing options...
jgh Posted January 8, 2013 Author Share Posted January 8, 2013 Hi. Thanks for the tip. After adding that line, it started to build. I did copy in my build file into the conf_source directory, as well for the pre-build. Here is my latest failure: [java] [iNFO] ------------------------------------------------------------------------ [java] [ERROR] BUILD ERROR [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] Error building POM (may not be this project's POM). [java] [java] [java] Project ID: org.codehaus.mojo:cobertura-maven-plugin [java] [java] Reason: POM 'org.codehaus.mojo:cobertura-maven-plugin' not found in repository: Unable to download the artifact from any repository [java] [java] org.codehaus.mojo:cobertura-maven-plugin:pom:2.5-Jaspersoft [java] [java] from the specified remote repositories: [java] codehaus-plugins (http://dist.codehaus.org/), [java] central (http://repo1.maven.org/maven2), [java] JBoss (https://repository.jboss.org/nexus/content/groups/public), [java] codehaus-plugins-2 (http://repository.codehaus.org/), [java] js-repo-svn (file:///home/jgh/workspace/ports/databases/jasperserver/work/jasperreports-server-cp-5.0.0-src/jasperserver-repo), [java] SpringSource (http://repo.springsource.org/release), [java] Repo1 Maven (http://repo1.maven.org/maven2/) [java] [java] for project org.codehaus.mojo:cobertura-maven-plugin [java] [java] [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] For more information, run Maven with the -e switch [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] Total time: 10 seconds [java] [iNFO] Finished at: Fri Jan 04 17:04:36 PST 2013 [java] [iNFO] Final Memory: 14M/154M [java] [iNFO] ------------------------------------------------------------------------ BUILD FAILED /home/jgh/workspace/ports/databases/jasperserver/work/jasperreports-server-cp-5.0.0-src/jasperserver/buildomatic/bin/dev.xml:336: The following error occurred while executing this line: /home/jgh/workspace/ports/databases/jasperserver/work/jasperreports-server-cp-5.0.0-src/jasperserver/buildomatic/bin/dev.xml:122: Java returned: 1 Total time: 46 seconds *** [do-build] Error code 1 Stop in /home/jgh/workspace/ports/databases/jasperserver. *** [build] Error code 1 Link to comment Share on other sites More sharing options...
iagotomas Posted February 28, 2013 Share Posted February 28, 2013 We got the same error, has anyone found a solution? We get the same error complaining about cobertura POM and cannot find a fix.Thx Link to comment Share on other sites More sharing options...
jgh Posted March 2, 2013 Author Share Posted March 2, 2013 Same here. I cannot find a fix, so I have not updated it for FreeBSD at this time. Any help is appreciated, however it seems that there hasn't been much traction on this front. Link to comment Share on other sites More sharing options...
iagotomas Posted March 3, 2013 Share Posted March 3, 2013 I could get through the error changing the url of the jasper repository in conf_source/templates/maven_settings_repo.xml, but now i'm facing another dependency problem this time with mysql connector, anyway i succeded to compile jasperserver it only misses theimport/export tool which i dont need. So for me it's fine, i suppose that installing manually as the error message suggests could work but i was a bit pissed off and just didnt want to take my time if i didnt needed. Hope helps, Link to comment Share on other sites More sharing options...
jgh Posted April 21, 2013 Author Share Posted April 21, 2013 Would you mind pasting exactly what you changed, as I am trying what you had noted, and am getting the same results with the same build failure.Your help would REALLY be appreciated! Thanks so much!Jason Link to comment Share on other sites More sharing options...
demontis_1 Posted May 2, 2013 Share Posted May 2, 2013 Hi. I had the same problem.... the files: org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft/cobertura-maven-plugin-2.5-Jaspersoft.pom, org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft/cobertura-maven-plugin-2.5-Jaspersoft.jar are missing in jasperserver-repo (????????).To solve the problem I created a folder '.../'jasperserver-repo/org/codehaus/mojo/cobertura-maven-plugin/2.5-Jaspersoft/" in which I put the files cobertura-maven-plugin-2.5-Jaspersoft.pom and cobertura-maven-plugin-2.5-Jaspersoft.jar downloaded from the repository http://dev.quadras.co.id/archiva/browse/org.codehaus.mojo/cobertura-maven-plugin/2.5-JaspersoftNow the result is ... BUILD SUCCESSFUL Total time: 4 minutes 31 seconds Link to comment Share on other sites More sharing options...
arosenblum Posted July 25, 2013 Share Posted July 25, 2013 I was able to finally get around the cobertura-maven-plugin/2.5-Jaspersoft/ issue by adding the following to my maven_settings_repo.xml file: <pluginRepository> <id>cobertura-maven-jaspersoft</id> <url>http://dev.quadras.co.id/archiva/repository/internal/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </pluginRepository> That's the only place online I could find the pom/jar. But now I'm failing on: teiid-admin/teiid-engine and teiid-runtime (8.1.0 Final). Trying to install manually now.... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now