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

to JaspeServer Team


alaa56mm

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

 

Regards

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:

 

Code:
+ Error stacktraces are turned on.
[iNFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your loca
l
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] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[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
nd
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
ackaging(DefaultLifecycleExecutor.java:1016)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
eMappings(DefaultLifecycleExecutor.java:980)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
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.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
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
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:166)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 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.

 

Jenngang

JasperSoft

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