Hi Team,
I went through example portlet given at apache portal. At https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html as given we are trying to build and deploy by using mvn jetspeed:mvn -Dtarget=all command. When I run this command I am facing error. Attached is the log file for the same. Request you to help if you have any suggestion/solution. Regards, Lalitha ----- Original Message ----- From: lalitha.bourishe...@oracle.com To: jetspeed-dev@portals.apache.org Sent: Monday, June 15, 2015 4:41:56 AM GMT -08:00 US/Canada Pacific Subject: RE: Regarding Jetspeed migration Hi Team, I went through example portlet given at apache portal. At https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html as given we are trying to build and deploy by using mvn jetspeed:mvn -Dtarget=all command. When I run this command I am facing error as below: Request you to let me know how this can be resolved. Regards, Lalitha -----Original Message----- From: Lalitha Bourishetty Sent: Thursday, June 11, 2015 11:54 PM To: Jetspeed Developers List Subject: RE: Regarding Jetspeed migration Hi Team, Is it possible with jdeveloper IDE also. If so how exactly can we achieve it? Regards, Lalitha -----Original Message----- From: DavidSeanTaylor [ mailto:da...@bluesunrise.com ] Sent: Thursday, June 11, 2015 10:05 PM To: Jetspeed Developers List Subject: Re: Regarding Jetspeed migration > On Jun 11, 2015, at 4:12 AM, Lalitha Bourishetty < > lalitha.bourishe...@oracle.com > wrote: > > Hi Team, > > By downloading settings.xml manually I could able to run this successfully. > I got project with two sub modules, can you tell me how can we take these and > use in other IDEs (like jdeveloper)as existing modules. > The archetype generates a standard Maven project. Latest versions of IDEs like Eclipse or IntelliJ simply read Maven POMs and create projects from them. http://maven.apache.org/eclipse-plugin.html < http://maven.apache.org/eclipse-plugin.html > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org
C:\Softwares\apache-maven-3.3.3\attbat>mvn jetspeed:mvn -Dtarget=all [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] attbat portal project [INFO] attbat portal [INFO] attbat portlet application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building attbat portal project 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- jetspeed-mvn-maven-plugin:2.2.2:mvn (default-cli) @ attbat --- [INFO] Resolved target(s) order: [install-portal, install-pa, install, db-portal, db, deploy-portal, deploy-pa, all] [INFO] Executing target: install-portal [INFO] Invoking target install-portal: C:\Softwares\apache-maven-3.3.3\attbat\attbat-portal\pom.xml clean install [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building attbat portal 1.0.0 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.2.2 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.369 s [INFO] Finished at: 2015-06-15T05:36:20-07:00 [INFO] Final Memory: 5M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-war-plugin:2.2.2 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven- war-plugin:jar:2.2.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-war-plugin:2.2.2 or one of its dependencies could not be resolved: Fail ure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:128) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:179) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:298) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:169) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:155) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:131) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145) at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2.2 in https://repo.maven. apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:124) ... 26 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2.2 in https://repo.maven.apac he.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:231) at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) ... 30 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] attbat portal project .............................. FAILURE [ 2.455 s] [INFO] attbat portal ...................................... SKIPPED [INFO] attbat portlet application ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.712 s [INFO] Finished at: 2015-06-15T05:36:20-07:00 [INFO] Final Memory: 6M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:2.2.2:mvn (default-cli) on project attbat: ...FAILED[code=1]. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException C:\Softwares\apache-maven-3.3.3\attbat>
--------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org