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
, 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
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:
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:
.
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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:
Haarlem
http://www.iprofs.nl
On Mon, Oct 26, 2009 at 10:59 PM, Michael Remijan mjremi...@yahoo.comwrote:
src/assemblies/source-release.xml
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
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?
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
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
/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
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
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
27 matches
Mail list logo