maven-1

Using Maven 1.x without extra plugins, how does someone build an executable jar?

Using Maven 1.x with just the bundled/standard plugins, what configuration is necessary to build an executable Jar? Answers should cover: including dependencies in target Jar proper classpath configuration to make dependency Jars accessible ...

Why does maven install fail during javadoc generation?

When running 'maven install', I get the following.. [INFO] [javadoc:javadoc {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An error has occurred in JavaDocs report g...

How do you use the maven-simian-plugin in Maven2?

I'm looking for a Maven2 reporting plugin for Simian and the closest thing to such a reporting I found is this. The problem is, the documentation for it appears to be for Maven 1 instead. Why is a Maven 1 plugin stored in a Maven 2 repository? I suppose that means I can use it... but how to use? The site mentions reporting but if I don't...

building jahia from source, having problems

I am trying to build jahia from source for a project at school. From the instructions online, all I seem to find to run is maven install which fails... any help would be much appreciated. ...

Running JS minification as a maven goal?

I'm trying to use YUI compressor in a maven goal, but I'm pretty new to the inner workings of maven. I see that I can copy all js to a new directory with the following: <copy todir="blah"> <fileset> <!-- A bunch of file extension types --> </fileset> </copy> Now, for each css and js file, I want to run the run the yui compres...

Browserless, ant-task-oriented Javascript Unit Testing?

I'm looking for a javascript unit test framework that I can use as part of my automated maven build. This CANNOT use an actual browser, and it MUST be fully browserless. I've tried looking at a few posts on SO, but none seem to meet my needs. Is there such a javascript unit tester? I'm anxious to find out. ...

Deploying a war to tomcat server with maven 1.1

Hi, does anyone know a way to configure a maven goal to deploy to a tomcat server after a build is run? I know that this is possible using the maven-tomcat-plugin but it looks as though as this only works for Maven 2 whereas I'm using Maven 1.1 I'm currently trying to set up Hudson so this would be part of my continuous intergration ph...

Warning : No pom file was found, assuming default settings!

Hi, I installed Maven 1, following the doc here http://maven.apache.org/maven-1.x/start/install.html Installation was successful, then I typed in "maven site" as shown in the doc here maven.apache.org/maven-1.x/start/quick-start.html I get the error "Warning : No pom file was found, assuming default settings!" From what I understand...

Java + Maven1.x : how to add sun's tools.jar ?

I must add tools.jar into my maven1 build config but I can't find any help. Here is the solution I've found using the helpfull sugestion of geo: I have modified the maven.xml build in order to add the tools.jar in the classpath. A pre-goal before java:compile does the stuff: <preGoal name="java:compile"> <ant:path id="tools"> ...

Can you run both maven1 and maven2 at the same time?

Is it possible to have both versions of maven running on the same computer? From what I understand you have to setup environmental variables for both of them, so won't that conflict? ...