I'm running a project that has a dependency on groovy 1.7-beta-1. The gmaven plugin uses groovy version 1.6 as a dependency. In my pom, I specify in the dependency management section ... |
We have 1 company parent pom. This uses dependencyManagement to manage the versions for all the dependencies of all the artifacts used.
What is alarming, is that SNAPSHOT ... |
I want to start using maven in code I distribute but I can't find an efficient way to work with dependencies. Every new dependency takes me far too long to add.
As ... |
With maven1 I was using the extend tag to tell my children project to use their parent configuration.
All dependencies declared in the parent were available in extending (children) projects.
Now with maven2 ... |
I make use of dependency POMs which I will then go and include into another projects as as dependency. The problem I am having is while it aggregates the POM ... |
I am trying to build a maven project to test out some testing software - Arquillian.
I setup nexus and added the jboss repositories to the bottom of the public group.
When ... |
I'm resolving transitive dependencies in my MOJO and wish to have them returned in order from the bottom of the dependency tree up. Is this possible using Maven2? Here's my code ... |
|
Just wanted to know if it is possible in Eclipse to sort Maven dependencies by alphabetical order?
It's bothering me to have a list of 200 jars not ordered... :(
|
For example, if there are dependencies:
a -> b
a -> c
b -> c
I want to remove the dependency a -> c, because there is a -> b -> c.
I know ... |
Do you think it is a good practice to remove every transitive dependencies that can be found in a maven pom?
Example:
My project depends on A and B.
B is also ... |
I would like to use Maven for dependency resolution only in my Grails application, i.e. I will continue to use Grails commands such as grails war and grails test-app to build ... |
I have two questions regarding dependencies:
Q1: I have a j2ee.jar on my unix box (provided by Websphere Library). This is how I refer it in ANT:
<path id="was.lib">
<fileset dir="${was.home}/lib">
<include ...
|
In my Maven build, I use the antrun plugin to invoke an ant task.
<plugin>
...
|
What is the meaning of "bundle" e.g in this dependency:
<dependency>
<groupId>org.apache.abdera</groupId>
<artifactId>abdera-core</artifactId>
<version>1.1.2</version>
<type>bundle</type>
<scope>compile</scope>
</dependency>
|
I'm trying to setup a development environment for developing Atlassian Jira 3.13 plug-ins. The process is described on Atlassian's website, here. Unfortunately, Jira 3.13 is ... |
Maven is a bit over my head sometimes... I have created a library which has an optional dependency on slf4j and on log4j. By optional, I mean:
- My library needs those logging ...
|
I have a grails plugin with following BuildCofnig.groovy
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
...
|
I am trying to include some dependencies in my maven project. These dependencies are not available in the default Mven 2 repository http://repo1.maven.org/maven2/.
They are available at http://mvnrepository.com/
But ... |
I have add to pom.xml of my project repository:
<repository>
<id>java.net</id>
...
|
We have a small project with some heavy-weight dependencies (e.g. Spring) of which we only use small parts. Therefore, the JAR we get when packing with all dependencies weighs several megabytes, ... |
I have a project with src/main/java and src/test/java structure, and I managed to use maven-jar-plugin to build a jar of the test branch. However, I want to package the test jar ... |
(I originally asked the question in a very detailed manner over here. I've excerpted it here as the maven-users mailing list has gone quiet on this question.)
My reference ... |
I am looking at using Spring Batch, which seems to mainly be distributed/managed using Maven. I am not a Maven user (I've always got away with using ... |
This is a dependency tree generated by Maven 2.2.1 with
mvn -o dependency:tree -Dverbose -Dincludes=log4j
[INFO] [dependency:tree {execution: default-cli}]
[INFO] com.openboxes.renderingservice:common:jar:1.0
[INFO] +- org.springframework:spring:jar:2.0.4:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1:compile
[INFO] | \- log4j:log4j:jar:1.2.12:compile
[INFO] ...
|
Maven's dependency:analyze is telling me that I need com.google.collections:google-collections, when in fact I'm not using it. It's probably getting tripped up by either java.util.Collections or org.apache.commons.collections.MapUtils. I'd like the ... |
Is there a way to write a test that checks Maven dependencies?
In our project, we found these problems:
- Some parts of the project use
commons-io:commons-io, others used org.apache.commons:commons-io
- The wrong version of a ...
|
Is it possible for maven plugin to manage only dependencies and nothing more.
I work with "strange" maven project, and want Eclipse/maven plugin only to read dependencies from pom.xml and add it ... |