I'm having a problem setting up datanucleus enhancer to use with a google app engine project. If I use the datanucleus eclipse pluggin everything goes well, but in my maven project I get a strange conflicting version error.
My POM has these datanucleus references:
<dependency>
<groupId>org.datanucleus</groupId>
<artifactId>data...
I would like to try using maven from ant (for exaple to build my Java SE apps that needs all dependencies stored in ./lib/*, or just because doing anything short of dependency management in maven is too damn hard ;)).
But the documentation is nonexistent, and google also didn't give me a clue on how to use them. So any good docs/tutori...
I managed to create main jar, copy dependencies to a single directory, the only step left is to sign all jars.
I can sign my own produced jar as a part of jar:sign, but how do i sign dependencies?
Thanks
...
I'm trying to get Maven working with ProGuard.
What I want to achieve is the following:
Run ProGuard over my source files and produce obfuscated classes
Create a manifest file that references the main class so that I can execute it as a jar
Unpack all of the associated library jars and create one huge jar containing them all. This fi...
I have a rather large (several MLOC) application at hand that I'd like to split up into more maintainable separate parts. Currently the product is comprised of about 40 Eclipse projects, many of them having inter-dependencies. This alone makes a continuous build system unfeasible, because it would have to rebuild very much with each chec...
When I try to build a Grails 1.1 project with Maven 2.0.9 or 2.1, I get this error:
[INFO] [grails:maven-compile {execution: default}]
Running pre-compiled script
Environment set to development
Plugin [debug-1.0.2] not installed, resolving..
Reading remote plugin list ...
Plugin list file corrupt, retrieving again..
[delete] Deleting...
I have a standard (I think) web project developed with the eclipse IDE. I wish to port it to Intellij idea 8.1 - I think that, among other things, it has better taglib support.
My project structure is as follows:
Project Folder
./src [java source files etc.]
./conf [configuration files - log4j, spring beans...]
./buid [ant files]
./We...
In my maven2 project I have a directory ${basedir}/autogen that contains some autogenerated source code files produced by wsdl2java.
When running mvn compile I get an compilation error, because of duplicate classes, that lives in ${basedir}/autogen. This is true. But what is the compilation phase doing in ${basedir}/autogen? I have not...
Hi
I'm recieving the following error when trying to do inserts:
java.lang.NoSuchMethodError : org.hibernate.event.PreInsertEvent.getSource()Lorg/hibernate/event/EventSource;
I've seen other people with the same problem due to incompatibility in hibernate jars, but I believe I've got it right (according to the compatibility matrix)...
Hi
I'm relatively new to Java & maven, and so to get to know my way around, I decided to do a project as a means for learning.
I picked a pretty common stack :
Java 1.6
Hibernate (with annotations)
Spring (with annotations)
JUnit 4
Tomcat
Oracle XE / In-mem hsqldb
By far one of the biggest problems I've experienced is getting the ...
Is there a maven client that isn't mvn (the binary included with the maven distribution) I could use to pull down an artifact from a maven repository without using a pom? I'd like to use a maven repository as the repo for our ops team to pick up builds (including snapshots of
builds) but I don't want them to have to mess around with wr...
Can I make a single maven project that can be included as a dependency (to reference Java classes inside) and executed as a plugin?
I'm working on a library to help with hosting GWT on a LAMP stack. For someone to use this, they need to extend some Java classes (so it must be a dependency) and they need to invoke a maven plugin (so it n...
Hello everyone,
We have a hundreds of tests defined for our integration-test phase lifecycle in maven, and they take a long time to finish.
What I want to do is run just one test in the integration-test. I tried doing :
mvn -Dtest=<my-test> integration-test
but that does not work. The -Dtest runs only the tests in the unit test goal...
As far as I understand Google Guice 2.0 is out not so long ago. But I see that central repo still has outdated 1.0 version. Please, tell where can I find maven2 repository with Google Guice 2.0.
...
I have a multi-module project where there are various components which follow a fairly standard layout. For example:
root (pom)
...
module-NN (pom)
module-NN-launcher (jar)
module-NN-runtime (jar)
...
(where there are many module-NN projects)
Each *-launcher project uses ...
I've tried to upgrade a working GWT 1.5.2 application to 1.6.4 using maven to build. After fixing all errors and updating all deprecated calls, it compiles nicely.
But when I try to start the application nothing happens, because (according to Firebug) the files I try to download is
http://localhost:8080/softwarename/com.myCompany.Wor...
I have a Maven pom.xml with a plugin that I want to be able to control on the command line. Everything works otherwise fine, except even after searching the net a while I can't figure out how to set a default value for my control property:
<plugin>
...
<configuration>
<param>${myProperty}</param>
</configuration>
...
It's been a little while since I did C++ development professionally and I'd like to get caught up on what the current state of C++ development is in a number of areas. Most of my recent work has been Java, making heavy use of Maven. When I last did C++ development for work, some variant of make was widely accepted as the way to go for ...
I ask out of ignorance. It's been over two years since I heard James Duncan Davidson say that Ant needed a successor, something more like a scripting language. It seemed that Maven 1/Jelly tried to do that, and Maven 2 has tried again in its way ("or the highway"), but without overwhelming success. Ant seems still to be the default an...
hi, I'm stuck trying to add org.nakedobjects.prototyping : application, the nexus indexer cant find anything. I've realized that in the url text box doesn't contains the http;//repo1.maven.org/maven2/ address, any clues?
I'm using the latest version of eclipse 3.4.2
...