ziogiugno Posted August 3, 2006 Share Posted August 3, 2006 Hi all, I'm trying to build Jasperintel following the instructions from mthe developer guide.I have both jasperserver and jasperserver-repo but when I try "mvn install" or "mvn clean install" the build process fails with the following message: Code:[iNFO] Building Jasper Server API Implementations - Metadata[iNFO] task-segment: [install][iNFO] ----------------------------------------------------------------------------[iNFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[iNFO] ------------------------------------------------------------------------[iNFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found[iNFO] ------------------------------------------------------------------------[iNFO] Traceorg.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216)....I think something is wrong in settings.xml, maybe there should be a local pluginRepository.Any suggestion?TIA Link to comment Share on other sites More sharing options...
bhaugland Posted August 3, 2006 Share Posted August 3, 2006 I had the same problem. Run Maven with -U (mvn -U ...) This should update the plugins. Link to comment Share on other sites More sharing options...
bhaugland Posted August 3, 2006 Share Posted August 3, 2006 I had the same problem. Run Maven with -U (mvn -U ...) This should update the plugins. Link to comment Share on other sites More sharing options...
tkavanagh Posted August 4, 2006 Share Posted August 4, 2006 mvn -U is a good trick. Keep in mind that your settings.xml needs to be in your "home" directory (which can be confusing under windows) under a dir named .m2. Check to see that you settings.xml has a good format (if you copied it from the source build document, it could have bad characters in it...). Maven2 will create a "repository" directory inside your .m2 directory. This is a "local repository" (for caching). This is where the plugins should end up. You can blow away your repository directory and let it get created again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now