maven.test.skip=true was the first I needed to remember, so it is hard
to get out of my head and replace it with -DskipTests

You could also consider running the maven build with a Java 5 JDK
instead of your Java 6 JDK. The tests shouldn't fail then (Java 6 has
altered the internals of HashMap/HashSet causing differences in the
order of attributes in the reference markup used in our tests).

Martijn

On Sun, Mar 8, 2009 at 8:58 PM, Dave Schoorl <[email protected]> wrote:
> run "mvn install -DskipTests"
>
> The difference with "mvn -Dmaven.test.skip=true install" is that the test
> classes are compiled, but the tests just are not run. The option
> "maven.test.skip=true" prevents the compilation of the test classes and the
> absence of the test classes is what maven is complaining about.
>
>
>
> NHSoft.YHW wrote:
>>
>> I can not found where to get lastest 1.3.x jar file, so I build from
>> source,
>> but there always has error.
>>
>> check out lastest code from
>> "http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x";, then build
>> with "mvn installl", but build failure because some test case run error.
>> so
>> I build with "mvn -Dmaven.test.skip=true install" as wicket site said, but
>> there has some error, detail information
>>
>> INFO] [bundle:manifest {execution: bundle-manifest}]
>> [WARNING] Warning in manifest for
>> org.apache.wicket:wicket-extensions:jar:1.3-SN
>> APSHOT : Superfluous export-package instructions: [org, org.apache,
>> org.apache.w
>> icket, org.apache.wicket.extensions.ajax,
>> org.apache.wicket.extensions.ajax.mark
>> up, org.apache.wicket.extensions.ajax.markup.html.form,
>> org.apache.wicket.extens
>> ions.ajax.markup.html.repeater,
>> org.apache.wicket.extensions.ajax.markup.html.re
>> peater.data, org.apache.wicket.extensions.markup,
>> org.apache.wicket.extensions.m
>> arkup.html, org.apache.wicket.extensions.markup.html.image,
>> org.apache.wicket.ex
>> tensions.markup.html.repeater,
>> org.apache.wicket.extensions.markup.html.repeater
>> .data, org.apache.wicket.extensions.util,
>> org.apache.wicket.extensions.validatio
>> n]
>> [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.3-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.3-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
>> -Dv
>> ersion=1.3-SNAPSHOT -Dclassifier=tests -Dpackaging=jar
>> -Dfile=/path/to/file
>> -Dur
>> l=[url] -DrepositoryId=[id]
>>
>>  Path to dependency:
>>        1) org.apache.wicket:wicket-extensions:jar:1.3-SNAPSHOT
>>        2) org.apache.wicket:wicket:jar:tests:1.3-SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>  org.apache.wicket:wicket-extensions:jar:1.3-SNAPSHOT
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2)
>>
>> anyone could help me how to build, or where to get lastest build jar
>> files,
>> thanks.
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to