The WarPath plugin is used to resolve dependencies from WAR files.
Normally, Maven only allows you to resolve dependencies from JARs.

When I said 2.0-m3, I meant AppFuse, not this plugin.  This plugin's
latest version is 1.0-m4-SNAPSHOT.

Matt

On 3/15/07, Olivier Liechti <[EMAIL PROTECTED]> wrote:

Hi Matt,

I did some tests (I am working with David). I did not find a 2.0-m3 version,
but only a 1.0-m3 one. Anyway, with this version, it works ok.

The offending block in the pom.xml file is the following (it's the one that
I have commented out):

        <dependency>
            <groupId>org.appfuse</groupId>
            <artifactId>appfuse-${web.framework}</artifactId>
            <version>${appfuse.version}</version>
            <type>war</type>
        </dependency>
        <!--
        <dependency>
            <groupId>org.appfuse</groupId>
            <artifactId>appfuse-${web.framework}</artifactId>
            <version>${appfuse.version}</version>
            <type>warpath</type>
        </dependency>
        -->
If I add the comments, then mevenide stops complaining. Also, if I change
the content of <version></version> to an arbitratry string, it works ok.

I am not familiar with maven dependencies, so I don't really understand what
is implied by the war, resp warpath types...



mraible wrote:
>
> That's strange it works with m3-SNAPSHOT.  Can you try 2.0-m3 and see
> if it works with that?  If it does, it's possible we broke something
> in the WarPath plugin.
>
> Matt
>
> On 3/15/07, Djohannot <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I'm a new user of appfuse. I've follow the Quickstart without any
>> problem.
>> The problem came after....
>>
>> I wanted to open my Appfuse Project on Netbeans. I've installed Mavenide
>> (last relase) to do it. But when I open my project i've an "Artifact
>> Resolution problem", who come with this description:
>>
>>
>>
>>
>> Unable to copy resolved artifact for local use: File C:\Documents and
>> 
Settings\djt\.m2\repository\org\appfuse\appfuse-jsf\2.0-m4-SNAPSHOT\appfuse-jsf-2.0-m4-20070307.091744-33.warpath
>> does not exist
>>   org.appfuse:appfuse-jsf:warpath:2.0-m4-SNAPSHOT
>>
>> from the specified remote repositories:
>>   appfuse (http://static.appfuse.org/repository),
>>   central (http://repo1.maven.org/maven2)
>> Path to dependency:
>>         1) com.mycompany:mavenproject:war:1.0-SNAPSHOT
>>         2) org.appfuse:appfuse-jsf:warpath:2.0-m4-SNAPSHOT
>>
>> - If I use maven with the command line to build my project, I've no
>> problem,
>> but impossible tu use it correctly under Netbeans 5.5.
>>
>> - If I look in the Dependencies Folder, i've nothing.
>>
>> - If I use the m3-SNAPSHOT, it works, but i don't want to use an older
>> version...
>>
>> I work under Windows, but the problem is the same on a mac OS
>> environnement.
>> If you need any information to help me, i'll be very happy to give it to
>> you
>> :-)
>>
>> Thanks for your help, and for reading my message.
>> --
>> View this message in context:
>> 
http://www.nabble.com/Artifact-problem-with-Appfuse-on-Netbeans-5.5-with-Mavenide-tf3407163s2369.html#a9490926
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/Artifact-problem-with-Appfuse-on-Netbeans-5.5-with-Mavenide-tf3407163s2369.html#a9502992
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to