On Fri, Oct 3, 2008 at 8:13 PM, Red <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-29-09 at 09:37 +0200, Simon Kitching wrote:
>> I suggest you create a JIRA issue for this. If you can provide a patch
>> (and even better a simple unit test) that would be even better..
>
>
> Simon, I finally got some time to write a patch and a test for this
> issue. I tried to setup the MyFaces project in my Eclipse environment,
> but I ran into some trouble. This is probably something simple, but I
> don't have a lot of time to figure out what it is on my own, since I am
> not familiar with MyFaces build system.
It is an issue with the myfaces core project, that is known. We have a
dependency
to unreleased artifacts (not sure if that is really needed). So it is
kinda a pita to get it
working.
Options:
a) include the apache snapshot repository in your pom, like:
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
b) check out the *builder* and build it:
http://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/
I know... a little extra work (there may be even more).
-M
>
> Here is what I did:
> 1) svn co http://svn.apache.org/repos/asf/myfaces/core/trunk_1.2.x
> myfaces-core-project
>
> 2) cd myfaces-core-project
>
> 3) mvn install
>
> I got this error from maven:
> =============================================================
> Reason: Unable to download the artifact from any repository
>
>
> org.apache.myfaces.buildtools:myfaces-builder-plugin:pom:1.0.2-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> java.net (http://download.java.net/maven/1),
> repository.jboss.com (http://repository.jboss.com/maven2/),
> apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> =============================================================
>
> I checked repo1.maven.org and it contains the 1.0.1 version of this
> artifact. Where is maven supposed to find 1.0.2-SNAPSHOT version?
>
>
> Thanks a lot.
>
>
> Val
>
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf