[infinispan-dev] infinispan 5.3.0 build issues

Mohan Dhawan mohan.dhawan at gmail.com
Fri May 23 04:47:02 EDT 2014


Hi Tristan,

I was using "-Dmaven.test.skip " and the build was failing. Using 
"-Dmaven.test.skip.exec " worked just like a charm.

Thanks for the help.

Regards,
mohan


On Friday 23 May 2014 01:08 PM, Tristan Tarrant wrote:
> Mohan,
>
> first, clear your local maven repo from any Infinispan artifacts (I
> assume you are using Linux):
>
> $ rm -rf $HOME/.m2/repository/org/infinispan
>
> now attempt the build again. Please note: tests *must* be built (but you
> don't need to run them). Therefore you need to add either -DskipTests or
> -Dmaven.test.skip.exec to your command-line.
> Do *NOT* add -Dmaven.test.skip as the build will fail.
>
> Since Infinispan 6.0 we have a convenient build.sh / build.bat
> combination together with a maven-settings.xml file. They are not
> specific to a particular version of Infinispan, so they can be used even
> to build from a 5.x tag.
>
> Tristan
>
> On 23/05/2014 09:19, Mohan Dhawan wrote:
>> Hi Radim,
>>
>> I did try to delete them but the compilation process kept halting at the
>> same places every time. So, I just renamed the file. I've purged the
>> repository, tried doing a clean install, but still get the errors ---
>> the latest being the org.apache.maven.plugins:maven-surefire-plugin
>> error for which I have no clue.
>>
>> Kindly advise.
>>
>> Regards,
>> mohan
>>
>> On Friday 23 May 2014 12:40 PM, Radim Vansa wrote:
>>> In Maven repository, the *.jar.lastUpdated is no JAR - it's just file
>>> with timestamps of last attempt to download the files from external
>>> source. The only thing you should do with these files is delete them if
>>> you want to reattempt the download again.
>>>
>>> Radim
>>>
>>>
>>> On 05/23/2014 09:02 AM, Mohan Dhawan wrote:
>>>> Hi Dan,
>>>>
>>>> Thanks for the reply. Apparently, the .jar was not getting built. Instead,
>>>> an *-tests.jar.lastUpdated file was being created in the corresponding
>>>> folder in the repository. Merely, renaming the *.jar.lastUpdated file to
>>>> *.jar did the trick. However, now I get the following error:
>>>>
>>>> [INFO] [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on
>>>> project infinispan-jcache-tck-runner: Execution default-test of goal
>>>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The
>>>> forked VM terminated without saying properly goodbye. VM crash or
>>>> System.exit called ?
>>>> [INFO] [ERROR] Command was/bin/sh -c cd
>>>> /home/ibmadmin/Downloads/5.3.x/jcache/target/it/tck-runner &&
>>>> "${env.JAVA_HOME_7}/bin/java" -Xmx1024m -XX:MaxPermSize=256m
>>>> -Dsun.nio.ch.bugLevel -jar
>>>> /home/ibmadmin/Downloads/5.3.x/jcache/target/it/tck-runner/target/surefire/surefirebooter2569451925699817293.jar
>>>> /home/ibmadmin/Downloads/5.3.x/jcache/target/it/tck-runner/target/surefire/surefire8323245713679303102tmp
>>>> /home/ibmadmin/Downloads/5.3.x/jcache/target/it/tck-runner/target/surefire/surefire_06253795966223488172tmp
>>>> [INFO] [ERROR] -> [Help 1]
>>>>
>>>> Kindly advise.
>>>>
>>>> Regards,
>>>> mohan
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://infinispan-developer-list.980875.n3.nabble.com/Re-infinispan-dev-infinispan-5-3-0-build-issues-tp4029237p4029241.html
>>>> Sent from the Infinispan Developer List mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> infinispan-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list