Thank you, Niels.
Your settings.xml more clean for newbies and for first experiments with 
Jetspeed2.

I guess than the problem source is a file permissions.
My tomcat run as 'nobody' user in 'devel' group.
And first time I build J2 as 'nobody' user using 'sudo'.
Dont know how to solve the problem still  using 'sudo'.
Then I build it as my real user ('nick' f.e.), successfully.
Next problem is a permissions.
Users 'nobody' and 'nick' are members of 'devel' group.
/opt/tomcat has the 'devel' Group ID.
I run 'mvn -P tomcat' as user 'nick', but I change group ID 
of ~/jetspeed/myportal dir to 'devel'
As result, permissions of portal war is:
-rw-r--r--  1 nick    devel 15869714 2008-10-02 13:35 myportal.war
and same for deployed files
so I got a problems when portal app (tomcat as 'nobody:devel') write to
/opt/tomcat/webapps/myportal/logs
which is 'drwxr-xr-x 9 fnm devel'

Now I'll try to play with 'umask'.
Is it any other solutions?
(Of course I see one - same user id for tomcat and developers)

В сообщении от Wednesday 01 October 2008 20:58:17 Niels van Kampenhout 
написал(а):
> Nick Fedchik wrote:
> > What do I do incorrectly?
> > Is it a well-known bug? or my configuration problem?
>
> This looks like a Maven error obfuscating the real problem. Check that
> you have a 'settings.xml' in your '/home/<username>/.m2' directory, and
> that it contains all the required settings for Jetspeed 2. There is a
> 'jetspeed-2-resources.zip' [1] that comes with the Maven 2 tutorial you
> are following. It contains some sample 'settings.xml' files in the
> 'maven' subdirectory that are nice and clean, and easier to understand
> than the 'official' sample [2].



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

Reply via email to