Questions tagged [maven-1]

This tag is for Maven 1 related questions. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

As explained in the What is Maven? page, Maven 1.x originated in 2003 inside the Jakarta Turbine as an attempt to simplify the Ant builds of Apache projects and their maintenance:

Maven was originally started as an attempt to simplify the build processes in the Jakarta Turbine project. There were several projects each with their own Ant build files that were all slightly different and JARs were checked into CVS. We wanted a standard way to build the projects, a clear definition of what the project consisted of, an easy way to publish project information and a way to share JARs across several projects.

What resulted is a tool that can now be used for building and managing any Java-based project. We hope that we have created something that will make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.

As of today, Maven 1.x is no longer developed. Maven 1 has been End Of Live

It has been replaced by Maven 2.x/3.x which is a complete rewrite of the original Maven application.

The latest version of Maven is the 3.x tree.

See for more information.

17 questions
9
votes
5 answers

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] …
vpalle
  • 925
  • 3
  • 10
  • 15
4
votes
5 answers

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…
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
3
votes
1 answer

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…
aberrant80
  • 12,815
  • 8
  • 45
  • 68
2
votes
4 answers

maven settings.xml

I am trying to convert maven1 project.xml to maven 2 pom.xml. maven one:convert plugin converts project.xml to pom.xml. Tried the steps Installed maven 2 cd project-dir (which has my project.xml) mvn -e one:convert I had maven-one-plugin-1.2.jar…
girh
  • 21
  • 1
  • 3
2
votes
2 answers

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?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
1
vote
1 answer

How to add JUnit 4 lib. to maven 1.0.2

So the problem is that I use maven 1.0.2 to build my program. I am aware that it is a bit obsolate but It was not my choice to use it. Still I would like to use JUnit 4 to test my app. I did not find anything that would solve my problem. Everything…
gregory561
  • 14,866
  • 2
  • 23
  • 25
1
vote
2 answers

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…
Guillaume
  • 5,488
  • 11
  • 47
  • 83
1
vote
4 answers

Deploying a war to tomcat server with maven 1.1

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…
Gerard
  • 4,818
  • 5
  • 51
  • 80
1
vote
1 answer

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:
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
1
vote
1 answer

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.
user143062
  • 31
  • 2
0
votes
0 answers

Jar file path in application.xml incorrect - Maven 1.0 & JBoss 4.0

I'm using Maven 1.0 to generate the ear and deploy it in JBoss 4.0. The issue I'm facing is, the java module entries in ear/META-INF/application.xml are incorrect. I have placed all jars inside a 'library' folder under the ear. But in…
Sundeep
  • 11
  • 1
  • 4
0
votes
1 answer

Can we run SonarQube on a Maven1 project?

We have some old Maven1 project (we cannot upgrade it to the latest maven versions) so I am just trying to understand if there is a way we can run SonarQube on Maven1 version projects..? If not what is the best alternate to analyze the code quality…
HookUp
  • 393
  • 1
  • 6
  • 20
0
votes
1 answer

Is build-artifacts under .maven/repository an standard folder structure for Maven 1?

I'm working on a project that is using Maven 1 :( I am trying to solve a missing jar issue. I have noticed that there is a build-artifacts under .maven/repository. Is the build-artifacts an standard folder that Maven creates or is it a customized…
sheidaei
  • 9,842
  • 20
  • 63
  • 86
0
votes
3 answers

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

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…
Sylph
  • 1,425
  • 3
  • 26
  • 36
0
votes
0 answers

Maven 1.x Eclipse Plugin

I've got the challenge to maintain a project setup using Maven 1.1. It's some kind of a legacy project, so updating is not an option, at least not currently :-/ So my question is: how do I enable my Eclipse to work with Maven 1? IIRC there were at…
Michael
  • 291
  • 1
  • 3
  • 13
1
2