The maven adaptor using the same script to place repository to a specific
location and it works fine.
I am confused too. Have you found the cause now?
2007/11/12, Stepan Mishura <[EMAIL PROTECTED]>:
>
> Hi all,
>
> I've realized that my commit broke Geromino unit test suite on linux.
> My impression was that the change is trivial and there is no risk to
> break the run:
> The suite creates 72Mb repository during setup so I just changed
> repository location from default (user's home) to CC's build directory
> by adding to config file the following line:
> <localRepository>${maven.repository}</localRepository>
>
> where
> <property name="maven.repository" location="${work.dir}/.m2"/>
>
> I didn't notice the problem because overall setup passed (this is a
> subject to be fixed) but suite's setup output contains error message
> (see below).
> Sure, I can roll back my commit (and get 72Mb repository back to my
> home dir :-( ) but before I'd like to try to fix it. I'm not familiar
> with Geronimo suite build and currently have no idea what the root
> cause is and if there is a quick fix for it so any help it greatly
> appreciated.
>
> [java] [exec] [INFO]
>
> ----------------------------------------------------------------------------
> [java] [exec] [INFO] Building Geronimo :: ActiveMQ Embedded RAR
> [java] [exec] [INFO] task-segment: [compile, test-compile]
> [java] [exec] [INFO]
>
> ----------------------------------------------------------------------------
> [java] [exec] [INFO] snapshot
> org.apache.maven.plugins:maven-plugins:4-SNAPSHOT: checking for
> updates from Codehaus Snapshots
> [java] [exec] [INFO] snapshot
> org.apache.maven.plugins:maven-plugins:4-SNAPSHOT: checking for
> updates from apache-snapshots
> [java] [exec] [INFO] snapshot
> org.apache.maven.plugins:maven-plugins:4-SNAPSHOT: checking for
> updates from codehaus-snapshots
> [java] [exec] [INFO] snapshot
> org.apache.maven.plugins:maven-plugins:4-SNAPSHOT: checking for
> updates from apache.snapshots
> [java] [exec] [INFO]
> ------------------------------------------------------------------------
> [java] [exec] [ERROR] BUILD ERROR
> [java] [exec] [INFO]
> ------------------------------------------------------------------------
> [java] [exec] [INFO] Error building POM (may not be this
> project's POM).
>
>
> [java] [exec] Project ID:
> null:maven-rar-plugin:maven-plugin:2.2-20061214.023626-2
>
> [java] [exec] Reason: Cannot find parent:
> org.apache.maven.plugins:maven-plugins for project:
> null:maven-rar-plugin:maven-plugin:2.2-20061214.023626-2
>
>
> [java] [exec] [INFO]
> ------------------------------------------------------------------------
> [java] [exec] [INFO] For more information, run Maven with
> the -e switch
> [java] [exec] [INFO]
> ------------------------------------------------------------------------
> [java] [exec] [INFO] Total time: 30 seconds
> [java] [exec] [INFO] Finished at: Fri Nov 09 19:57:50 NOVT 2007
> [java] [exec] [INFO] Final Memory: 47M/90M
> [java] [exec] [INFO]
> ------------------------------------------------------------------------
> [java] [exec] Result: 1
>
> [java] BUILD SUCCESSFUL
> [java] Total time: 32 seconds
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 08, 2007 10:07 AM
> To: [EMAIL PROTECTED]
> Subject: svn commit: r593005 -
> /harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
>
> Author: smishura
> Date: Wed Nov 7 20:07:28 2007
> New Revision: 593005
>
> URL: http://svn.apache.org/viewvc?rev=593005&view=rev
> Log:
> Geromino unit test suite:
> change repository location - it shouldn't create repository(72M) in
> user's home dir
>
> Modified:
> harmony/enhanced/buildtest/branches/2.0/tests/gut/build.xml
>
>
> --
> Stepan Mishura
> Intel Enterprise Solutions Software Division
>
--
Sean Qiu
http://xiaoxia.turendui.com