directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind N <arvind.open...@gmail.com>
Subject Re: issues in compiling latest checked out src..
Date Wed, 08 Sep 2010 14:42:54 GMT
On Wed, Sep 8, 2010 at 7:10 PM, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:
> More precisely, I think tests are not run.
>
> And clearly, given the Maven output, this is what's missing there.
>
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Failed to resolve dependencies for one or more projects in the
>> reactor. Reason: Missing:
>> ----------
>> 1) org.apache.directory.server:apacheds-xdbm-partition:jar:tests:1.5.8-SNAPSHOT
>>
>>  Try downloading the file manually from the project website.
>
>
> Regards,
> Pierre-Arnaud
>
> On 8 sept. 2010, at 15:12, Emmanuel Lécharny wrote:
>
>>
>>> On Wed, Sep 8, 2010 at 1:28 PM, Emmanuel Lécharny<elecharny@apache.org>
 wrote:
>>>>> On Tue, Sep 7, 2010 at 8:02 PM, Emmanuel Lécharny<elecharny@apache.org>
>>>>>  wrote:
>>>>>>> On Tue, Sep 7, 2010 at 6:58 PM, Emmanuel Lécharny<elecharny@apache.org>
>>>>>>>  wrote:
>>>>>>>>>>> But when i do svn checked out the from the above
URL, the
>>>>>> You must build shared first (from trunk), and then the API.
>>>>> Is the trunk SVN URL in the
>>>>> http://directory.apache.org/community%26resources/sources.html page ??
>>>>> for the LDAP API i see only this as the URL... which URL should i use
>>>>> to get the shared trunk.. ??
>>>>>                        Apache LDAP
>>>>> API     http://svn.apache.org/repos/asf/directory/clients/ldap/trunk/
>>>> get everything from
>>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>>
>>>> and build everything from there (including the server).
>>>>
>>>> It will take a while, but it's safe.
>>>>
>>> Thanks for the info. Just did a clean of everything deleted all
>>> directories downloaded the whole trunk
>>> in a diff location... and on mvn compile is still see one issue..
>>> given below...
>>
>> Try mvn clean install instead of mvn compile. I'm afraid that mvn compile does not
store the built jars into the repos.
>>

Well when i do a mvn clean install i get the below exception


[INFO] Surefire report directory:
D:\os\apacheDC\directory-checkstyle\target\surefire-reports
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
D:\os\apacheDC\directory-checkstyle\target\surefire-reports for the
individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to
D:\os\apacheDC\directory-checkstyle\target\surefire-reports for the
individual test results.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are
test failures.

Please refer to
D:\os\apacheDC\directory-checkstyle\target\surefire-reports for the
individual test results.
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Sep 08 20:09:37 IST 2010
[INFO] Final Memory: 37M/254M
[INFO] ------------------------------------------------------------------------

D:\os\apacheDC>echo %MAVEN_OPTS%
-Xms256m -Xmx512m

The mem max is 512m, when i increase this to 768m the mvn clean
install does not even start... some issue ...

~A

Mime
View raw message