2011/10/19 吴桐 :
> Hi all,
>
>
>
> I have a question about using maven-war-plugin.I have a web project
> which can be packed as a war file with all biz class in
> artifactId/WEB-INF/classes/. Question is, is it possible to pack all biz
> classes into one or many jar files ( like companyBla-m
Hi all,
I have a question about using maven-war-plugin.I have a web project
which can be packed as a war file with all biz class in
artifactId/WEB-INF/classes/. Question is, is it possible to pack all biz
classes into one or many jar files ( like companyBla-moduleA.jar,
companyBla-modu
Hi,
I'm attempting to implement http://jira.codehaus.org/browse/MDEP-322 under
Maven 2.x (I believe the plugin requires Maven 2.x compatibility, correct me
if I'm wrong).
I've successfully looked up the current project's transitive dependencies
using
http://stackoverflow.com/questions/1492000/how
Repository metadata says the lastest version is 2.3.1, why maven resolves
this plugin prefix (install) version to 2.2. I dont want to use the plugin
registry mecanism, I want to know why maven is behaving like this???
--
View this message in context:
http://maven.40175.n5.nabble.com/mvn-install
The findbugs-maven-plugin is part of Codehaus Mojo[1]
Try their mailing list[2]
-Robert
[1] http://mojo.codehaus.org/
[2] http://mojo.codehaus.org/mail-lists.html
> Date: Tue, 18 Oct 2011 10:52:56 -0300
> From: fabricio.le...@sefaz.ce.gov.br
> To: users@maven.apache.org
> Subject: R
Hello Brian,
Thanks for the reply. I was thinking about using the unpack goal of
maven-dependency-plugin, then change the target dir for the WAR to place
it in there along with some enhanced EAR descriptors. Just looking for
better ideas and/or examples to save time.
Manos
On 10/18/2011 0
Sounds like you want to unpack the EAR, add the WAR and repack it again...
that would be a 2nd EAR module that depends on the first EAR and the
WAR... might need some massaging, or perhaps a
m-d-p:unpack-dependencies
On 18 October 2011 16:59, Brian Topping wrote:
> How would you solve this probl
How would you solve this problem without Maven? What kind of EAR could load a
WAR it doesn't know about?
I don't doubt that this is possible with some magic, but that magic is separate
from Maven.
Once you have the magic well-defined, Maven can help you build it and package
it.
Brian
O
Hello,
I've got an EAR application for which I'm building a specific extension
as an additional WAR. My question is, what is the best way to do this
without the original EAR's POM knowing anything about the extra WAR? Any
examples would be appreciated.
Many thanks,
Manos
--
Thanks Stephen..that was helpful.
--
View this message in context:
http://maven-users.828.n2.nabble.com/Java-version-compatibility-for-maven-dependency-plugin2-3-tp6904764p6905001.html
Sent from the maven users mailing list archive at Nabble.com.
-
m-d-p 2.2 & 2.3 Requires JRE 1.5
m-d-p 2.1 is the last version to work with 1.4
On 18 October 2011 15:17, Nazia Ghawte wrote:
> Hi,
>
> Could anyone please tell me the if the maven-dependency-plugin(version 2.3)
> is incompatible with Java1.4?
> whenever i build my project with Java1.4 it fails,
Hi all,
What Maven property expression will return me a comma-separated list of the
currently active profiles? I've tried variations on
${project.build.profiles.active}, but I keep getting "null".
Here's how I'm trying to use it with Spring 3.1.0.RC1 bean profiles:
...
Hi,
Could anyone please tell me the if the maven-dependency-plugin(version 2.3)
is incompatible with Java1.4?
whenever i build my project with Java1.4 it fails,where as when built with
1.6 it doesnt.
Thanks
--
View this message in context:
http://maven-users.828.n2.nabble.com/Java-version-compa
Was my question confusing or isn´t anyone using findbugs with maven-site
3 and external file configuration?
On 13/10/2011 16:25, Fabricio Lemos wrote:
Can anyone help me configure findbugs in the site reporting?
I use an external file to exclude some checks, so I used this
configuration:
htt
The Mojo team is pleased to announce the release of Mojo's Cassandra
Maven Plugin version 1.0.0-1.
Mojo's Cassandra Plugin is used when you want to install and control a
test instance of Apache Cassandra from within your Apache Maven build.
The Cassandra Plugin has the following goals.
* cassan
Hi Anders,
Anders Hammar wrote:
> Today, activating a profile defined in a parent from the child is not
> possible.
this is not entirely true:
= %<
$ find .
.
./child1
./child1/pom.xml
./child2
./child2/pom.xml
./child2/v.xml
./pom.xml
= %< =
Ok more info on this issue which is driving me nuts.
I reset everything this week-end and I still get the error:
https://test.openflexo.com/jenkins/job/openflexo/8/console
Now, weirdest thing is that I have another build which is the nightly
build of the same project and the build succeeds:
htt
Today, activating a profile defined in a parent from the child is not possible.
/Anders
On Tue, Oct 18, 2011 at 14:35, Tomasz Pik wrote:
> On Tue, Oct 18, 2011 at 1:28 PM, Dirk Olmes wrote:
>> Hi,
>>
>> our Maven (2.2.1) build generates install zips with obfuscated sources
>> from the artifacts
deusaquilus wrote:
> Here's what I'm doing:
>
> File pom = new File("pom.xml");
> DefaultProjectBuildingRequest request = new
> DefaultProjectBuildingRequest(); DefaultProjectBuilder builder = new
> DefaultProjectBuilder();
>
> String mavenHome = System.getenv("M2_HOME");
> ArtifactRepository lo
On Tue, Oct 18, 2011 at 1:28 PM, Dirk Olmes wrote:
> Hi,
>
> our Maven (2.2.1) build generates install zips with obfuscated sources
> from the artifacts within the build. Over the last year we created more
> and more installer packages this way, using the famous copy/paste approach.
>
> I'd like t
On Tue, Oct 18, 2011 at 10:02 PM, deusaquilus wrote:
> Here's what I'm doing:
>
> File pom = new File("pom.xml");
> DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest();
> DefaultProjectBuilder builder = new DefaultProjectBuilder();
>
> String mavenHome = System.getenv("M2_H
I'm thinking that a custom packing type is what you want to create.
Then use that as the packaging in those Maven projects where you
create the install zips, and it will bind the appropriate plugins to
the lifecycle. Not sure though how this would work with your
obfuscated sources jars though as pl
Here's what I'm doing:
File pom = new File("pom.xml");
DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest();
DefaultProjectBuilder builder = new DefaultProjectBuilder();
String mavenHome = System.getenv("M2_HOME");
ArtifactRepository localRepository = new MavenArtifactRepos
Hi,
our Maven (2.2.1) build generates install zips with obfuscated sources
from the artifacts within the build. Over the last year we created more
and more installer packages this way, using the famous copy/paste approach.
I'd like to clean things up so I thought I'd create a parent POM with
pom
Simply use only provided scope as it will be available to your tests as
well.
On Oct 18, 2011 6:28 AM, "mickael leduque"
wrote:
> Hello,
>
> I need to have the same dependency with two different scopes : test and
> provided.
> The scope mustn't be compile, of course.
>
> Now, if I try to repeat t
For anyone else who's interested you can follow along at
http://tobarsegais.org & http://github/tobar-segais/tobar-segais/
Current status is a very minimal functionality with very hackish
back-end... but will display a frameset with the tree of all the
bundle .jars dropped into WEB-INF/bundles
On 18 October 2011 11:20, mickael leduque
wrote:
> Hello,
>
> I need to have the same dependency with two different scopes : test and
> provided.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
> provided
> This is much like compile, but ind
Hello,
I need to have the same dependency with two different scopes : test and
provided.
The scope mustn't be compile, of course.
Now, if I try to repeat the dependency declaration twice with different
scope, maven says :
[WARNING] Some problems were encountered while building the effective mode
28 matches
Mail list logo