The problem is not maven version, but missing dependencies exactly as it tells you. Obviously those dependencies are not anymore in the repositories you are trying to search. So you have to either find/build/get them somehow somewhere to satisfy the dependencies or you have to "upgrade" to later version of Magnolia that doesn't depend on those particular versions of artifacts. Just out of interest, why exactly did you pick 3.5.5 as your base version? If I'm not mistaken this version never made it to public release. And one more question to satisfy curiosity: Why do you need to build whole Magnolia to build your project, instead of just declaring dependency on existing version of Magnolia and having maven to download it for you from the repo?
Jan On Thu, 2008-09-11 at 12:19 -0700, bubalecka wrote: > Hello, > > I need some help in order to build my Magnolia project. I use version 3.5.5 > downloaded from svn. I develop a site for some time and every think was OK, > I was almost ready to deploy but I need to use other machine to continue > development. When I copy/paste project from old machine to new one I have a > problem to build my project. I install maven 2.0.9. But when I try to build > using : > > >mvn -Pwith-optional-modules install > > I receive error message when building module workflow. I also try to use > different maven versions( 2.0.5, 2.0.6). This is the message I am receiving: > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.apache.maven.shared:maven-repository-builder:jar:1.0-alpha-2-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.maven.shared > -DartifactId=ma > ven-repository-builder \ > -Dversion=1.0-alpha-2-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Path to dependency: > 1) > org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta- > 2-magnolia-20071126 > 2) > org.apache.maven.shared:maven-repository-builder:jar:1.0-alpha-2-SNAP > SHOT > > 2) > org.apache.maven.shared:maven-common-artifact-filters:jar:1.0-alpha-2-SNAPSHO > T > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.maven.shared > -DartifactId=ma > ven-common-artifact-filters \ > -Dversion=1.0-alpha-2-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Path to dependency: > 1) > org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta- > 2-magnolia-20071126 > 2) > org.apache.maven.shared:maven-common-artifact-filters:jar:1.0-alpha-2 > -SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > > org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-2-magnoli > a-20071126 > > from the specified remote repositories: > apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), > codehaus.org (http://snapshots.repository.codehaus.org), > apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository), > maven.openwfe.org.prereleases (http://maven.openwfe.org/prereleases), > central (http://repo1.maven.org/maven2), > magnolia.snapshots (http://svn.magnolia.info/maven/snapshots), > magnolia (http://svn.magnolia.info/maven/m2) > > > > If some one have idea what I am making wrong please help me. This is > urgent. > > > Thanks in advance, > Atanasko Boris Mitrev > ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
