Sorry about this.
Seems that while applying apache commits on our repositories ( and make
James-parent follow Apache commits for sub modules)
I just committed something that corrects the problem.
I reproduced what you described. To compile James from here I run :
cd james-parent
git pull origin trunk
git submodule init
git submodule update
mvn clean install -D
Benoit
Le 28/08/2015 13:30, Rami Ojares a écrit :
just use :
git clone https://github.com/linagora/james-parent
git submodule init
git submodule update
mvn clean install ...
Step 1 went ok.
Then I assumed that I should cd to james-parent folder.
When I ran command "git submodule init" I got:
Submodule 'james-project'
(https://github.com/linagora/james-project.git) registered for path
'james-project'
Submodule 'modules/james' (https://github.com/linagora/james.git)
registered for path 'modules/james'
No submodule mapping found in .gitmodules for path
'modules/james-backends'
Is the missing of james-backends going to be a problem.
When I ran command "git submodule update" I got:
Cloning into 'james-project'...
[Multiple lines removed for brevity]
No submodule mapping found in .gitmodules for path
'modules/james-backends'
Then when trying to build with mave 3.3.3 early on the build stopped
at this point.
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jdkim/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jsieve/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jspf/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/protocols/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mailet/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mime4j/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mailbox/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mpt/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.james:apache-james-parent:0.1-SNAPSHOT
(/opt/archon/src-others/james-parent/pom.xml) has 8 errors
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jdkim/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jsieve/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/jspf/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/protocols/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mailet/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mime4j/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mailbox/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
[ERROR] Child module
/opt/archon/src-others/james-parent/modules/mpt/pom.xml of
/opt/archon/src-others/james-parent/pom.xml does not exist
- Rami
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org