First I want to thank you for your replay. When I start to develop Magnolia based web site last version into repository was 3.5.5. I continue development with no problem. I add forum module and successfully build. But as I write in my first mail when I try to continue development on other machine I could not build my project. I am using Windows Vista Home Premium. I also try to download latest version from svn and build but without success :-(. I am not sure I understand you well : "just declaring dependency on existing version of Magnolia and having maven to download it for you from the repo?". Should I just modify maven pom files with with latest versions ? I am not expert in using maven tool.
Thanks, Atanasko Boris Mitrev Magnolia - User mailing list wrote: > > 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/ > ---------------------------------------------------------------- > > -- View this message in context: http://www.nabble.com/build-Magnolia-problem-tp19425760p19460926.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
