Skip navigation

A while back, it was reported that Javascript files that were overlaid in the web/src/main/overlay directory were not being properly minified as part of the build process.  I'm happy to say that this issue has been addressed in the latest version of the jive-parent-pom for Jive versions and up.  Getting the fixes into your project is easy.


The next time you build your project, you should see a message similar to the following:


[INFO] ************************************************************************************************************************************************

[INFO] Checking for newer versions of jive-parent-pom...

[INFO] You are currently using version of jive-parent-pom.

[INFO] The latest version of jive-parent-pom is

[WARNING] You are not using the latest version of jive-parent-pom.  It is strongly recommended you update your project POMs to reflect this, as follows:

[WARNING] <parent>

[WARNING]     <groupId>com.jivesoftware.maven</groupId>

[WARNING]     <artifactId>jive-parent-pom</artifactId>

[WARNING]     <version></version>

[WARNING] </parent>

[INFO] ************************************************************************************************************************************************


Just follow the instructions, and modify your root POM's <parent> element to point to the appropriate version. 


Before rebuilding your project, however, you'll need to make one more change.  In your /web/pom.xml file, remove the following dependencies, as they are no longer needed:













Once you have made these changes, you can rebuild your project, and note that your overlaid Javascript is once again being properly minified.


Please reply if you have any questions about this change.



Hey everyone.


I wanted to let everyone know that we have added full support for Jive to the Jive Maven Unified Archetype.  We created the new version of the jive-parent-pom in conjunction with the GA release on Monday, so you technically have been able to create projects since that time, but the archetype was missing some search settings, which could have led so your local search server not starting up correctly. (See the end of this post for details)


To recap, in order to create your new Jive project, just enter the following on your command line:


$ mvn -U jive:create-project


Be sure to specify "" when prompted for a Jive version.


If you already have a Jive project, and want to upgrade it, you can easily start the process by entering the following command at the root of your project, entering "" when prompted:


$ mvn -U jive:upgrade


If all this jive:whatever-whatsthisnow craziness is new to you, be sure to check out Announcing Jive Maven Archetype Changes and Moar Archetype Changes! Now Simpler Than Evar!


Also, if you're upgrading, and want to incorporate any changes in the archetype into your project, check out and follow Maven Unified Archetype Release Notes.



Ok, so if you got super excited, and created a new project before this blog post was published, you'll need to make a few changes.


If you run the start-search script in the run-services directory, you'll see the following error message:



The follwoing properties are missing and need in-order to start the service.







Add the properties to /path/to/my/project/run-services/ and restart the system.



But HOLD ON, because if you add those properties exactly as displayed, your search service won't start up properly, and will just hang.  You'll need to modify the CONFIG_DIRECTORY property to be ./var/data/directory.  Add the following lines to the end of your file:





As always, we welcome your feedback.  Thanks!