Jump to content
Changes to the Jaspersoft community edition download ×

source build fails


jgh

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

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

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

  • 1 month later...

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

  • 1 month later...

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

  • 2 weeks later...

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-Jaspersoft

Now the result is ...


BUILD SUCCESSFUL
Total time: 4 minutes 31 seconds

 

 

 

Link to comment
Share on other sites

  • 2 months later...

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>
          <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

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...