andrespontt / jibx Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jibx/jibx
JiBX Parent Project
Home Page: www.jibx.org
This project forked from jibx/jibx
JiBX Parent Project
Home Page: www.jibx.org
JiBX is a tool for binding XML data to Java objects. This is the top-level project. The sub-projects are: - core - main jibx code - jibx-parent - maven shared project settings - plugins - Maven and eclipse plugins - web-services jibx/ws - schema-library - Pre-built JiBX bindings To check out a sub-project, follow the github instructions. To check out all the projects, check out this project and use the initsubmodules script: git clone [email protected]:jibx/jibx.git cd jibx bin/git/initsubmodules.sh NOTE: If you want readonly access, replace line 1 with this: git clone -b readonly git://github.com/jibx/jibx.git -- If you make a change to a submodule there you must sync this master project by doing this from the main(jibx) directory: bin/git/commitall.sh "Commiting a submodule" To build all the projects, do the following: cd jibx-parent mvn install cd ../core/build ant -f build-ivy.xml ant cd maven mvn install cd ../../../plugins/maven-plugin/ mvn install Developers: To release to maven central, you will need to sign up with nexus. Just follow these instructions: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide For jibx, you will need to make some changes to your ~/.m2/settings.xml file: 1. Your sourceforge vcs user name (You should probably also set your o/s for auto-ssh sign in): <servers> ... <server> <id>jibx.git.sourceforge.net</id> <username>doncorley</username> <password>***enter-your-password-here***</password> </server> <server> <id>jibx.svn.sourceforge.net</id> <username>doncorley</username> <password>***enter-your-password-here***</password> </server> <server> <id>jibx.cvs.sourceforge.net</id> <username>doncorley</username> <password>***enter-your-password-here***</password> </server> </servers> 2. Your nexus account information: <server> <id>sonatype-nexus-snapshots</id> <username>doncorley</username> <password>***enter-your-password-here***</password> </server> <server> <id>sonatype-nexus-staging</id> <username>doncorley</username> <password>***enter-your-password-here***</password> </server> 3. Your sourceforge user and password for documentation uploads <server> <id>sourceforge.net</id> <username>doncorley</username> <password>***enter-your-password-here***</password> <filePermissions>775</filePermissions> <directoryPermissions>775</directoryPermissions> </server> 4. Your root directory and gpg passphrase: <profiles> <profile> <id>global-properties</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.passphrase>**Your passphrase**</gpg.passphrase> <workspace>/home/don/workspace-jibx/jibx</workspace> <jibx-root>/home/don/workspace-jibx/jibx</jibx-root> <sourceforge-user>doncorley</sourceforge-user> </properties> </profile> </profiles> ---------------------------------------------------------------------- # A release is similar to a install, follow these steps: # Make sure all dependencies are up-to-date cd ../core rm lib/*.jar rm lib/*.zip cd build # Edit the build.xml and set the correct release version ant -f build-ivy.xml ant cd .. mv jibx_x_x_x.zip lib/ # Edit build.xml and set the next snapshot version ############## Upload core/lib/jibx_x_x_x.zip to sourceforge. cd .. # --NOTE---- Fix the obr location(s) ------------------ # Edit the jibx-parent file and change any <jibx-xxx> properties to point to the next release version # Change any external parent references to the release version # Push all changes to the git repository cd jibx-parent mvn release:prepare mvn release:perform # Edit the jibx-parent file and change any <jibx-xxx> properties to point to the next snapshot version cd ../core mvn versions:update-parent mvn versions:commit git commit -am "Preparing for release" git push mvn release:prepare mvn release:perform # Now you should remove the fake source directories that were added so maven could upload jibx source rm -fr build/maven/jibx-run/src rm -fr build/maven/jibx-tools/src rm -fr build/maven/jibx-bind/src rm -fr build/maven/jibx-schema/src rm -fr build/maven/jibx-extras/src # Wait for release to sync # Now for the plugin cd ../plugins/maven-plugin mvn versions:update-parent mvn versions:use-releases mvn versions:commit git commit -am "Preparing for release" git push mvn release:prepare mvn release:perform cd target/checkout/jibx-maven-plugin #ssh -t doncorley,[email protected] create mvn site site:deploy #----- #ssh doncorley,[email protected] #ssh -t doncorley,[email protected] create #cd /home/project-web/jibx/htdocs/ #rm -fr maven-jibx-plugin #cp -r jibx-maven-plugin maven-jibx-plugin #---- cd ../../schema-library # Edit archetype pom file to reflect the release version mvn versions:update-parent mvn versions:commit git commit -am "Preparing for release" git push mvn release:prepare mvn release:perform cd target/checkout/schema-utilities/site mvn site site:deploy rm org.opentravel/_2010B/opentravel-schema/schema/src/main/schema/ota-schema/*.xsd rm org.opentravel/_2011B/opentravel-schema/schema/src/main/schema/ota-schema/*.xsd rm org.opentravel/_2011A/opentravel-schema/schema/src/main/schema/ota-schema/*.xsd ---------------------------------------------------------------------- To deploy a snapshot, just enter your project directory and type: mvn deploy Don
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.