Tag Archives: java

Debugging JAXB unmarshalling issues

JAXB appears to fail silently in some cases if the XML it’s attempting to unmarshall to mapped classes doesn’t have the necessary mapped properties. You can get additional output by adding the following:

– displays information during JAXB initialization … Continue reading

Posted in Tech Notes | Tagged , , | Leave a comment

Maven settings.xml config for default Sonar db server

If you want to set a default Sonar configuration for all your Maven projects to run against, you can add your settings as a profile in the profiles section in your default settings.xml in either your ~/.m2 dir or your … Continue reading

Posted in Tech Notes | Tagged , | Leave a comment

Maven packaging notes

maven-dependency-plugin: Copy dependent jars into a /lib/ dir to be bundled with the package goal (note that you can’t have jars within jars and have them accessible on the classpath, so this just helps package the jars with your distribution): … Continue reading

Posted in Tech Notes | Tagged , | Leave a comment

JSF 2.0 namespaces

Here’s the namespace declarations for the JSF 2.0 tags:

For JSF 2.2 the URLs have changed. See post here.

Posted in Tech Notes | Tagged , | Leave a comment

Deploying a Maven-based web project from Eclipse

Here’s the problem: you start with a Web project in Eclipse, created via one of the Wizards. At some point you convert it to a Maven project, but when you deploy the project from Eclipse, your web content in /src/main/webapp … Continue reading

Posted in Tech Notes | Tagged , , | Leave a comment

EE7 Maven Dependencies

Further details here for specific EE7 technologies. Previous post for Glassfish snapshot dependencies.

Posted in Tech Notes | Tagged , , | Leave a comment

12 years after legal action to stop Microsoft’s development of their own Java version, they offer hosted Java support

I find this somewhat hard to believe. 12 years ago, legal action by Sun Microsystems against Microsoft halted Microsoft’s development of their own flavor of Java, which was only partially compatible with Sun’s Test Computability Kit (TCK). In order to develop an … Continue reading

Posted in Kev's Blog | Tagged , , , , | Leave a comment

Live EE7 launch webcasts, June 12/13

Oracle are hosting live webcasts for the launch of EE7 on June 12 & 13 next week – more info here.

Posted in Kev's Blog | Tagged , , | Leave a comment

Spring Roo @RooEntity from 1.1.x replaced in 1.2.x

If you have an older Spring Roo project created from Spring Roo 1.1.x and you’re trying to imported it to a more recent STS version and/or trying to upgrade to a later 1.2.x version of Spring Roo, you may be … Continue reading

Posted in Tech Notes | Tagged , , | Leave a comment

Adding jars to your OpenShift remote Maven repo

If your OpenShift app has dependencies on other Jars that are not publicly available in the usual maven repos (for example, other Jars from your own projects), you can push them to your remote Maven repo used when your app … Continue reading

Posted in Tech Notes | Tagged , , , | Leave a comment