How to put a jar in mvnrepository.com ?
I created a small open source Java library LinkSet and I'd like to put it into mvnrepository.com. How to do it? There is nothing like "upload/log in/sign in" link on this website :( ...
I created a small open source Java library LinkSet and I'd like to put it into mvnrepository.com. How to do it? There is nothing like "upload/log in/sign in" link on this website :( ...
Hi there, I am using checkstyle plugin in maven 2. I now want to switch my config file, from the default one to a) an online file, or b) a local file. I tried the following two things, which both didnt work. Any suggestions? A) Local file, which is directly in my project folder next to the pom.xml <plugin> <groupId>org.apache.mav...
Hello, while running maven from eclipse you have option to execute these launch configurations by default .. here is the image of that : Now I can add my own launch configurations and execute them. Like this : Now instead of running run configurations every time, is it possible that I put my own launch configuration called "Clean i...
Hi Anyone had experience of managing C# based projects with Maven? If yes , please tell me a few words about it , how weird would it be to create such a setup. Thanks ...
What is a good way to package a web application in PHP for easy deployment? Currently, I am using make to generate a gzipped tar file. In Java, most people use Maven and build WARs. I wonder if there is a similar standard practice in PHP world. There is a Maven for PHP. I wonder if it's the way to go. ...
How can I use maven to determine if there are updates to any of the third party jars that the project uses without actually modifying the project? ...
For instance, I have included into my dependencies junit-addons : junit-addons. But in the maven repository there isn't any source code. And I know it exists (I have downloaded it). How can I modify the dependencies in order to use libraries from my local project instead from the maven repository (I would omit the junit-addons from the r...
See the following Maven generated project target classes test-classes src main java scripts resources datasource-settings.xml test java resources datasource-settings.xml I would like, when running a test, to use the settings found in test/resources/datasou...
I'm trying to build my Flex/Java web app from within IntelliJ rather than have to go to the command line to invoke the build from Maven. Everything is working and compiling fine from IntelliJ except for the fact that the HTML wrapper file for the compiled SWF is not getting processed correctly; in that the ${values} are not replaced by ...
I'm wondering if the Maven surefire plugin either runs tests multi-threaded by default (and if so can the number of threads be controlled? ) or if it runs tests from the Test classes in a random order or predictable order, or if the order can dictated by some means. I haven't verified this yet (I'll do so tomorrow just looking for som...
I'm just transitioning from .NET to JAVA and have to start JAVA project with Spring 3.0.0. and Hibernate. Can someone please explain to me step_by_step how to download spring dependencies with Maven. I just spent whole day with absolutely no success. PS. I have Java 1.5.06 and have already downloaded spring (with no dependencies) and i...
Hi, I have Maven on Ubuntu server. It seems to try lots and lots of places to download from but the download times out, but the timeout takes ages, so my whole build takes more than a hour. Downloading: http://scala-tools.org/repo-releases/org/apache/maven/maven-repository-metadata/2.0.3/maven-repository-metadata-2.0.3.pom [INFO] Unab...
I have a password protected internal maven repository I'd like to use to resolve dependencies in grails. Does anyone know how to configure grails to use authentication when accessing a repository? I'm running grails 1.2.1. ...
I've recently been asked to, effectively, sell my department on unit testing. I can't tell you how excited this makes me, but I do have one concern. We're using JUnit with Spring and Maven, and this means that each time mvn test is called, it rebuilds the database. Obviously, we can't integrate that with our production server -- it w...
I'm working on a couple of web services that use JAXB bindings for the messages (in JAX-WS or spring-ws). When using these bindings there's always some code that is automatically generated from the WSDL to bind the message objects. I'm struggling to figure out the best way I can make this work so that it's easy to work with, hard to brea...
Hi all, I'm on a project involving a JSF 2.0 frontend. The project is using Maven as the build tool, with a few modules for the different layers of the system. One of which is a WAR module, which is the deployment artifact. What I would like is to have a nice development process, which is similar to that of using Netbean's Web Project ...
Hi, I am trying to deploy an ear file to JBOSS AS (defalut server). The application is the mavenised version of examples of SeamInAction book. When I copy the file to $JBOSS_HOME/server/default/deploy, I don't get any exception but the application doesn't respond, after some time trying to access the application from the browser gives ...
I'm looking for a way to create meta-profiles that just activate sub-profiles in Maven. Let's take a very concrete example. I have the following profiles: "server-jboss" "server-tomcat" "database-hsql" "database-oracle" To build the project, you have to choose one profile for the server and one for the database. I want to create two ...
I have a project (here called my-artifact) which needs to generate sources from a model file. I've created a maven-plugin (my-code-generator) which is used as described in the pom.xml excerpt below. It loads and processes the model.xml from my-artifact's resources and generates code using some predefined templates stored within the plugi...
I'm intrigued to test new frameworks in the Java world, and decided to create a new project that takes advantage of Maven and db4o. I'm starting to get a hang of Maven, but I have a hard time adding db4o as a dependency to the project. First problem is that db4o doesn't exist in the official Maven repositories. Next up comes the problem ...