Maven is a plug-in based software project management tool which core features are automation of your software build, dependency management, and generating of reports and documentation.

learn more… | top users | synonyms

0
votes
1answer
60 views

Continuous Integration for different languages [on hold]

So, I understand Continuous Integration in theory, and have used Beanstalk. However, I've been charged with creating the process at my current PHP shop. My hope was maybe PHPCI, since it looked ...
0
votes
0answers
22 views

Maven Repository Jars for commercial purpose [duplicate]

I am developing a web application on Java J2EE platform. I want to use maven repository jars like spring, hibernate, commons-*jar etc. Are these jars free for commercial purpose? I just want to use as ...
0
votes
3answers
79 views

Should jars that are only gonna be used in one project be deployed to Nexus server [closed]

I guess the title says it all. There is a debate at our firm, weather we should deploy internal jars, which are only going to be used in one specific project, to Nexus or is there any better solution? ...
4
votes
1answer
125 views

Java application structure: Horizontal vs vertical split

Having a bit of a debate about the starting project structure (using Maven/Eclipse) for a big Java application. Option 1: entities (i.e. the whole database using Hibernate classes-first) services ...
1
vote
1answer
70 views

Versioning Strategy for Service Interfaces JAR

I'm building a service oriented architecture composed (mostly) of Java-based services, each of which is a Maven project (in an individual repository) with two submodules: common, and server. The ...
0
votes
1answer
533 views

force recompilation of war file including its Jar dependencies

I have a project A (a webapp), depending on project B (B.jar) and this one depending on project C (C.jar). I would like to create a maven goal named "Rebuild War", that clean all compiled code for ...
0
votes
0answers
58 views

Confusing project dependencies

I have a project for my main application and some projects for modules that are used by this application. Following I will reduce it to the main project and one module project. Both projects share ...
3
votes
1answer
131 views

If a dependency is not in the maven repository should I add it to source control?

One of the jar files that I use in my code is not in the maven repository(and yes I tried to avoid using it). I have installed it locally so when I build the project it gets picked up by maven. I also ...
4
votes
2answers
190 views

Should maven generate jaxb java code or just use java code from source control?

We're trying to plan how to mash together a build server for our shiny new java backend. We use a lot of jaxb XSD code generation and I was getting into a heated argument with whoever cared that the ...
2
votes
1answer
254 views

maven release candidate builds [closed]

We build Java applications and use Maven to create snapshot and release builds (via Hudson). Normally, we build/deploy snapshot versions to our lab environment and when we're happy, we do release ...
1
vote
2answers
896 views

Managing Maven dependencies between multiple components with multiple teams making changes

In a situation where there are multiple teams making changes to some Maven projects with dependencies between them (otherwise unrelated projects i.e. no super POM or anything like that), with each ...
58
votes
2answers
22k views

Choosing between Single or multiple projects in a git repository?

In a git environment, where we have modularized most projects, we're facing the one project per repository or multiple projects per repository design issue. Let's consider a modularized project: ...
1
vote
2answers
181 views

When would you choose *not* to update a third-party library to a newer version?

Using third party libraries for productivity gains in software development is common. Unfortunately, along with the library's functionality we also import its bugs. Some of them get fixed in ...
1
vote
1answer
113 views

Deploying artifacts and dependencies on another system with Maven

I am coding a Java program on my development machine. Maven packages this a myjar.jar, and I can run it from the command line using java -cp myjar.jar my.FantasticClass. It uses library somelib.jar. I ...
12
votes
7answers
979 views

Is Ant still in the “mainstream” for Java builds?

We have been slowly replacing batch command files (windows .bat) which were simply jarring up the classes compiled in the developers IDE, with more comprehensive Ant builds (i.e. get from CVS, clean ...
2
votes
5answers
579 views

Improving the Java development workflow [closed]

I will like to assist my group standardize to a reproducable Java tooling environment that aligns with some good practices to improve on our workflow. We are predominantly a .NET shop that has been ...
2
votes
0answers
277 views

How to package static content outside of web application?

Our web application has static content packaged as part of WAR. We have been planning to move it out of the project and host it directly on Apache to achieve the following objectives. It's getting ...
4
votes
2answers
2k views

Continuous Integration with Bamboo and Maven, Managing Version Numbers?

I am currently developing a product that is broken up into a few main parts: A Server, an Android client, a Desktop client, and a class library for providing common data structures. Currently my team ...
4
votes
2answers
736 views

Hibernate set up for beginner

I am learning Hibernate (OR Mapping). I am using Maven for project management. However, I am currently reading a Hibernate book by O'Reilly, and they use ANT for their example. So my question is are ...
3
votes
1answer
3k views

Multi-module web project with Spring and Maven

Assume we have a few projects, each containing some web resources (e.g., html pages). parent.pom +- web (war) +- web-plugin-1 (jar) +- web-plugin-2 (jar) ... Let's say web is the ...
5
votes
3answers
409 views

Best practices for versioning project after dependency upgrade

Say, my project have dependency N with version 1.0.0. Then something have changed, and I should depend on newer version - let it be 1.0.1. OK, I'm incrementing dependency version, nothing else ...
3
votes
2answers
5k views

Best way to structure a Git repository for Maven

I need some advice on how to structure our projects in Git. We use Java and Maven is our build tool. Maven kinda assumes all of your projects have a common ancestor eventually. Maven can also be a ...
1
vote
1answer
317 views

Is there a tool that will list all dependencies of a method in Java?

Say I'm looking at some code and I see: MessageDigestPasswordEncoder encoder = new MessageDigestPasswordEncoder("SHA-512"); Now, in that file I also see: import ...
1
vote
2answers
394 views

Project life cycle management - Maven vs 'manual' approach

I have a question concerning the life cycle management of a/multiple project(s), more specific to the advantages/disadvantages of using technologies such as Maven. Currently we work in a ...
3
votes
1answer
1k views

Should we use a Maven Multi-Module Project in our Scenario?

The Situation I'm currently working in project that develops several RESTful services that partly interact with each other. As an example: Service A uses Service B Service C uses nothing Service D ...
1
vote
1answer
548 views

How to synchronize configuration for Findbugs between build server/Maven and several programmers

Here's a common scenario for developers who want to integrate static analysis in their workflow. Any suggestions on how to get this working with a minimum of pain? The situation is similar to the one ...
1
vote
0answers
174 views

How to organize integration tests and test data for different environments when using Maven Failsafe

I have started to separate my unit tests from my integration tests by using Maven Surefire and Failsafe. Now I'm wondering what good ways there are to deal with separate environments. Take for ...
5
votes
1answer
712 views

How to include licenses for third-party Maven dependencies?

I'm producing a binary distributable for my Java project. I'm releasing it in two ways: Maven Central Zipped distributable on Google code My project is licensed under the Apache 2.0 license. I use ...
13
votes
2answers
595 views

Should my small software library avoid using other libraries?

I've just released a small Java library that offers only a few classes and methods. Since I built the project with Maven, I immediately used several third-party libraries to achieve my goals, ...
1
vote
0answers
26 views

Custom maven mojo and tools

I'm writing maven plugin which depends on several java tools. I'm quite happy with it and want to share it with the community. I'm interested in correct way to handle dependency to these tools: Use ...
3
votes
2answers
1k views

What are the advantages of Maven when it comes to single man, educational projects

I've spend a few hours playing around with Maven + reading some stuff on the apache official site and also a few random googled articles. By this I mean that I really tried to find the answers myself ...
3
votes
2answers
460 views

Supporting and testing multiple versions of a software library in a Maven project

My company has several versions of its core software in use by our customers at any one time. My job is to write bespoke Java software for the customers based on the version of core software they ...
0
votes
1answer
50 views

Does license matter if I host a maven repository?

If I make a maven repository available for others to use, do I have to get permission form the authors of those software that I host in my repository even if they are free software? Can I host free ...
7
votes
1answer
945 views

Separating java projects

I have a large java project, and we use maven for our build cycle. This one project is used extensively - in other projects, in various applications, some of which are contained in it and some which ...
11
votes
5answers
11k views

Creating Java EE Projects with Maven

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 ...
1
vote
1answer
835 views

Including Module Source files into War file using Maven

My goal is to include modules sources files into War file. I read this explanation on the maven official site: ...
6
votes
1answer
3k views

IntelliJ with Maven compilation

I have a project that needs Hibernate jars. I added them as dependencies in the pom.xml and Maven compiles my project well. However, in the IDE, all annotations and calls to Hibernate API are marked ...
7
votes
2answers
4k views

git, maven and jenkins - versioning, dev and release builds workflow

What is the preferred way to do the following with git, maven and jenkins: I am developping an application, which I would like to maintain "dev" and "release" branches. I would like jenkins to build ...
16
votes
9answers
1k views

Convince a lone developer to use a separate build tool instead of the IDE one-click build

In my years of programming Java and more recently Scala, I've never used Ant, Maven, Gradle or any of those build tools for Java. Everywhere I've worked there was a build manager who took care of all ...
1
vote
3answers
534 views

Getting started with build tools [closed]

I am on my final year on CS, working on my first significant project, so I thought its about time to learn and use build tools. I have read about Maven mainly and heard about Ant. I would like to ...
6
votes
1answer
5k views

Code Analysis & Reporting: Maven vs. Jenkins

My team (~10 devs) has recently migrated to Maven (multi-module project, ca. 50 modules) and we now use Jenkins for continuous integration. As the overall setup is running, we are planning to include ...
1
vote
4answers
1k views

The state of build systems in Java [closed]

Is anyone else out there sick of the state of current build systems in the Java space? Why shouldn't I just write my next project's build scripts in Python, Ruby or another fully feature scripting ...
6
votes
2answers
716 views

How does java resolve class names in a lot of jars?

Recently I found one of my Maven project have 100+ jar dependencies. FWIK a zip archive doesn't have index at all, so it should scan the whole zip to determine if it contains a specific path. But I ...
4
votes
4answers
283 views

Continuous integration never results in build errors

I'm working with a variety of Java EE websites which use internal libraries we've developed. For each website, we only upgrade to new versions of our internal libraries as needed, and before ...