I'm new to Maven and working on creating a build for my company. We don't want to connect out to the Maven Central Repository, and we have a different directory structure for src and test code than specified in the super pom. I figured the best way to handle this is to create a customer super pom, but I'm wondering - where do I actually ...
I'm trying to put together an extremely simple proof-of-concept, but I can't get Maven to find any of the Tuscany SCA stuff. TIA.
...
Hi,
I have a couple of projects that I'm working on in Eclipse (or any IDE, so I don't want to depend on specific eclipse dependency maven capabilities). Some projects depend on other projects. Typically in Eclipse I would add the projects as references to other projects, but I'm not sure how to handle this when using Maven. In the depl...
When we release projects it is usually the same every time. Are there any arguments or properties that I can add to release:prepare that will allow for pattern releasing in batch mode?
Example:
What is the release version for "MyProject"? (company.jar.site:myproject) 0.0.1: :
What is SCM release tag or label for "MyProject"? (company...
Anyone know if it is possible to ignore all the instances of a particular directory in a file structure managed by git.
I'm looking to exclude all the 'target' folders in a maven project with a number of submodules. I know I can explicitly exclude each of them in a top level .gitignore, but I'd really like to be able to specify a patte...
Have been trying to get integration testing working with my seam project and the Jboss embedded container but am not having much success. Have been doing a lot of reading and have been trying what is mentioned in this JIRA but am not having any luck.
Amy currently just trying to get the 'testproject-master-JBSEAM-2371.zip' project work...
Hi, I have a couple of questions about maven best practices and managing repositories.
In my environment, I do not want to go out to the central maven repository but rather store everything in an internal repository. Should I just require each user to put the information in settings.xml file that disables using the snapshots or releases...
How can I stop maven from checking for updates each time I start debugging a project from Eclipse? I hope this makes sense as I'm not too familiar with the java development environment.
It's just that everytime I start debugging, it will go checking for snapshot updates for dependent libraries. And this gets annoying on a slow internet ...
Hi,
I have two maven projects A and B, both of which I'm actively working on the source code for. Project A depends on B. If I want to build project A, does a snapshot (or release) of B need to exist in the repository? Or will maven check the parent directory of A to see if a project B exists (assuming my directory structure looks somet...
I'm working with a maven (jar) Project in Netbeans(Windows), which creates Checkstyle Reports with the maven checkstyle Plugin.
No Matter what i do, i always get the message: File does not end with a newline. for Java Class Files.
What can i do/configure in either Netbeans (Formatter) or for the checkstyle plugin to get rid of the Mess...
The maven-verifier-plugin seems useful, but the example verifications.xml:
<verifications><files>
<file>
<location>src/main/resources/file1.txt</location>
</file>
<file>
<location>src/main/resources/file2.txt</location>
<contains>aaaabbbb</contains>
</file>
<file>
<location>src/main/resources/file3.txt</location>
<exists>false...
Hey,
I'm deploying a webapp (WebApp.war, say) using the Maven Glassfish Plugin. Rather than it being deployed to http://localhost/WebApp I want it to be deployed to http://localhost/AnotherName - that is, I want to change the context root it's deployed to. I can't work out how to do this with the plugin, is it an option?
...
I have a Java program with Maven managing its dependencies. One of those dependency is a JNI wrapper for another program. Maven takes care of the reference to the relevant JAR file, but I'm left messing around with the DLL file myself.
Is there a good way of having Maven handle the DLL as well? Ideally I would like to have the DLL load...
I'm using Archiva as my repository manager. It is setup so the users hit the archiva repo and if it doesn't hvae it, the archiva repo will then check the maven central repo (the internal repo proxies the maven central). Now if I want to add a new dependency to the archiva repository, is there a command I can run to tell it to go fetch it...
Hi - I've asked a similar question in which part of this was addressed, but I'd like to expand in more detail.
When configuring maven to look at internal repositories, is it best to put that information in the project pom or in a user's settings.xml? An explanation on why would be really helpful here.
thanks,
Jeff
...
Hi,
I would like to be able to publish snapshots to the repository using maven (or have hudson publish snapshots after each build using maven). I've been reading up on the SCM section of the POM, and I have a couple of questions. Sorry if I'm off base here - this part is new to me.
I don't want to put my username and password in SCM s...
I'm using the Apache Derby embedded database for unit testing in a Maven project. Unfortunately whenever I run the test I end up with the derby.log file in the root of the project. The database itself is created in the target directory (jdbc:derby:target/unittest-db;create=true) so that is not a problem. After consulting the reference gu...
this is related to another question I asked about trying to fail hudson on a single unit test failure. when I run maven on my build standalone, it fails due to unit test errors (running mvn clean install). but, when I run it in hudson, it says there was an error due to test failure, yet the build still is successful (and marked as unstab...
I would really like to make maven write the "target" folder to a different device (ramdisk), which I would normally consider to be a different path. Is there any maven2-compliant way to do this ?
I am trying to solve this problem on windows, and a maven-compliant strategy would be preferred.
...
Hi,
I am using Maven2. I have created a parent POM for my organization. I want the various groups will use it as a parent for their project but I want them to use the latest version.
for some reason, using it as a parent with version LATEST doesn't work,
any idea?
Thanks,
Ronen.
...