Often times you will have 3rd party JARs that you need to put in your local repository for use in your builds. The JARs must be placed in the local repository in the correct place in order for it to be correctly picked up by Maven. To make this easier, and less error prone, we have provide a goal in the install plug-in which should make this relatively painless.
To install a JAR in the local repository use the following command:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \ -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
For example, to install jbilling_api.jar (API for connecting to JBilling application), use the following command:
mvn install:install-file -Dfile=/opt/jbilling_api.jar -DgroupId=jbilling \ -DartifactId=jbilling -Dversion=2.0 -Dpackaging=jar
Then, on the project’s POM file, add the following external dependency, so that Maven will include this jar while compiling:
<dependencies>
…
<dependency>
<groupId>jbilling</groupId>
<artifactId>jbilling</artifactId>
<version>2.0</version>
</dependency>
…
</dependencies>
This article explain how to use JavaMail API for sending email through our Java application. This will cover simple email, HTML email, and email with attachments.
The required JavaMail API can found here. Put it on a directory accessible by CLASSPATH setting. It’s a good idea to read the JavaMail FAQ.
Read more…
NetBeans™ IDE 6.8 offers best-in-class support for the entire Java™ Platform Enterprise Edition 6 specification and the Sun GlassFish™ Enterprise Server v3 platform. Simplify Java application development with Java EE 6 language features: less XML configuration and more POJO-like development; easily target and deploy to GlassFish v3.
NetBeans IDE continues to be the tool of choice for top development languages, and this release includes new features and improved support for PHP 5.3 and the Symfony framework, the latest JavaFX™ SDK 1.2.1, C/C++, Ruby, Maven and more. Integration with Project Kenai, a collaborative environment for hosting open-source projects, now offers full support for JIRA, as well as improved issue tracker integration. As always, the NetBeans Platform provides a rock-solid application framework that can save years of development time.
Supporting Java EE 6 improvements first, NetBeans IDE 6.8 boosts developer productivity and lets developers take advantage of today’s latest languages and platform features.
NetBeans IDE 6.8 is available in English, Brazilian-Portuguese, Japanese and Simplified Chinese.

Read more…
Berikut ini daftar beberapa situs yang menyediakan e-book seputar IT yang bisa didownload gratis. List ini senantiasa diupdate, jadi sebaiknya di-bookmark siapa tau perlu di kemudian hari. Jika anda punya situs e-book yang baik silahkan hubungi kami di halaman Contact.
Read more…
Categories: e book, E-Learning Tags: Ajax, Algorithms, Business & Investing, C & C++, Certification Stuff, database, Delphi, Development for Web, Dot NET, download, e book, General Programming, Graphics & Design, Java, javascript, Magazines, Medical & Health, Networks, Operating System, Perl, PHP, Python, Science & Engineering, Scripts & Web Templates, Software Development, UML, Video Training, XML
In order to be successfully installing Adempiere, you must do the following steps on the right order.
- Fulfill the prerequisites
- Installing Java Development Kit (JDK)
- Installing Database (Oracle 10g, 11g, or XE, or PostgreSQL)
- Setup Adempiere
- Create Adempiere Database
- Complete Server Setup
Prerequisites
Adempiere ERP requires the following item to be configured properly:
Sun Java 1.5.0 JDK (not just JRE)
One of the database
- Oracle 10g
- Oracle 11g
- Oracle XE
- Postgresql 8.1 and above
The latest version of ADempiere
Read more…
Recent Comments