I guess there's something I didn't follow correctly. Where do the james
jars and conf get installed to? I can't find them after executing the
commands below. Admittedly, not a maven expert.
mike@dev:$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache James Project 1.8.3-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ james-project ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @
james-project ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (jar) @ james-project ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
/data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-project ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
/data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) >
generate-sources @ james-project >>>
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) <
generate-sources @ james-project <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @
james-project ---
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:test-jar (attach-sources) >
generate-sources @ james-project >>>
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:test-jar (attach-sources) <
generate-sources @ james-project <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @
james-project ---
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
james-project ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @
james-project ---
[INFO] Installing
/data/projects/LIC/james/james3/20150827/james-parent/james-project/pom.xml
to
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT.pom
[INFO] Installing
/data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar
to
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-tests.jar
[INFO] Installing
/data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-site.xml
to
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-site.xml
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.359 s
[INFO] Finished at: 2015-08-27T11:27:05-04:00
[INFO] Final Memory: 17M/303M
[INFO]
------------------------------------------------------------------------
mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$
ll
total 100
8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./
8 drwxrwxr-x+ 6 mike mike 4096 Aug 27 11:19 ../
4 -rw-rw-r--+ 1 mike mike 38 Aug 27 11:20 .git
60 -rw-rw-r--+ 1 mike mike 58108 Aug 27 11:20 pom.xml
4 -rw-rw-r--+ 1 mike mike 1641 Aug 27 11:20 README.txt
8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:20 src/
8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 target/
mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$
ll target/
total 68
8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./
8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ../
12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27
james-project-1.8.3-SNAPSHOT.jar
8 -rw-rw-r--+ 1 mike mike 4633 Aug 27 11:27
james-project-1.8.3-SNAPSHOT-site.xml
12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27
james-project-1.8.3-SNAPSHOT-tests.jar
8 drwxrwxr-x+ 2 mike mike 4096 Aug 27 11:27 maven-archiver/
8 drwxrwxr-x+ 3 mike mike 4096 Aug 27 11:27
maven-shared-archive-resources/
4 -rw-rw-r--+ 1 mike mike 30 Aug 27 11:27 .plxarc
mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$
unzip -l target/james-project-1.8.3-SNAPSHOT.jar
Archive: target/james-project-1.8.3-SNAPSHOT.jar
Length Date Time Name
--------- ---------- ----- ----
0 2015-08-27 11:27 META-INF/
448 2015-08-27 11:27 META-INF/MANIFEST.MF
0 2015-08-27 11:27 META-INF/maven/
0 2015-08-27 11:27 META-INF/maven/org.apache.james/
0 2015-08-27 11:27 META-INF/maven/org.apache.james/james-project/
58108 2015-08-27 11:20
META-INF/maven/org.apache.james/james-project/pom.xml
123 2015-08-27 11:27
META-INF/maven/org.apache.james/james-project/pom.properties
--------- -------
58679 7 files
$ ll
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/
total 172
4 drwxrwxr-x 2 mike mike 4096 Aug 27 11:27 ./
4 drwxrwxr-x 6 mike mike 4096 Aug 27 11:27 ../
60 -rw-rw-r-- 1 mike mike 58108 Jun 29 11:42
james-project-1.8.3-20141031.000311-456.pom
4 -rw-rw-r-- 1 mike mike 40 Jun 29 11:42
james-project-1.8.3-20141031.000311-456.pom.sha1
60 -rw-rw-r-- 1 mike mike 58108 Aug 27 11:20
james-project-1.8.3-SNAPSHOT.pom
8 -rw-rw-r-- 1 mike mike 4633 Aug 27 11:27
james-project-1.8.3-SNAPSHOT-site.xml
12 -rw-rw-r-- 1 mike mike 9345 Aug 27 11:27
james-project-1.8.3-SNAPSHOT-tests.jar
4 -rw-rw-r-- 1 mike mike 1037 Jun 29 11:42
maven-metadata-apache.snapshots.xml
4 -rw-rw-r-- 1 mike mike 41 Jun 29 11:42
maven-metadata-apache.snapshots.xml.sha1
4 -rw-rw-r-- 1 mike mike 956 Aug 27 11:27 maven-metadata-local.xml
4 -rw-rw-r-- 1 mike mike 311 Aug 27 11:27 _remote.repositories
4 -rw-rw-r-- 1 mike mike 195 Jun 29 11:42 resolver-status.properties
$ unzip -l
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-tests.jar
Archive:
/home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-tests.jar
Length Date Time Name
--------- ---------- ----- ----
0 2015-08-27 11:27 META-INF/
448 2015-08-27 11:27 META-INF/MANIFEST.MF
0 2015-08-27 11:27 META-INF/maven/
0 2015-08-27 11:27 META-INF/maven/org.apache.james/
0 2015-08-27 11:27 META-INF/maven/org.apache.james/james-project/
58108 2015-08-27 11:20
META-INF/maven/org.apache.james/james-project/pom.xml
123 2015-08-27 11:27
META-INF/maven/org.apache.james/james-project/pom.properties
--------- -------
58679 7 files
On 08/27/2015 08:35 AM, Benoit Tellier wrote:
Le 27/08/2015 12:29, Rami Ojares a écrit :
> You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz
file in the app/target directory ( if it is like beta 5 ).
> You have all needed files contained in it.
Unfortunately there is no app folder created by the build.
Where can I find beta 5 and why is it not announced on the website?
My bad, tag geta-5 does not exist yet. And app folder appeared after
beta-4...
> To build successfully James from trunk, you can have a look to
https://github.com/linagora/james-parent
Ok, maybe I will try that if all else fails.
I have never used git, neither docker so that would be one more
obstacle to cross.
You can avoid docker in the process.
just use :
git clone https://github.com/linagora/james-parent
git submodule init
git submodule update
mvn clean install ...
For having a working configuration with this, you will have to modify
the conf/* files...
I am trying to build James only because I want to have a working
installation of James 3.
I was not able to do that with pre-built
apache-james-3.0-beta4-app.tar.gz and that's why I ended up trying to
build it.
I will keep trying.
But once I have James 3 finally running I would like to update the
website instructions to a state that everyone can at least install
and run James without problems.
- rami
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org