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
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
7 Answers:
Posted on August 19, 2007 at 5:55am
ok, you can see this exception instead seeing it from attached file:
Code: |
+ Error stacktraces are turned on.<br /> [INFO]<br /> NOTE: Maven is executing in offline mode. Any artifacts not already in your loca<br /> l<br /> repository will be inaccessible.<br /> <br /> [INFO] Scanning for projects...<br /> [INFO] Reactor build order:<br /> [INFO] Jasper Server<br /> [INFO] Jasper Server API<br /> [INFO] Jasper Server API - Common<br /> [INFO] Jasper Server API - Metadata Interfaces<br /> [INFO] Jasper Server API - Engine<br /> [INFO] Jasper Server API Implementations - Common<br /> [INFO] Jasper Server API Implementations - All<br /> [INFO] Jasper Server API Implementations - Metadata<br /> [INFO] Jasper Server API Implementations - Engine<br /> [INFO] Jasper Server Hibernate Mappings<br /> [INFO] JasperServer Export Import Tool<br /> [INFO] JasperServer Jar for Webapp<br /> [INFO] JasperServer Common Webapp<br /> [INFO] JasperServer Web application<br /> [INFO] Web Services iReport Plugin Client Code<br /> [INFO] -------------------------------------------------------------------------<br /> ---<br /> [INFO] Building Jasper Server<br /> [INFO] task-segment: [clean, install]<br /> [INFO] -------------------------------------------------------------------------<br /> ---<br /> [INFO] ------------------------------------------------------------------------<br /> [ERROR] BUILD ERROR<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist o<br /> r no valid version could be found<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] Trace<br /> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m<br /> aven.plugins:maven-clean-plugin' does not exist or no valid version could be fou<br /> nd<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa<br /> ultLifecycleExecutor.java:1286)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor<br /> (DefaultLifecycleExecutor.java:1522)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP<br /> ackaging(DefaultLifecycleExecutor.java:1016)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl<br /> eMappings(DefaultLifecycleExecutor.java:980)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau<br /> ltLifecycleExecutor.java:458)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan<br /> dleFailures(DefaultLifecycleExecutor.java:311)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen<br /> ts(DefaultLifecycleExecutor.java:278)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi<br /> fecycleExecutor.java:143)<br /> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)<br /> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)<br /> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<br /> java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br /> sorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:585)<br /> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br /> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br /> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br /> <br /> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br /> Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p<br /> lugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid v<br /> ersion could be found<br /> at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl<br /> uginVersion(DefaultPluginVersionManager.java:228)<br /> at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl<br /> uginVersion(DefaultPluginVersionManager.java:90)<br /> at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug<br /> inManager.java:166)<br /> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa<br /> ultLifecycleExecutor.java:1257)<br /> ... 18 more<br /> [INFO] ------------------------------------------------------------------------<br /> [INFO] Total time: 1 second<br /> [INFO] Finished at: Sun Aug 19 09:13:19 GMT+02:00 2007<br /> [INFO] Final Memory: 1M/3M<br /> [INFO] ------------------------------------------------------------------------<br /> <br /> </td></tr></tbody></table><br /> <br /> Post edited by: alaa56mm, at: 2007/08/19 06:07<br>Post edited by: alaa56mm, at: 2007/08/19 06:10 |
Posted on August 19, 2007 at 7:34pm
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 .m2\repository directory in case the new version has new dependencies that conflict with the existing ones.
Jenngang
JasperSoft
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 .m2\repository directory in case the new version has new dependencies that conflict with the existing ones.
Jenngang
JasperSoft