• Christian Schudt's avatar
    Migrate build process from Ant to Maven (WIP). · f5ee1de2
    Christian Schudt authored
    The Maven structure is:
    -/
    --dbutil (used by xmppserver)
    --i18n (used by starter and xmppserver)
    --starter (launcher and starter package, startup.jar)
    --xmppserver (nearly everything in the src dir, openfire.jar)
    --webadmin (admin plugin)
    --plugins
    ---broadcast
    ---...
    
    I've also added Maven plugins to mimic partial behavior of the Ant build (copying dependencies, bin/conf folder, ...)
    
    This commit addresses issues OF-546.
    
    I reconfigured the pom.xmls to work with the existing directory structure, (instead of default src/main/java), so that the current src folder stays untouched.
    
    What it can do:
    - Run tests successfully
    - Generate JavaDoc
    - Assemble most plugin jars (without JSP)
    - Assemble admin plugin (without JSP)
    - Generate a source zip/tar.gz for distribution (as the download page offers it currently)
    - Build the startup.jar and openfire.jar, copy it in the right directory, so that Openfire can be run with `java -jar startup.jar`
    
    What it can't do:
    - Build executables for every platform (e.g. install4j, *.dmg, ...)
    - Build some plugins (e.g. ofmeet) due to non-Maven dependencies.
    
    Todos:
    - Fix these issues
    - Move source code to the correct paths, e.g. /src to xmppserver/src/main/java
    f5ee1de2
Name
Last commit
Last update
..
assembly Loading commit data...
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...