maven

How to detect unused maven dependencies

Hi, I have a maven project that was generated by Spring Roo. Now I am not sure whether I need all of its dependencies. Is there a tool to automate the process of detecting stale dependencies? ...

leiningen: missing super-pom

if I enable eith the clojure-couchdb or swank-clojure then lein deps fails because org.apache.maven:super-pom:jar:2.0 is missing :dependencies [[org.clojure/clojure "1.1.0-master-SNAPSHOT"] [org.clojure/clojure-contrib "1.0-SNAPSHOT"] [clojure-http-client "1.0.0-SNAPSHOT"] [org.apache.activem...

Thoughts on moving to Maven in an enterprise environment

I'm interested in hearing from those who either A) use Maven in an enterprise environment or B) tried to use Maven in an enterprise environment. I work for a large company that is contemplating bringing in Maven into our environment. Currently we use OpenMake to build/merge and home-grown software to deploy code to 100+ servers running...

How to use Maven 3 mixins?

I was trying to figure out how mixins are defined in Maven 3, but couldn't find anything other than buzz. It is propagated as one of the big new features here and here. I am currently feeling the pain of the hierarchical structure and would like to give it a spin. Does anyone have a pointer to documentation or the source defining the syn...

Managing JAR dependencies in a solo development environment...

Should I use something like maven for this? Or would finding them as they occur be better? I am not supporting any users other than myself. ...

Google App Engine: JDO does the job, JPA does not

I have setup a project using both Jdo and Jpa. I used Jpa Annotation to Declare my Entity. Then I setup my testCases based on LocalTestHelper (from Google App Engine Documentation). When I run the test, a call to makePersistent of Jdo:PersistenceManager is perfectly OK; a call to persist of Jpa:EntityManager raised an error: java.lang....

Is Maven 1.0.2 compatible with Java 5?

I'm working on an upgrade project and build management is done in Maven 1.0.2. Java version will change to J2SE 5. Please include in your answer if you have first hand experience on that particular combination (Maven 1.0.2 and J2SE 5) Thanks hdk ...

Building Current Selenium?

Hi guys, On the official Selenium blog (http://seleniumhq.wordpress.com/) it mentions that Maven is no longer used to build the Selenium project. Can anyone provide me some guidance on the new preferred method for building the selenium project? Everything I've found online is really out of date, referencing the old SVN repos and Maven. ...

Maven - Selenium - Possible to run only one test

Hi We are using JUnit - Selenium for our web tests. We use Maven to start them and build a surefire report. The test suite is pretty large and takes a while to run and sometimes single tests fail because the browser won't start. I want to be able run a SINGLE test using maven so I retest the tests that fail and update the report. I ca...

read property file from a dependent project with maven

Hi, I have an issue when reading properties from a dependent project. I have a core project, and my application has a dependency on it. under classpath of core, it has file core.properties. and my application need to read this property file, but it couldn't. It requires the core.properties in my classpath of my application, instead ...

can Apache Maven be set to download jar files from an ftp??

i want maven to download custom jar files from an ftp how to set the path? and is there anyway i can combine dependencies or plugins within one element tag.i dont want to write for each dependency r plugin like importing from one external jars folder btw i am using maven plugin for eclipcse ide thanks ...

mvn release:perform automatically specify scm tag that includes release version

I would like to setup my maven release to run in batch mode, but I'm not a fan of the default scm tag ${artifactId}-${releaseVersion}. Instead, I'd like to simply tag it with ${releaseVersion}; however, I'm unclear if such a property exists (ie. without the -SNAPSHOT suffix). I'd like the configuration to resemble the code below. Is s...

Maven problem with invalid jar file which is actually html

i'm running into a problem in my maven build recently, that it downloads a jar file for the javamail-1.4.jar or something, but it turns out the file is not a real jar file, it's actually a html with a link to where to get the correct jar. it seems to be the repo has changed for that. but in my maven setting everything is supposely to g...

What is Maven artifact ?

Hi, I am trying to understand Maven a little. Can someone please explain what is an artifact and why does Maven need them? Thank you, Maxim. ...

Maven: Cannot get the help goals working (clean:help, compiler:help, etc)

I am new in Maven. Do you know what I am doing wrong (see below)? mvn -e clean:help. + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'clean'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] --...

What should I do in order to be able to work with maven + eclipse + wicket + hibernate + spring in Mac OS?

I want to create a web app that will use wicket, hibernate and spring frameworks. My IDE of choice is Eclipse, I am using maven for the .war generation and I am running Mac OS. What steps should I follow to correctly install and configure all the tools so as to have a project running that relies on these 3 frameworks. I was able to succe...

Maven error: Unable to get resource / Server redirected too many times

Our proxy went down and I tried to update dependencies with maven while it was off. Since then I can't download anything with maven. I get this error for everything. I tried -U option, deleting my local repository and tried different maven version (2.0.9, 2.2.1) but it doesn't work. Any idea how to solve this? Earlier it also said 'repo...

What are good patterns or supporting fixtures to write unit tests for Maven plugins?

I'm developing a Maven plugin, and I realise I'm not sure how to write unit tests for it since I don't know how to exercise the functionality of the plugin except by just running Maven. How have other Maven plugin developers managed testing of their code? ...

Invalid byte 1 of 1-byte UTF-8 sequence

I have a MyFaces Facelets application, where the page coding is a bit rugged. Anyway, it's developed with Eclipse and built with Ant, and kindof runs ok in Tomcat 2.0.26. So far so good. Now, I'd rather build with Maven, so I made a couple of pom-files, opened them in Netbeans and built, and now I have a war file that deploys ok. Howeve...

Maven Plugin - Restart Jetty with new WAR?

Hi all, What I would like to do is automatically test against several different maven build profiles. I want to write a maven plugin that iterates through each profile so I don't have to manually list them for the CI process. I just want to verify that the code works in all development, testing, staging, and production once deployed t...