i ran into the same issue today.

i needed to remove

<dependency>
                       <groupId>org.apache.wicket</groupId>
                       <artifactId>wicket</artifactId>
                       <classifier>tests</classifier>
                       <scope>test</scope>
               </dependency>

from wicket-extensions. after that  mvn -Dmaven.test.skip=true install
works fine.

francisco



On Tue, May 27, 2008 at 9:34 AM, Frank Bille <[EMAIL PROTECTED]> wrote:
> Run mvn install in the root directory, not the individual projects.
> Else you need to manually mvn install in all the wicket dependencies
> for a project. It doesn't take very long (1-2min).
>
> Frank
>
>
> On Tue, May 27, 2008 at 9:20 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote:
>> I have removed from file wicket-trunk/wicket-extensions/pom.xml the
>> following
>> dependency:
>>
>>                <dependency>
>>                        <groupId>org.apache.wicket</groupId>
>>                        <artifactId>wicket</artifactId>
>>                        <classifier>tests</classifier>
>>                        <scope>test</scope>
>>                </dependency>
>>
>> and now "mvn -Dmaven.test.skip=true install" works.
>>
>> Has somebody succeeded in compiling his/her own build of wicket without
>> editing
>> the source?
>>
>> On 27.05.2008, at 08:49, Kaspar Fischer wrote:
>>
>>> Anybody?
>>>
>>> I have tried with a fresh install of mvn (2.0.7) by removing my ~/.m2
>>> directory
>>> but run into the identical problem.
>>>
>>> On 26.05.2008, at 23:10, Kaspar Fischer wrote:
>>>
>>>> I am trying to compile the current SVN trunk version (r660285) of wicket,
>>>> following the instructions
>>>>
>>>> http://wicket.apache.org/building-from-svn.html
>>>>
>>>> "mvn clean" and "mvn compile" run without problems, but "mvn package"
>>>> fails with "Failed to resolve artifact" (see below). Any ideas what I
>>>> am doing wrong? Or do I really have to download something, but if so,
>>>> from where?
>>>>
>>>> Thanks,
>>>> Kaspar
>>>>
>>>> --
>>>> [INFO] Building Wicket Extensions
>>>> [INFO]    task-segment: [package]
>>>> [INFO]
>>>> ----------------------------------------------------------------------------
>>>> [INFO] [resources:resources]
>>>> [INFO] Using default encoding to copy filtered resources.
>>>> [INFO] [compiler:compile]
>>>> [INFO] Nothing to compile - all classes are up to date
>>>> [INFO] [bundle:manifest {execution: bundle-manifest}]
>>>> [INFO] [resources:testResources]
>>>> [INFO] Using default encoding to copy filtered resources.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> Missing:
>>>> ----------
>>>> 1) org.apache.wicket:wicket:jar:tests:1.4-SNAPSHOT
>>>>
>>>> Try downloading the file manually from the project website.
>>>>
>>>> Then, install it using the command:
>>>>    mvn install:install-file -DgroupId=org.apache.wicket
>>>> -DartifactId=wicket \
>>>>        -Dversion=1.4-SNAPSHOT -Dclassifier=tests -Dpackaging=jar
>>>> -Dfile=/path/to/file
>>>> Alternatively, if you host your own repository you can deploy the file
>>>> there:       mvn deploy:deploy-file -DgroupId=org.apache.wicket
>>>> -DartifactId=wicket \
>>>>        -Dversion=1.4-SNAPSHOT -Dclassifier=tests -Dpackaging=jar
>>>> -Dfile=/path/to/file \
>>>>         -Durl=[url] -DrepositoryId=[id]
>>>>
>>>> Path to dependency:
>>>>        1) org.apache.wicket:wicket-extensions:jar:1.4-SNAPSHOT
>>>>        2) org.apache.wicket:wicket:jar:tests:1.4-SNAPSHOT
>>>>
>>>> ----------
>>>> 1 required artifact is missing.
>>>>
>>>> for artifact:
>>>> org.apache.wicket:wicket-extensions:jar:1.4-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>> central (http://repo1.maven.org/maven2)
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to