alaa56mm Posted August 15, 2007 Share Posted August 15, 2007 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.. RegardsPost edited by: alaa56mm, at: 2007/08/19 05:52 Link to comment Share on other sites More sharing options...
jshih Posted August 16, 2007 Share Posted August 16, 2007 Regarding the Maven exception, try Maven version: 2.0.4 if that is not the one you are using. JenngangJasperSoft Link to comment Share on other sites More sharing options...
alaa56mm Posted August 16, 2007 Author Share Posted August 16, 2007 iam using maven-2.0.7 , is it a problem by using latest version? Link to comment Share on other sites More sharing options...
jshih Posted August 17, 2007 Share Posted August 17, 2007 After trying Maven version: 2.0.7, it doesn't seem to be the problem. What exception did you get when building with Maven version: 2.0.7? I don't find the attachment you mentioned. JenngangJasperSoft Link to comment Share on other sites More sharing options...
alaa56mm Posted August 19, 2007 Author Share Posted August 19, 2007 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 localrepository 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 or no valid version could be found[iNFO] ------------------------------------------------------------------------[iNFO] Traceorg.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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 plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.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:07Post edited by: alaa56mm, at: 2007/08/19 06:10 Link to comment Share on other sites More sharing options...
jshih Posted August 20, 2007 Share Posted August 20, 2007 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. JenngangJasperSoft Link to comment Share on other sites More sharing options...
alaa56mm Posted August 21, 2007 Author Share Posted August 21, 2007 Dear jshih..how can i build without .m2/settings.xml,i can not delete it ?right? Link to comment Share on other sites More sharing options...
jshih Posted August 22, 2007 Share Posted August 22, 2007 Yes, you still need settings.xml, but in case you have the element <offline>true</offline> defined in the file, remove the element or change the value to false. JenngangJasperSoft Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now