I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line.
cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory
but m2eclipse & windows shell (on ... |
I am using Maven2 to build a WAR project.
Some properties files are dependent on the environment targeted for a release.
I want to deliver, in addition of the WAR, a file called ... |
In Eclipse there is an opportunity to select a Maven artifact you have a dependency on and download sources or documentation only for it.
Now I am ... |
Is there a good reason to continue deploying newer snapshots, if there's already a released artifact of the same version?
Concretely: There's already xyz-1.0
There's projects continuing to have xyz-1.0-SNAPSHOT dependencies.
It appears wrong ... |
We're using Maven at work at quite regularly we get the error message "The artifact has no valid ranges". After a long time of Googling and experimenting I realised what this ... |
I can install an artifact by install:install-file,
but how can I download then, for example:
mvn download:download-file -DgroupId=.. -DartifactId=.. -Dversion=LATEST
any idea?
|
Here's my variation on the "multiple artifacts from Maven build" question:
I'm porting from Ant to Maven. My application is an EJB server that is packaged as an EAR, but it also ... |
|
I'm using Netbeans and I want to grab the latest hibernate artifact from the jboss maven repository.
I have added the repository in netbeans, and I can navigate to it within the ... |
I am finding a way how to copy any files to my web server using maven. I have a maven project which contains a sets of html, js, properties and configuration ... |
I have a project that need to be deployed into multiple environments (prod, test, dev). The main differences mainly consist in configuration properties/files.
My idea was to use profiles and overlays ... |
I'm creating some Maven artifacts for various dependencies for our projects, and while I'm taking my best guess at group / artifact IDs, I'd like to add something to flag them ... |
I need to know the complete filename of a specific artifact in Maven. I looked at versions-maven-plugin but it seems to change the pom itself. Is there another way ... |
I'm adding Google App Engine, Spring and Tiles2 to same project, for some reason Apache Maven gives this error.
Missing artifact org.apache.commons:com.springsource.org.apache.commons.collections:jar:3.2.1:compile
here is my pom.xml where i include dependency:
...
|
So every time I add a dependancy to a library using maven in my pom.xml, it doesn't get deployed until I go to module settings and then click on 'fix'.
This happend ... |
We are currently trying to mavenize the existing projects in our company. We have executed a POC and are currently documenting our learnings and guidelines. I have come up the following ... |
I'm having some issues with a third party library that I'd like to step into. Netbeans provides a "Download Sources" option when the libraries node is right clicked. This downloads the ... |
We have a mother-ship project with several modules:
foo
+ foo-core
+ foo-resource
+ foo-util
+ foo-whatever
I want to allow developers to include the core, resource, and util modules as dependencies (excluding the -whatever module). ... |
I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and artifactId, but I can't ... |
My company is very concerned about entaglements that could result from the use of copy-left (e.g. GPL) code in our product. Because of this we have no compile scope Maven ... |
I'm writing a Maven plugin that takes as a parameter the path to the .jar file built by the project. At the moment I'm using the following definition for my ... |
I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces ... |
When using Alt-Insert to insert a dependency into the POM, the Artifact Search is always completely blank regardless of what I search for.
I tried to add repo1 to Settings->Maven->Repository Services, ... |
I am trying to find out if Maven has some built-in plug-in that can be used to time-stamp artifacts. I created an assembly file and am using the maven-assembly plugin to ... |
I have an artifact abc which has some tests. I have different versions of abc within my repository. I now want to be able to run the latest tests against the ... |
So far we have been manually downloading the jars and deploying to our maven repo with custom group/artifact id's. I would like to avoid that. So my question is
- What are ...
|
I would like to use Aether to search a Maven repository for specific artifacts, e.g. "All artifacts with groupIds starting with com.example.foo". The examples for dependency resolution provided in the |
Let us say, ArtifactA depends on ArtifactB and ArtifactC also depends on ArtifactB
I understand that "mvn dependency plugin" can help list the dependencies of a project/artifact.
But how about the reverse? If ... |
How do I check from within a Mojo if an artifact already exists in the local repository?
I'm installing large binaries into the local Maven repository and I need to know if ... |
i am using maven i don't have more knowledge about maven when i am install my project then it will successfully build but when i am test my project with ... |
I have a maven pom that creates an artifact, let's call it everything.jar.
I would like to copy a subset of the classes in everything.jar into another jar, let's call it mini.jar.
What's ... |
I upgrade to netbeans 7 which uses embeded maven 3. I have a project with lot of modules and modules containing other modules. My other submodules that don't depend on internal ... |
I must be missing something. I have searched and searched, and played and tinkered, and I still can't figure out how to do the following with Maven:
I would like to ... |
How can I remove artifacts from the lib folder of the ear? For exemple: activation.jar.
I was try follow the especification about Excluding a module (just change webModule for jarModule) ... |
I've just recently started doing Java development and I picked up Maven2 for dependency management and project task automation.
One peculiar issue I've stumbled upon, that I haven't been able to fully ... |
I understand that this is against maven best practices, but maybe my situation is one of the few exceptions from the rule - at least I'm stuck with thinking of alternatives ... |
How do I resolve an artifact's path in the local repository in Maven 3?
In Maven 2 you could use ArtifactResolver to populate an Artifact object with the relevant information, but ... |
We have a multi module maven project with the following layout
project
- common (contains DTOs and other utils)
- business (containes business services)
- presentation ... |
I am experimenting with Maven and I am trying to mavenize a project originally build with shell scripts.
With the Maven rule-of-thumb: one project, one artifact, I created the following structure:
<PROJECT>
...
|
I am trying to use Maven to generate an artifact for deploying on Vignette Portal. The packaging is exactly the same as a war artifact but the file should have car ... |
What are my options to host proprietary (non open-source) Maven artifacts online?
|
I'm trying to build solr 4.0 snapshot in maven. Here are my steps:
- Check out solr in d:\workspace\solr
- download ant, unzip to d:\ant. set the ANT_HOME to d:\ant
- download maven-ant-tasks-2.1.3.jar (the latest version) to ...
|
I have an pom structure:
project1
|
|______ pom.xml
|______ module 1
| ...
|
I have following problem module core contains test utils which is resused in dependent modules.
How to use this code in those modules? (maven dosen't include this code by convention, but how ... |
The "install" goal copies the artifact to the target directory and to the local repository.
How can I tell Maven to copy it also to a given directory (like the deploy directory ... |
Recently I came across with the term 'artifact' in related to maven build tool...
Can someone please explain what it's meant by 'artifact' in software industry and specifically in maven.
|
I configured the "maven-bundle-plugin" from Apache Felix as a Maven Archetype in Eclipse (since it was missing), but when I try to create a new Maven project with it, I get ... |
I am new to maven
I am running the Parent POM.xml file for the first time .
I am getting the BUILD FAILURE Error due to this :
I have this inside my ... |
I understand that you can create only one artifact from one pom in maven.
I wrote a javadoc doclet that creates an html report of my artifact (my-rest-api). This doclet can also ... |
I am using maven 2.2.1 and Eclipse Helios as IDE
When i run mvn deploy from the command prompt , the deployment is successfull
But when i use Eclipse Maven plug and tried ... |
Is it possible to tune maven to compare checksums of local release artifacts with checksums of release artifacts from remote repository and update artifacts with mismatched checksum?
|
I have just downloaded Eclipse Indigo and the m2e plugin, and this error shows up in the pom.xml of my project :
ArtifactResolutionException:
Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2
from ...
|
Seeing as JAR files are a subset of ZIP files, and ZIP files include a checksum for all entries, why does Maven add an additional checksum on top?
|
Given Dependency A with WSDL File a.wsdl under src/main/resources/wsdl I'd like to include it in Dependency B which has a compile dependency to A to generate the Axis Classes with
...
|
Thanks for your reply. I also use this sonatype repo for 6.0.2-SNAPSHOT artifacts, but because the 6.0.2 is already released, I do not want to use old SNAPSHOTs anymore. It is much better to use a released version if a little more stable environment is needed. On the other hand, when I will need to use the latest snapshot, I would ... |