Jump to content
We've recently updated our Privacy Statement, available here ×

Where is jasperserver-<ver>-maven-repository.zip?


jbchurn

Recommended Posts

Hi,

I think I have some missing files, that's why am getting some errors as below when try to build it.

According to Section 4.1 "Use Pre-populated Maven Repository 3rd Party Jars (Optional)" in JasperServer Source Build Guide.pdf, there's this file jasperserver-<ver>-maven-repository.zip

Can anyone share with me where can I download this file?

Thanks.

 

Code:
[iNFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[iNFO] ------------------------------------------------------------------------[iNFO] Error building POM (may not be this project's POM).Project ID: org.apache.maven.plugins:maven-clean-pluginReason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repository: Unable to download the artifact from any repository  org.apache.maven.plugins:maven-clean-plugin:pom:2.2from the specified remote repositories:  codehaus-plugins (http://dist.codehaus.org/),  Repo1 Maven (http://repo1.maven.org/maven2/),  codehaus-plugins2 (http://repository.codehaus.org/),  JasperForge Maven Repository (http://www.jasperforge.org/maven2),  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2),  central (http://repo1.maven.org/maven2),  js-repo-svn (file:/C:/Tools/JasperSoft/JasperServer/jasperserver-3.0-src/jasperserver-repo) for project org.apache.maven.plugins:maven-clean-plugin
Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hmm, you're right that the js maven-repository zip is not in the release... ack.

The two repository setups in settings.xml which should be able to get all plugins are listed below. It looks like you have these defined so not sure why you are not getting the plugins.

You might try renaming your local repository (to force maven to re-build it). Also try mvn -x to see if there are any additional errors shown around pulling down the plugins.

Lastly, you can try following the steps in the Buildomatic-Auto-Build-Steps.txt (in the downloads area). With these steps, you will configure your src paths and a couple other things and then all the additional configuration is done automatically. It uses it's own copy of the maven settings.xml (which is explicitly pointed to via the -S parameter to <js-src>/buildomatic/.. /maven-settings.xml). So, this is less error prone... For the upcoming 3.1 release, the Source Build Guide will be using the "buildomatic" scripts to carry out a build.

 

 

          <pluginRepositories>
            <pluginRepository>
              <id>Maven Snapshots</id>
              <url>http://snapshots.maven.codehaus.org</url>
              <snapshots>
                <enabled>true</enabled>
              </snapshots>
              <releases>
                <enabled>false</enabled>
              </releases>
            </pluginRepository>
             <pluginRepository>
               <id>codehaus-plugins</id>
               <url>http://dist.codehaus.org/</url>
               <snapshots>
                   <enabled>true</enabled>
               </snapshots>
               <releases>
                   <enabled>true</enabled>
               </releases>
             </pluginRepository>
          </pluginRepositories>

Link to comment
Share on other sites

Hi,

I learn from maven.apache.org/ref/2.0.4/maven-settings/settings.html that I need to add proxies configuration as below in the provided settings.xml.

Can anyone advise me where will the Oracle database script for JasperServer be generated after building the source?

Thanks.

 

Code:
 <proxies>    <proxy>      <active>true</active>      <protocol>http</protocol>      <username>myusername</username>      <password>mypassword</password>      <port>9000</port>      <host>1.2.3.4</host>    </proxy>  </proxies>
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...