maven

  • Maven package by default does not add dependencies 2009-02-22

    I want to package my project in a single executable JAR for distribution. How can I make Maven package all dependency JARs into my JAR? --------------Solutions------------- <build> <plugins> <plugin> <artifactId>maven-assembly-plug

    Tags: java, maven 2, build process, build automation, executable jar
  • Maven including local dependencies 2009-02-22

    I want to package my project in a single executable JAR for distribution. How can I make Maven package all dependency JARs into my JAR? --------------Solutions------------- <build> <plugins> <plugin> <artifactId>maven-assembly-plug

    Tags: java, maven 2, build process, build automation, executable jar
  • How to read an external properties file in Maven 2009-05-11

    Does anyone know how to read a x.properties file in Maven. I know there are ways to use resource filtering to read a properties file and set values from that, but I want a way in my pom.xml like: <properties file="x.properties"> </prope

    Tags: java, properties, maven 2, build
  • How to add JSTL to IntelliJ IDEA project without Maven?

    How to add JSTL to IntelliJ IDEA project without Maven? 2009-06-26

    When creating a new Java project in IntelliJ IDEA, the following directories and files are created: ./projectname.iml ./projectname.ipr ./projectname.iws ./src/ I want to configure IntelliJ IDEA to include my dependency JARs in ./lib/*.jar to the pro

    Tags: java, intellij idea
  • Find Oracle JDBC driver in Maven repository 2009-07-02

    I want to add the oracle jdbc driver to my project as dependency (runtime scope) - ojdbc14. In MVNrepository site the dependency to put in the POM is: <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId>

    Tags: java, jdbc, maven 2, repository, maven
  • Including dependencies in a jar with Maven 2009-11-13

    Is there a way to force maven(2.0.9) to include all the dependencies in a single jar file? I have a project the builds into a single jar file. I want the classes from dependencies to be copied into the jar as well. Update: I know that I cant just inc

    Tags: java, jar, maven 2, packaging
  • Update Maven version in Ubuntu 8.1 2010-03-11

    My ubuntu has maven 2.0.9 version installed, but now i want to update to the newest version. Altough Im not the root, I have downloaded maven latest version, modified the M2_HOME in .bashrc file with sudo, but when i type in console mvn -version, the

    Tags: ubuntu, updates
  • Maven authentication to Sonatype Nexus repository 2010-07-25

    I cant seem to work this out (or maybe its just late!) - I installed Nexus and disabled anonymous access as I intend to proxy nexus on the web. It makes sense that there should be some manner to authenticate against the nexus repository, but I cant f

    Tags: nexus
  • Maven Plugin for finding out Class and Method Incompatibilities 2010-07-29

    I'd like my Maven build to fail if the same artifact is referenced with different versions in my dependency tree. This would seem like a fairly trivial option, but I can't work out how to do it. Any clues? --------------Solutions------------- The mav

    Tags: maven 2
  • Why maven? What are the benefits? 2010-08-28

    What are the main benefits of using maven compared to let's say ant ? It seems to be more of a annoyance than a helpful tool. I use maven 2, with plain Eclipse Java EE (no m2eclipse), and tomcat. Supporters of maven believe that Maven lets you get yo

    Tags: java, build process, build, maven
  • Installing maven on Ubuntu by manual download 2010-10-03

    To install Maven, I downloaded the latest version from the website and then followed these steps: http://maven.apache.org/download.html#Installation The last step, the version control, does not work. It says that 'mvn' is currently not installed and

    Tags: ubuntu 10.04
  • Maven 3 warnings about build.plugins.plugin.version 2010-11-08

    Since I updated to Maven 3 I get the following warning messages at each build : How can I get rid of these warnings? [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for proj:id:jar

    Tags: maven, maven plugin, maven 3
  • What is ant build file and maven build file? 2010-12-22

    Can somebody please tell me in simple words what exactly is ant build file and maven build file? --------------Solutions------------- They are XML files that describe how to build and package software (usually Java software). Ant files are used by th

    Tags: java, apache
  • couldn't create maven project 2011-01-15

    I imported my working project on other computer so it started to download dependencies. Apparently in the meantime my internet connection crashed. Now I get: Build errors for comics; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to e

    Tags: maven
  • Why maven so slow compared to automake? 2011-03-01

    I have a Maven project consists of around 100 modules. I have reason to decompose the project to so many modules, and I don't think I should merge them in order to speed up the build process. I have read a lot of projects by other people, e.g., the M

    Tags: java, builds
  • Creating Java EE Projects with Maven 2011-03-06

    I've been developing Java EE web apps with Eclipse for about a year. My employer doesn't use Maven, but the more I read about it, the more convinced I am that Maven + Hudson will be greatly beneficial for us. First, though, I have to become comfortab

    Tags: maven, java ee
  • How to do Maven install or deploy only, without re-package/re-test? 2011-03-20

    Sometimes I wanted to deploy, but I typed mvn package. Sometimes I want to deploy to another alternative repository (using mvn deploy -DaltDeploymentRepository=...), immediately after the default deploy. So I really don't want to package and test the

    Tags: maven
  • maven + cruisecontrol - slow builds 2011-04-01

    I am running cruisecontrol with maven to build a Scala-project. When I run mvn package outside cruisecontrol,the build takes less than 10 seconds, but when I invoke the build from cruisecontrol, the compilation-phase takes about 300 seconds. I am loo

    Tags: maven, cruisecontrol
  • Maven exits after trying to run it 2011-05-07

    I've manually installed sun java 1.6.0_24 and apache maven 3.0.3 into ~/Work on Natty and when I run maven from my terminal it exits. I've tried various other versions of maven (2.2.1, 2.0.11), previous versions of the jdk (1.6.0_23) without luck. I'

    Tags: command line, java, 11.04
  • In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project?

    In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project? 2011-05-20

    I want to issue commands like -Dmaven.test.skip=true -Dcheckstyle.skip --------------Solutions------------- Go to your project properties. Right click on the project name in Project Explorer and click Properties. Select Actions. Select the configurat

    Tags: java, maven 2, maven plugin, netbeans 7

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.190 (s). 6 q(s)