portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopinath Guptha <gopinath...@mmpsoftware.com>
Subject error while building and deploying a custom jet speed-2 portal
Date Thu, 05 Dec 2013 16:58:03 GMT
Hello,

I am trying to build a custom jet speed-2 portal using maven-3. I get an
error when I try to build & deploy using the below maven command -

mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=all


---------------------------------------------------

The error -

Downloading:
http://bluesunrise.com/maven2/org/springframework/spring-ojb/2.0-rc2/spring-ojb-2.0-rc2.pom

Downloading:
http://repo.maven.apache.org/maven2/org/springframework/spring-ojb/2.0-rc2/spring-ojb-2.0-rc2.pom

Downloading:
http://www.bluesunrise.com/maven2/org/springframework/spring-ojb/2.0-rc2/spring-ojb-2.0-rc2.pom

Downloading:
http://bluesunrise.com/maven2/javolution/javolution/4.0.2/javolution-4.0.2.pom

Downloading:
http://repo.maven.apache.org/maven2/javolution/javolution/4.0.2/javolution-4.0.2.pom

Downloading:
http://www.bluesunrise.com/maven2/javolution/javolution/4.0.2/javolution-4.0.2.pom

Downloading:
http://bluesunrise.com/maven2/org/apache/ddlutils/ddlutils/r551445-patched-75/ddlutils-r551445-patched-75.pom

Downloading:
http://repo.maven.apache.org/maven2/org/apache/ddlutils/ddlutils/r551445-patched-75/ddlutils-r551445-patched-75.pom

Downloading:
http://www.bluesunrise.com/maven2/org/apache/ddlutils/ddlutils/r551445-patched-75/ddlutils-r551445-patched-75.pom

Downloading:
http://bluesunrise.com/maven2/castor/castor/1.1.1-xml/castor-1.1.1-xml.pom

Downloading:
http://repo.maven.apache.org/maven2/castor/castor/1.1.1-xml/castor-1.1.1-xml.pom

Downloading:
http://www.bluesunrise.com/maven2/castor/castor/1.1.1-xml/castor-1.1.1-xml.pom

Downloading:
http://bluesunrise.com/maven2/com/google/step2/step2-common/0/step2-common-0.pom

Downloading:
http://repo.maven.apache.org/maven2/com/google/step2/step2-common/0/step2-common-0.pom

Downloading:
http://www.bluesunrise.com/maven2/com/google/step2/step2-common/0/step2-common-0.pom

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 2:50.646s

[INFO] Finished at: Thu Dec 05 22:19:57 GMT+05:30 2013

[INFO] Final Memory: 7M/81M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal on project jetexpress-portal: Could not
resolve dependencies for project
org.jetexpress:jetexpress-portal:war:1.0.0: Failed to collect dependencies
for [org.apache.portals.jetspeed-2:jetspeed-dependencies:pom:2.2.1
(compile), org.apache.portals.jetspeed-2:jetspeed:war:2.2.1 (compile),
org.apache.portals.pluto:pluto-container-api:jar:2.0.0 (provided),
org.apache.portals:portlet-api_2.0_spec:jar:1.0 (provided),
org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1 (provided)]:
Failed to read artifact descriptor for
org.springframework:spring-ojb:jar:2.0-rc2: Could not transfer artifact
org.springframework:spring-ojb:pom:2.0-rc2 from/to com.bluesunrise.m1 (
http://www.bluesunrise.com/maven): No connector available to access
repository com.bluesunrise.m1 (http://www.bluesunrise.com/maven) of type
legacy using the available factories WagonRepositoryConnectorFactory ->
[Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project jetexpress-portal: Could not resolve dependencies for
project org.jetexpress:jetexpress-portal:war:1.0.0: Failed to collect
dependencies for
[org.apache.portals.jetspeed-2:jetspeed-dependencies:pom:2.2.1 (compile),
org.apache.portals.jetspeed-2:jetspeed:war:2.2.1 (compile),
org.apache.portals.pluto:pluto-container-api:jar:2.0.0 (provided),
org.apache.portals:portlet-api_2.0_spec:jar:1.0 (provided),
org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1 (provided)]

at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

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:597)

at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project
org.jetexpress:jetexpress-portal:war:1.0.0: Failed to collect dependencies
for [org.apache.portals.jetspeed-2:jetspeed-dependencies:pom:2.2.1
(compile), org.apache.portals.jetspeed-2:jetspeed:war:2.2.1 (compile),
org.apache.portals.pluto:pluto-container-api:jar:2.0.0 (provided),
org.apache.portals:portlet-api_2.0_spec:jar:1.0 (provided),
org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1 (provided)]

at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)

at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)

... 22 more

Caused by: org.sonatype.aether.collection.DependencyCollectionException:
Failed to collect dependencies for
[org.apache.portals.jetspeed-2:jetspeed-dependencies:pom:2.2.1 (compile),
org.apache.portals.jetspeed-2:jetspeed:war:2.2.1 (compile),
org.apache.portals.pluto:pluto-container-api:jar:2.0.0 (provided),
org.apache.portals:portlet-api_2.0_spec:jar:1.0 (provided),
org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1 (provided)]

at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)

at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)

at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150)

... 23 more

Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
Failed to read artifact descriptor for
org.springframework:spring-ojb:jar:2.0-rc2

at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)

at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)

at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)

at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544)

at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544)

at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)

... 25 more

Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not transfer artifact org.springframework:spring-ojb:pom:2.0-rc2
from/to com.bluesunrise.m1 (http://www.bluesunrise.com/maven): No connector
available to access repository com.bluesunrise.m1 (
http://www.bluesunrise.com/maven) of type legacy using the available
factories WagonRepositoryConnectorFactory

at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)

at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)

at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)

at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)

... 30 more

Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could
not transfer artifact org.springframework:spring-ojb:pom:2.0-rc2 from/to
com.bluesunrise.m1 (http://www.bluesunrise.com/maven): No connector
available to access repository com.bluesunrise.m1 (
http://www.bluesunrise.com/maven) of type legacy using the available
factories WagonRepositoryConnectorFactory

at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:468)

... 33 more

Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException: No
connector available to access repository com.bluesunrise.m1 (
http://www.bluesunrise.com/maven) of type legacy using the available
factories WagonRepositoryConnectorFactory

at
org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:400)

at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)

... 33 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/DependencyResolutionException

[INFO]
------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] jetexpress portal project ......................... FAILURE
[2:52.054s]

[INFO] jetexpress portal ................................. SKIPPED

[INFO] jetexpress portlet application .................... SKIPPED

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 2:52.368s

[INFO] Finished at: Thu Dec 05 22:19:57 GMT+05:30 2013

[INFO] Final Memory: 4M/81M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:2.2.1:mvn
(default-cli) on project jetexpress: ...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

--------------------------------------------------------------------------------------------------------------------

It looks like maven is unable to download the dependencies/ jar files from
the repository. Can someone let me know what needs to be done to fix this
or provide the jar files so I can add it manually.

Thanks and regards,
Gopinath

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message