Hi all,
I've been trying to create a single project which can run both on sql and gae (where the 'datanucleus.properties' file needs to be changed) under a single maven folder structure. I first tried to get the Greeting example on the GAE website using mysql (this now works). Then, inspiring myself from beardedgeeks tutorial, I have tr...
Every time I check out my project from svn in eclipse and then enable maven dependency management I get some derived folders which happen to be some of the source folders. This kind of folder prevents me from making any modification on the files inside the folders. The derived folders seem to be those that have individual pom.xml file in...
I can unpack zip file via the maven-dependency plugin, but currently i have the problem that inside that zip file other zip files are include and i need to unpack them as well. How can i do this?
...
I'm stepping into an open source project, currently built using Maven2. I imported the project into Eclipse and this bit of code is giving me problems:
public static enum HierarchyType implements Function<MonetarySummary, SumOfMoney>, Predicate<Txaction> {
EARNINGS {
@Override
public SumOfMoney apply(MonetarySummary ...
You can use system properties in log4j configuration files using a ${variablename} syntax.
Can you include Eclipse variables (like the project name) and Maven variables (like the artifact ID) in there too, and have them substituted during the respective build?
...
I am trying to use the maven-jaxws-tools-plugin (v1.0.0 GA) with the goal being wsprovide, and am having little success. I had a number missing dependencies which I had to scour the internet for, and eventually, having followed several tutorials and blogs etc I think I've got them all in correctly. But now I am left with an error which ...
How can I change the name from 1.0.snapshot-jar-with-dependencies to something else, below are contents of my pom :
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<configuration>
<archive>
...
I have open-sourced some of my projects. I'd like to publish the artifacts in a common place. If I don't have to host my own repository, that would be ideal, otherwise I will have to setup my own instance of Nexus (or other repository that you recommend).
Can I publish artifacts to Maven Central? What process do I need to follow to g...
I have a IDEA project using maven2.
I want to use hibernate + mysql, what dependancies do I need?
...
I have been maintaining a maven java project for year.
Recently, I learned Ruby and asked why haven't these nice features (of Ruby) existed in Java, and I am so happy to find Groovy the answer. It's already out there for more than 6 years and what a shame I didn't know about it sooner.
Now come to the story:
I have a lot of java code wri...
In my User class, I'm trying to add the symbols @id and @column.
I'm getting a compile error:
cannot find symbol class id/column.
I'm using IDEA.
In the docs, I don't see any reference for @Id and @Column: http://docs.jboss.org/hibernate/stable/annotations/api/
I have this in my pom.xml:
<dependencies>
<dependency>
...
what are popular repo indices i should configure Idea to use?
i have: http://repo1.maven.org/maven2
...
Which maven repository has the latest hibernate core 3.5?
I have repository.jboss.com/maven2 and it only shows version 3.1rc2.
The latest is suppose to have hibernate annotations in the core .jar I believe, mine doesn't.
...
I have a problem setting up my maven j2me project that I created in Eclipse.
I have the WTK 2.5.2 & SDK 3.0 installed and associated with Eclipse.
I created a project using j2me-simple archetype.
Copied the files from my previous J2Me project which was working!
but as I see, all the files that I know are missing. the Application descri...
Is it possible to publish your site reports to github? For instance, I run Checkstyle, Findbugs, Cross Reference, and other plugins and would like to have that publicly available. Since my project is already there, I'd like to just keep it there.
...
Hi all,
I'm switching to Ruby for a project due to its excellent meta-programming support.
As a Scala guy, I'd use buildr or Maven to manage my project. I could have it generate a skeleton directory structure, add my dependencies, then when I build, the dependencies are downloaded automagically.
How would I use this workflow in Ruby? T...
I am using JUnit 4, Maven 2 and latest Eclipse. Problem is simple: I would like to perform some setup (connecting to a database) before my tests are executed.
I tried @BeforeClass in many different locations but Eclipse and Maven are ignoring this. Any help on accomplishing this initial setup?
Thanks!
public abstract class BaseTestCas...
Hi all I'm new to apache maven. I imported a project into netbeans everything seems well but i get this error when trying to build it:
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireProperty failed with message:
Property "loadVersion" is required for this build.
I think this means that the version of one of the dependencie...
I'm writing a very simple Maven plugin, and I am kind of lost with the testing part. Based on the plugin developers site, there are several different tools to achieve the same things, which documentation seem outdated... I found resources like this too, and took a look at the "core" plugins, but this is still very unclear to me.
As ther...
What are the best practices (and enabling tools) to deploy Java standalone applications along with any required jar dependencies, config files, and launch scripts?
Are there any Maven plugins that easies publishing binary releases, so that users don't need to use maven for example?
...