Hi,
i suppose you have not added the snapshot repository to your
settings.xml nor your poms.
If so, you have two options:
- Change version to 4.3.2
- Add the following to your settings.xml (in userhome/.m2)
---------------------------------8<----------------------------------
<profiles>
<profile>
<repositories>
(....)
<!-- SNAPSHOTS: -->
<repository>
<id>magnolia.snapshots</id>
<url>http://repo.magnolia-cms.com/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
(.....)
</repositories>
</profile>
</profiles>
</settings>
------------------>8----------------------------------------------------
On Mon, Jun 7, 2010 at 4:44 PM, Suraj <[email protected]> wrote:
> Sorry for the overload of newbie questions, you won't get any more of these
> when I'm on my feet, promise!
> I was following the instructions exactly as they are
> in http://wiki.magnolia-cms.com/display/WIKI/Introduction+to+building+Magnolia
> but when running % mvn -P webapp eclipse:eclipse -Dwtpversion=1.5 I'm
> getting the following error? I've tried to look everywhere but haven't got
> any info so far. Am I missing something obvious?
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building magnolia-jaas
> [INFO] task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> Downloading:
> http://repo.magnolia-cms.com/snapshots/info/magnolia/magnolia-core/
> 4.3.3-SNAPSHOT/magnolia-core-4.3.3-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT'
> in repository magnolia.snapshots (http://repo.magnolia-cms.com/snapshots)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT
> Try downloading the file manually from:
> http://prdownloads.sourceforge.net/magnolia
> Then, install it using the command:
> mvn install:install-file -DgroupId=info.magnolia
> -DartifactId=magnolia-cor
> e -Dversion=4.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=info.magnolia
> -DartifactId=magnolia-core
> -Dversion=4.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -Drepo
> sitoryId=[id]
> Path to dependency:
> 1) info.magnolia:magnolia-jaas:jar:4.3.3-SNAPSHOT
> 2) info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT
> ----------
> 1 required artifact is missing.
> for artifact:
> info.magnolia:magnolia-jaas:jar:4.3.3-SNAPSHOT
> from the specified remote repositories:
> magnolia.snapshots (http://repo.magnolia-cms.com/snapshots),
> central (http://repo1.maven.org/maven2),
> magnolia (http://repo.magnolia-cms.com/m2)
>
>
> ________________________________
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------