Discrepancy in SNAPSHOT jar filename between JAR Plugin and Assembly Plugin

2011-08-11 Thread Michael Remijan
I am seeing an interesting discrepancy between the JAR plugin and the Assembly plugin.  I have the JAR plugin configured to add the dependencies to the MANIFEST:     plugin     groupIdorg.apache.maven.plugins/groupId     artifactIdmaven-jar-plugin/artifactId

Re: Why can't 'mvn site' find a grand-parent pom?

2011-06-03 Thread Michael Remijan
, Michael Remijan wrote: I'm using Maven 3.0.2 and when I execute 'mvn site' I get errors saying Maven cannot find one of my pom files.  The error is: [INFO] --- maven-site-plugin:2.1:site (default-site) @ ferris-bible-jmce --- Note that maven-site-plugin 2.1 is not compatible with Maven 3. Please

Why can't 'mvn site' find a grand-parent pom?

2011-06-01 Thread Michael Remijan
I'm using Maven 3.0.2 and when I execute 'mvn site' I get errors saying Maven cannot find one of my pom files.  The error is: [INFO] --- maven-site-plugin:2.1:site (default-site) @ ferris-bible-jmce --- Downloading:

assembly plugin broken going from 2.2.1 to 3.0.2

2011-03-03 Thread Michael Remijan
I've switched to Maven 3.0.2in an attempt to get a working release plugin but now the assembly plugin is not working. I can 'clean install' my multi-module project fine with 2.2.1. When switching to 3.0.2 Maven has a problem with the assembly with the following error printed to the console:

Re: Using release plugin with multi-module project

2011-02-16 Thread Michael Remijan
. Besides changing to Maven 3, any additional suggestions? From: Anders Hammar and...@hammar.net To: Maven Users List users@maven.apache.org; Michael Remijan mjremi...@yahoo.com Sent: Tuesday, February 15, 2011 11:55 PM Subject: Re: Using release plugin

Using release plugin with multi-module project

2011-02-15 Thread Michael Remijan
I'm trying to use the release plugin for the first time on a multi-module project. Given that my project looks like this: /Parent /Project-A /Project-B (had a dependency on Project-A) the problem I'm having is when the release plugin goes to build Project-B it fails with an error

Using release plugin with multi-module project

2011-01-18 Thread Michael Remijan
I'm trying to use the release plugin for the first time on a multi-module project. Given that my project looks like this: /Parent /Project-A /Project-B (had a dependency on Project-A) the problem I'm having is when the release plugin goes to build Project-B it fails with an error

Use properties to get name of dependency...

2010-10-07 Thread Michael Remijan
I know I can use properties like ${project.build.finalName} to get some information from the POM. But the information I want to get is the final name of the artifact built by a dependency. So, for example suppose I have a dependency like this: dependencies dependency

Re: Have mvn test ignore a file in src/main/resources

2010-04-02 Thread Michael Remijan
first. On Thu, 1 Apr 2010 07:40:35 -0700 (PDT) Michael Remijan mjremi...@yahoo.com wrote: I want to run tests with maven but I want to ignore 1 file in src/main/resources and instead use a file in src/test/resources.  How would I configure the surefire plugin to do

Have mvn test ignore a file in src/main/resources

2010-04-01 Thread Michael Remijan
I want to run tests with maven but I want to ignore 1 file in src/main/resources and instead use a file in src/test/resources.  How would I configure the surefire plugin to do this?

Release plugin with sourceforge

2010-03-16 Thread Michael Remijan
Has anyone gotten the Maven release plugin to work on Windows with a CVS SourceForge project.  I've been working on this all day and have made some progress but now I'm stuck.  In my POM, I have my SCM defined as: scm

help understanding repository id's

2010-03-02 Thread Michael Remijan
I need some help understanding repository id.  Specifically what I don't understand is how the idabc/id value put into your settings.xml or pom.xml file is related to how a repository is setup and configured?  When a repository is setup and configured is an ID value set for it somehow? In the

Re: Problem creating a self-executing signed jar

2010-02-23 Thread Michael Remijan
problem is that you try to squeeze everything into one Maven project. Try using more than one Maven project (one for the jar and then another one for the zip) and you'll see that things become much easier (and much more the mAven way). /Anders On Mon, Feb 22, 2010 at 17:45, Michael Remijan mjremi

Problem creating a self-executing signed jar

2010-02-22 Thread Michael Remijan
I'm trying to convert an ANT project to Maven and I'm having trouble configuring Maven to do what I need.  Here are the basic steps I need: 1) Create a jar-with-dependencies jar. 2) Sign the jar 3) Create a ZIP distribution with the signed jar. So far I've been able to configure the

Re: Cannot float image left and wrap text

2010-01-22 Thread Michael Remijan
this? From: Lukas Theussl ltheu...@apache.org To: Maven Users List users@maven.apache.org Sent: Fri, January 22, 2010 2:06:32 AM Subject: Re: Cannot float image left and wrap text Which version of the site plugin are you using? It should work with 2.1. -Lukas Michael Remijan wrote: I’m using

Cannot float image left and wrap text

2010-01-21 Thread Michael Remijan
I’m using maven to build my project’s site.  I’m trying to do something very simple.  Below is my index.xml.vm file.  All I want to do is float the image left so the text appears to the right of the image and wraps around it.  I can’t make this happen!  I’ve tried to add style=””, class=””, and

Customizing a shared assembly in a project

2009-11-02 Thread Michael Remijan
I have this simple shared assembly defined in it's own project which I pull in as a dependency via a descriptorRef configuration of the maven-assembly-plugin. Here's the assembly: ?xml version=1.0 encoding=UTF-8? assembly

Re: Is there a way to say get the latest version in the project.xml file?

2009-11-02 Thread Michael Remijan
In your dependency, you might be able to do something like this: version[0.0.1,)/version which means any version greater than or equal to 0.0.1. However, this depends on your Maven version because I think it's relatively new. From: laredotornado

Re: Auto Generate Text File at Build Time

2009-10-28 Thread Michael Remijan
I think one thing you'll need to do is add a .cvsignore file in the directory which the file gets generated and add the name of the file to .cvsignore. That way synchronizing with CVS won't bother with the file. From: dpark dp...@exchangesolutions.com To:

Re: Create zip of multi-module project

2009-10-27 Thread Michael Remijan
Haarlem http://www.iprofs.nl On Mon, Oct 26, 2009 at 10:59 PM, Michael Remijan mjremi...@yahoo.comwrote: src/assemblies/source-release.xml

Create zip of multi-module project

2009-10-27 Thread Michael Remijan
I have a multi-module project and at the project POM level (not the module level) I want to create a a zip of the entire multi-module project excluding the common stuff like /CVS dirs and /target dirs. I've tried configuring the assembly plugin but haven't been able to get it to work. The

Create zip of multi-module project

2009-10-26 Thread Michael Remijan
I have a multi-module project and at the project POM level (not the module level) I want to create a a zip of the entire multi-module project excluding the common stuff like CVS dirs and target dirs. I've tried configuring the assembly plugin but haven't been able to get it to work. Any ideas?

Re: Create zip of multi-module project

2009-10-26 Thread Michael Remijan
module, which depends on all the others and create it from there. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Mon, Oct 26, 2009 at 10:19 PM, Michael Remijan mjremi...@yahoo.comwrote: I have a multi-module project

Multi-module project dependencies not resolving

2009-10-23 Thread Michael Remijan
I have a multi-module project, only two modules, where Module-A creates a jar during phase=package goal=jar using classifier=stubs. Module-B has it's only dependency set to this stubs jar which Module-A creates. When I run the top-level pom as 'maven package', all of Module-A gets created

Re: Creating jar for RMI client

2009-10-22 Thread Michael Remijan
/generating-ejb-client.html /Anders On Thu, Oct 22, 2009 at 04:08, Michael Remijan mjremi...@yahoo.com wrote: I'm working on a older app which is an RMI server and client.  The client application needs interface classes and stub classes from the server and previously we did this with ANT just pulling

Loosing Main-Class: in JAR MANIFEST when creating 2 jars

2009-10-22 Thread Michael Remijan
When I have BOTH of these plugins configured, both JAR files get created however I do NOT get the Main-Class in the MANIFEST. But when I comment out the second plugin configuration (which creates the jars with the rmi stubs) then the MANIFEST does contain Main-Class. Any ideas? build

Creating jar for RMI client

2009-10-21 Thread Michael Remijan
I'm working on a older app which is an RMI server and client.  The client application needs interface classes and stub classes from the server and previously we did this with ANT just pulling out the classes we needed. I can't figure out how to do with with Maven though. Basically I need to