maven

Maven freezes while perfoming scm:update on VSS

Im trying to get source files from VSS using Maven. But when I execute command mvn -DvssDirectory="C:\Program Files\VisualSourceSafe\win32" scm:update the log goes to [INFO] [scm:update {execution: default-cli}] [INFO] Executing: cmd.exe /X /C ""C:\Program Files\VisualSourceSafe\win32\ss" Get $/TEST -R -I- -GWS" [INFO] Working dire...

Adobe Flex Development on Ubuntu...

I'm thinking the following: Netbeans + FlexBeans Maven + FlexMojos However: FlexBeans just doesn't compare with FlexBuilder Not sure FlexMojos supports Flex 4 How do you guys manage to develop Flex apps on Ubuntu? I personally prefer Netbeans to Eclipse. Netbeans has very good Maven project support. So I am thinking of: "E...

GWT Compile "Add an entry point module" dialog

Can anyone explain where the Eclipse GWT plugin defines it's entry points? In an attempt to get my old GWT project working again with GWT 2.0, I created a default GWT 2.0 project in Eclipse and was able to run it successfully. It's the one that asks for a name and calls the 'greet' servlet on the server, which responds etc... so far so ...

How to configure Maven to generate the correct named OSGi bundle

I'm using the maven-bundle-plugin to generate my bundles. One issue that bug me is that the finalName (jar file) does't conform with the actual bundle name. Internally the bundle plugin convert the version from Maven format to OSGi format (ex: 1.0-SNAPSHOOT => 1.0.0.SNAPSHOOT) How should the actual propper OSGi naming can be extracted...

maven project required sun.javadoc jar

i came across this http://mvnrepository.com/artifact/javadoc/javadoc but it stated sun not allow redistribution. i have a maven project that required to use com.sun.javadoc.* . which repository can i use to grab the dependency? p/s: i'm using eclipse <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-...

Integrate Eclipse RAP and OSGI/Spring-DM plugins, using Maven for build

The background I have a project containing my domain model and persistence code (created using Spring-ROO). I've changed this into an OSGi bundle, and build & deploy it using Maven (via PAX Construct scripts). This bundle deploys nicely to Equinox, and I can access the various services,etc. I also have a Eclipse RAP plugin/bundle from w...

Maven automatic SNAPSHOT update

Let's say I have one project with the following POM: <groupId>com.mine</groupId> <artifactId>coreJar</artifactId> <packaging>jar</packaging> <version>0.0.1-SNAPSHOT</version> And then in another project I always want to reference the latest SNAPSHOT: <dependencies> <dependency> <groupId>com.mine</groupId> <artifa...

In IDEA, is there a way to force reindexing of Maven snapshots?

We have a large multi-module Maven project. The usual working style is to check out a few modules you're interested in, and for the other modules they depend on, use snapshot JARs provided by Maven. This mostly seems to work; when we need updated snapshots, we just force a reimport from the "Maven Projects" tab. However, the reimported ...

Hosted Continuous Integration

I'm currently looking for a (cheapish!) hosted continuous integration service for my private projects and they seem a bit thin on the ground. Does anyone have any experience of using one? ...

maven prevent denpendency compile

I have a custom jar which including java sources; Maven tries to compile when it builds. How do I skip source compile in the jar file? I have tried such as exclude with some pattern in the compiler-plug in and source directory define but I have not get any luck. Thanks! C05 ...

Maven2 cannot find parent from relative path

I'm trying to use Maven2 but my child projects cannot find the parent project. Directory structure is as follows: --parent --pom.xml --child --pom.xml Child pom.xml file looks like: <parent> <groupId>com.mycompany.app</groupId> <artifactId>myapp</artifactId> <version>${app.version}</version> <relativePath>.../par...

Resolving SNAPSHOT dependencies with timestamps from Ivy

I am attempting to resolve timestamped SNAPSHOT dependencies with Ivy. The environment is Ant + Ivy 1.2.0 + Archiva. Archiva itself is populated from Maven2 builds. Ivy is only used to resolve dependencies (from a single, non Maven2 project). How can Ivy be configured to correctly resolve timestamped artifacts from an Archiva or m2 re...

Debug Maven project in Eclipse

I am following below link to try to debug my maven project in Eclipse: http://mahertb.blogspot.com/2006/08/debugging-maven-web-application-with.html Somethings go fine until it throws an exception when I run it: org.codehaus.classworlds.Launcher class is not found. But I've set D:\Installs\apache-maven-2.2.1\boot\classworlds-1.1.jar in...

leiningen - how to add dependencies for local jars?

Hi, I want to use leiningen to build and develop my clojure project. Is there a way to modify project.clj to tell it to pick some jars from local directories? I have some proprietary jars that cannot be uploaded to public repos. Also, can leiningen be used to maintain a "lib" directory for clojure projects? If a bunch of my clojure pro...

How do I specify a dependency rule in Maven between files of certain suffixes?

I have a Java program that generates Java classes for my application. Basically it takes in a simple spec for a class and generates a specialized form of Java bean. I want to integrate this into my Maven pom.xml so that if the input file is changed, Maven automatically generates the new .java file before the compile phase of Maven. I kn...

Maven best practice for generating multiple jars with different/filtered classes ?

I developed a Java utility library (similarly to Apache Commons) that I use in various projects. Additionally to fat clients I also use it for mobile clients (PDA with J9 Foundation profile). In time the library that started as a single project spread over multiple packages. As a result I end up with a lot of functionality but not real...

Maven best practice for generating artifacts for multiple environments [prod, test, dev] with CI/Hudson support ?

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 to copy/configure the specialized output. But I'm stuck into if I have to generate multiple artifacts with specialized classifiers (ex: "...

Difference of maven jaxb plugins

I have determined that two jaxb plugin for maven2 exist, with some different configurations. The one is from Sun: http://jaxb.dev.java.net/jaxb-maven2-plugin/ the other from Mojo: http://mojo.codehaus.org/jaxb2-maven-plugin/ Has anybody experience with these two plugins, and give a recommendation? Thanks Matt. On my little research pr...

How to download complete maven remote repository to Local repository

Hello , Is there any to get the entire remote repository , say from http://repo1.maven.org/maven2/ , to my local repository (to %USERPROFILE%)? Thanks in advance for the help. Srinivas N ...

Use maven to automatically reinstall Google App Engine local database every build

I wonder if there is a possible way to install a custom set of data entities (specified in a java class, for example) to local Google App Engine database everytime maven execute the compile phase? ...