How can I get the list of artifacts from my maven repository?
Hello, Is there a Maven goal to list the artifacts stored in my maven local repository? ...
Hello, Is there a Maven goal to list the artifacts stored in my maven local repository? ...
Hi, I have following Maven projects set up: PM-Core PM-Web (with a dependency to PM-Core) Now, this project is used for several clients but for each client there are some small differences: mostly differences in configuration files but some clients also require additional java files (which may not be installed for the other clients)....
From what I am reading, to run maven on a windows computer I need to download cygwin. Can I get away with gitbash? ...
Hello, I am using maven-assembly plugin to create a jar of my application, including its dependencies as follows: <assembly> <id>macosx</id> <formats> <format>tar.gz</format> <format>dir</format> </formats> <dependencySets> <dependencySet> <includes> <include>*:jar</incl...
What's the best way to setup Maven for a project that has a SmartClient architecture? Consider the following packages: myproject.core myproject.server myproject.client Of course there are several sub-packages in each. Client and Server both use core. I see two main options: Make an uber-POM in myproject to cover all three and ha...
In a single-module project, I don't see how to get a 'classified' artifact from the project itself into the descriptor and thus the assembly. Do I list it as a dependency? ...
I'm working on a large existing java project using maven to manage our builds / releases. I'm interested in using groovy to replace some of our Java classes where we can benefit from it's dynamic nature. How do I go about doing this using maven? ...
I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom: extra dependencies extra configuration of the Flex Mojos plugin in the build section I c...
I downloaded a big framework which I need to built from source. The project uses a maven build structure, and includes a demo application which can be viewed with an embedded jetty. Maven plugins handle all this stuff. However when I run the demo application (with mvn jetty:run), I can't really use it because for some reason logging on ...
My boss asked me to convert one of our projects to use Maven to build. So I created a pom.xml file and now Maven builds the project fine and runs all the tests and everything. "Fine", my boss said, "We don't need these any more" and he deleted the /libs directory from the project, and he deleted the JRE from the classpath. That's fine...
I have a keystore file that I want available to several classes in my application. I made a .config file that points the name of the keystore file, it's password, and other information. It's a Maven-based project, so the keystore is in /src/main/resources. I build a jar and move the file to /resources in the jar. I'd like the .config...
I use Maven 2 Pom Editor mainly for editing directly the XML file. Is there a way to make the editor always open "Source" tab? ...
I have following tests structure: public class WorkerServiceTest { public class RaiseErrorTest extends AbstractDbUnitTest{ @Test public void testSomething(){ } ... } ... } It's done because I don't want to create a separate class file for every test case extending AbstractDbUnitTest. Th...
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 versions can be defined in dependencyManagement. Though when maven release is performed, the pom is allowed to be released with SNAPSHOT version in depende...
I know that hbm2hbmxml generates the necessary mapping files (*.hbm.xml) from a given datasource. You can then use hbm2java which will use those hbm.xml files as an input and will output Java classes. Is there a way of generating Java Annotated classes from the datasource without having to rely on the hbm.xml files? Thanks. ...
I am attempting to setup a sample dynamic web project in Eclipse using Java EE, Spring and Maven (using Nexus repository manager). I was wondering if anybody knows the "best practice" directory structure that I should setup for an enterprise web app in Eclipse? Should I just stick with the default structure that is setup for me? I ask...
EDIT: Added some of the output of the mvn -X -e commands at the end My company is developing a GWT application. We've been using maven 2 and GWT 1.7 successfully for quite a while. We recently decided to upgrade to GWT 2.0. We've already updated the eclipse project and we are able to successfully run the application in dev-mode. We ar...
Hello I'm trying to install maven plugin with eclipse and I have a following problem, more in picture below : So my question is, is this supposed to take this long or I did something wrong? I'm using eclipse galileo , I went to the window-> install new software -> typed in http://m2eclipse.sonatype.org/update/ website and name ma...
I use the latest m2eclipse to generate a standard ejb project, but then I got an error: Missing artifact javaee:javaee-api:jar:5:provided The pom.xml is as follow: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://m...
I downloaded spring's petcare application from their svn repository. How do I go about loading in an editor and running it? It has a pom.xml file, and I see references to eclipse. I downloaded eclipse, but I guess I need some sort of plugin to open it? Is there a readme file that I missed that details on how to run this sample appl...