You need to run the following in order to use Maven:

ant make-core-deps
mvn-bootstrap[.sh|.bat]

Karl


On Fri, Jan 24, 2014 at 2:28 AM, Muhammed Olgun <[email protected]> wrote:

> I got the following error. Even I ran maven with
>
> mvn clean -U -e install
>
> [ERROR] Failed to execute goal on project mcf-alfresco-connector: Could not
> resolve dependencies for project
> org.apache.manifoldcf:mcf-alfresco-connector:jar:1.5: The following
> artifacts could not be resolved: org.opensaml:opensaml:jar:1.0.1,
> xml-security:xmlsec:jar:1.4.1: Could not find artifact
> org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases) ->
> [Help 1]
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project mcf-alfresco-connector: Could not resolve dependencies for
> project org.apache.manifoldcf:mcf-alfresco-connector:jar:1.5: The following
> artifacts could not be resolved: org.opensaml:opensaml:jar:1.0.1,
> xml-security:xmlsec:jar:1.4.1: Could not find artifact
> org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases)
>
> 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:57)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> 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.apache.manifoldcf:mcf-alfresco-connector:jar:1.5: The following
> artifacts could not be resolved: org.opensaml:opensaml:jar:1.0.1,
> xml-security:xmlsec:jar:1.4.1: Could not find artifact
> org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases)
>
> at
>
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
>
> at
>
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
>
> ... 22 more
>
> Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
> The following artifacts could not be resolved:
> org.opensaml:opensaml:jar:1.0.1, xml-security:xmlsec:jar:1.4.1: Could not
> find artifact org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases)
>
> at
>
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
>
> at
>
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
>
> ... 23 more
>
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: The
> following artifacts could not be resolved: org.opensaml:opensaml:jar:1.0.1,
> xml-security:xmlsec:jar:1.4.1: Could not find artifact
> org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases)
>
> 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.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
>
> ... 24 more
>
> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
> not find artifact org.opensaml:opensaml:jar:1.0.1 in alfresco-release (
> https://artifacts.alfresco.com/nexus/content/repositories/releases)
>
> at
>
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
>
> at
>
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
>
> at
>
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
>
> at
>
> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
>
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:724)
>
>
> 2014/1/24 Karl Wright <[email protected]>
>
> > Blew away maven repository, did mvn-bootstrap.bat, mvn clean install,
> which
> > succeeded.  Hopefully that means maven issues are solved.
> >
> > Based on previous test runs, +1 from me.
> >
> > (Future releng note: write a script to automate the release branch
> creation
> > process, especially including a replacement for mvn:setversion.)
> >
> > Karl
> >
> >
> >
> > On Thu, Jan 23, 2014 at 7:25 PM, Karl Wright <[email protected]> wrote:
> >
> > > This is a major release of ManifoldCF that includes the following:
> > >
> > > - Federated authority support
> > > - Multiple authorization domains
> > > - ZooKeeper process coordination
> > > - Multiple agents processes
> > > - Support for SharePoint Claims-based authorization
> > > - An Email connector
> > > - A revamped look-and-feel
> > >
> > > This is obviously a major release, so voting will remain open until the
> > > end of January, unless the RC is respun.
> > >
> > > You can download the artifacts from
> > > http://people.apache.org/~kwright/apache-manifoldcf-1.5 .  There is
> also
> > > a release tag at
> > > https://svn.apache.org/repos/asf/manifoldcf/tags/release-1.5-RC4 .
> > >
> > > This RC includes changes to the dist directory organization so that jar
> > > files are not duplicated, saving 40MB from each binary download.  It
> also
> > > fixes an issue with connection limits in the zookeeper example.
>  Finally,
> > > it fixes a limitation in the CMIS connector (CONNECTORS-864) and a
> maven
> > > build problem (CONNECTORS-865).  Also fixes CONNECTORS-866 (the
> lockclean
> > > script), and two more Maven version issues.
> > >
> > > Karl
> > >
> >
>

Reply via email to