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

Where to find jasperserver-repo when SVN not ZIP


leeyuiwah

Recommended Posts

Hi,

 

Where can I find the content for jasperserver-repo, that is supposed to come with the source code of jasperserver when it was distributed as zip file?

 

I am now getting the source using anon SVN, but there is no jasperserver-repo underneath the top directory jasperserver/branches/js-3.5.0

 

I am asking this question because now I hit the famous error of "Failed to resolve artifact" when trying to build the source using maven2.  I have read about the common suggested solution on Source-Build-Guide, and on 5 different postings on the forum.  However, I think my problem was not due to the common mistake (wrong setting in settings.xml) because I've checked again and again my settings in settings.xml (more than 20 times) and think my settings are correct.

 

The four missing artifacts are these four (and only these four), and I believe they exhibit a certain pattern:

 

jaspersoft.ji-pro.ji-jpivot-ui:ji-jivot:jar:3.5.0


jasperreports:jasperreports-chart-themes:jar:3.5.0


jfree:jcommon:jar:1.0.15


jfree:jfreechart:jar:1.0.12

 

I also tried pointing to the "new" repo http://rs.jaspersoft.com/maven2 that Sherman wrote about (in 03/25/2007) but it didn't help (error was HTTP 503, see full error message below).

 

http://tinyurl.com/ohtz26
 

Thanks!

Code:
Link to comment
Share on other sites

  • 2 years later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

I am facing the same issue with Mondrian jar

 

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

[ERROR] BUILD ERROR

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

[iNFO] Failed to resolve artifact.

 

Missing:

----------

1) mondrian:mondrian:jar:3.2.0-13661

 

Try downloading the file manually from the project website.

 

Then, install it using the command:

mvn install:install-file -DgroupId=mondrian -DartifactId=mondrian -Dversion=3.2.0-13661 -Dpackaging=jar -Dfile=/path/to

/file

 

Alternatively, if you host your own repository you can deploy the file there:

mvn deploy:deploy-file -DgroupId=mondrian -DartifactId=mondrian -Dversion=3.2.0-13661 -Dpackaging=jar -Dfile=/path/to/f

ile -Durl= -DrepositoryId=[id]

 

Path to dependency:

1) com.jaspersoft.jasperserver:jasperserver-ws-sample-jar:jar:4.5.0

2) com.jaspersoft.jasperserver:jasperserver-common-ws:jar:4.5.0

3) com.jaspersoft.jasperserver.core.util:jasperserver-core-util:jar:4.5.0

4) com.jaspersoft.jasperserver.api.engine:jasperserver-api-engine:jar:4.5.0

5) com.jaspersoft.jasperserver.api.metadata:jasperserver-api-metadata:jar:4.5.0

6) jaspersoft.ji-pro.ji-jpivot-ui:ji-jpivot:jar:4.0.1

7) mondrian:mondrian:jar:3.2.0-13661

 

----------

1 required artifact is missing.

 

for artifact:

com.jaspersoft.jasperserver:jasperserver-ws-sample-jar:jar:4.5.0

 

Did you find any answer to this missing artifacts issue?

Link to comment
Share on other sites

If you are using the "buildomatic" source build steps specified in the Source Build Guide (in this case I am talking about CE source code - ie not Pro source code) then there is a maven2 repository already specified.

For CE (ie Community Edition/Project) source code you should be able to resolve 3rd party dependencies via these settings:

  <ce-src>/buildomatic/build_conf/default/maven_settings.xml

  has this setting:

  <repository>
    <id>JasperForge Maven Repository</id>
    <!-- note matching <server> def at bottom of file for anonymous access -->
    <url>http://jasperforge.org/svn/repos/maven2</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
    <releases>
      <enabled>true</enabled>
    </releases>
  </repository>

You can also browse this location with a web browser. It will ask for a user/login and you can use: anonsvn/anonsvn

So, you can actually check and see if the the artifacts you need are present.

Link to comment
Share on other sites

Hi, I think I have a similar issue, I'm looking for the 2.1.0-SNAPSHOT version, my Path to dependency looks like:

 

1) com.globant.cbm:ti3-web:war:3.0-FINAL-SNAPSHOT

2) com.jaspersoft.jasperserver.api.metadata.impl:jasperserver-api-metada

ta-impl:jar:2.1.0

3) com.jaspersoft.jasperserver.jpivot-ui:jpivot:jar:2.1.0-SNAPSHOT

 

Should the file be here as well?

 

cheers,

 

AB

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