Jump to content
Changes to the Jaspersoft community edition download ×

to JaspeServer Team


Recommended Posts

Dear JasperForge Team..


i did post on this forum 3 days ago (about how to send reports via email),but the problem still.

So , i did get the Source Code from SVN Repository, and want to re-build it, so that i want to use an IDE( like Eclipse) to import it, but i could not to import the source code.and when using Maven i got an exception(see the attached file to see it).

1)-the building using maven is painfully.

2)-how can i import the source code using an IDE..



Post edited by: alaa56mm, at: 2007/08/19 05:52

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

ok, you can see this exception instead seeing it from attached file:


+ Error stacktraces are turned on.
NOTE: Maven is executing in offline mode. Any artifacts not already in your loca
repository will be inaccessible.

[iNFO] Scanning for projects...
[iNFO] Reactor build order:
[iNFO] Jasper Server
[iNFO] Jasper Server API
[iNFO] Jasper Server API - Common
[iNFO] Jasper Server API - Metadata Interfaces
[iNFO] Jasper Server API - Engine
[iNFO] Jasper Server API Implementations - Common
[iNFO] Jasper Server API Implementations - All
[iNFO] Jasper Server API Implementations - Metadata
[iNFO] Jasper Server API Implementations - Engine
[iNFO] Jasper Server Hibernate Mappings
[iNFO] JasperServer Export Import Tool
[iNFO] JasperServer Jar for Webapp
[iNFO] JasperServer Common Webapp
[iNFO] JasperServer Web application
[iNFO] Web Services iReport Plugin Client Code
[iNFO] -------------------------------------------------------------------------
[iNFO] Building Jasper Server
[iNFO] task-segment: [clean, install]
[iNFO] -------------------------------------------------------------------------
[iNFO] ------------------------------------------------------------------------
[iNFO] ------------------------------------------------------------------------
[iNFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist o
r no valid version could be found
[iNFO] ------------------------------------------------------------------------
[iNFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-clean-plugin' does not exist or no valid version could be fou
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
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.plugin.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid v
ersion could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
... 18 more
[iNFO] ------------------------------------------------------------------------
[iNFO] Total time: 1 second
[iNFO] Finished at: Sun Aug 19 09:13:19 GMT+02:00 2007
[iNFO] Final Memory: 1M/3M
[iNFO] ------------------------------------------------------------------------


Post edited by: alaa56mm, at: 2007/08/19 06:07

Post edited by: alaa56mm, at: 2007/08/19 06:10

Link to comment
Share on other sites

From the build outputs, looks like you are building in the ‘offline’ mode which prevents you from getting needed files from online sources. So, either change <offline>true</offline> to false in your settings.xml, and/or don’t use the offline (–o) option at the command line, and try the build again.


Also, if you are building this version of JasperServer for the first time, it’s a good idea to remove the existing directories/files under Maven's .m2repository directory in case the new version has new dependencies that conflict with the existing ones.




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