Hi,
I would like to add the following to my .classpath when running
eclipse:eclipse. How can I do this?
>
/Roland
> Exactly, such a feature would be very handy.
The one thing I suggested was, since properties are "first set wins",
you could use:
mvn -P profileB,profileA package
and then set only the profileB-specific properties in profileB, and
leave the common/shared properties in profileA.
This would resul
Sorry on my original response I didn't realize it was profiles.. doh!
Can you filter a profile?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Exactly, such a feature would be very handy.
Andreas Benneke wrote:
>
> Hi everybody,
>
> we've been in a similar situation (and still are as we worked around it
> copying the profile... ;-)
>
> We would prefer "inheriting" another profile as a base for a new one -
> from the same pom or
Hi everybody,
we've been in a similar situation (and still are as we worked around it
copying the profile... ;-)
We would prefer "inheriting" another profile as a base for a new one -
from the same pom or a parent pom. This would perfectly match the
inheritance mechanism between whole poms..
So you can have a parent child relationship in profiles ? I wasnt aware of
that..Let me add that these profiles are defined in the profiles.xml and not
within the the pom.
Also if you could elaborate with an example as to how would i refer to the
properties of the parent profile from the child ?
You could make the original profile a parent of the small one. Use the
relativepath attribute so it looks on the filesystem first before
checking the repository.
com.mygroup
myparent
parent-pom.xml
1.0
-Ron
---
Hi Guys,
Though I have been told by Wayne that this isn't currently possible, so was
wondering which in the future 2.1.X or 3.X release might this be available
or if it is being planned for, at all ?
So basically I came to the need of making a profile which is an exactly
replica of an existing o
> Has anyone tried to use the Checkstyle plugin with Checkstyle 5 beta?
>
> The plugin uses 4.4, but I tried the following hack
> http://www.sonatype.com/people/2008/04/23/
Did you read this on that page:
"That was easy, right? As long as the new version you have introduced
is api compatible with
*I am having a two issues I need help with please.*
1. I created an internal archiva repo, and want our users to jsut go through
this as a mirror. But now I started getting issues with maven plugins not
being found, or no version was specified.
2. I am trying to create an remote archetype catelog
I mis-spoke, Reinhard. That fixes my problem!
I remembered, after the fact, that I had changed the assembly to run on
the "deploy" phase, yesterday. The assembly wasn't being created until
after the rest of the artifacts were already deployed. Changing that
back to the "package" phase made s
Good catch, Reinhard! I took a brief look at the source code, but I
didn't have time to dig into it deeply.
I tried your suggestion and added a dummy profile to the parent
project. That got me half-way there. The ZIP file is actually built
now, but apparently it doesn't get attached to the
I am creating a corporate pom and this project I created for it has a
site.xml. When I deploy it to my REPO, I notice:
*
[INFO] Uploading site descriptor for fxg-pom 1.0-20090219.155308-3 site.xml
*
How is this site descriptor getting used by my corporate pom, and how does
it get used my all the c
Hi
Has anyone tried to use the Checkstyle plugin with Checkstyle 5 beta?
The plugin uses 4.4, but I tried the following hack
http://www.sonatype.com/people/2008/04/23/
Here's my configuration:
org.apache.maven.plugins
maven-checkstyle-plugin
${build.home}checkstyle
Entity manager 3.4.0 seems to be fixed,
/hibernate/hibernate-tools/3.2.3.GA/** is still giving me a 403.
Thanks,
Richard
-Original Message-
From: Jason van Zyl [mailto:jvan...@sonatype.com]
Sent: 19 February 2009 13:44
To: Maven Users List
Subject: Re: Permission denied to access some a
Use the m2e users list:
u...@m2eclipse.codehaus.org
On 18-Feb-09, at 12:05 PM, cpopetz wrote:
Hello,
I have an m2eclipse project which references a maven jar
dependency. In an
eclipse run configuration (for launching jetty, to be specific) I
need to
reference the path to that jar depend
Fixed.
On 19-Feb-09, at 6:40 AM, Richard Chamberlain wrote:
Hi,
When browsing the central repo I get 403-forbidden on a few files. Is
there a reason for this?
http://repo1.maven.org/maven2/hibernate/hibernate-entitymanager/3.4.0.GA
/hibernate-entitymanager-3.4.0.GA.jar
http://repo1.maven
No, it has neither been resolved nor reported. Our current workaround is not
to use the assembly plugin in as many places to keep down total build times.
/Peter
brettporter wrote:
>
> Did you report or resolve this problem eventually?
>
> On 21/01/2009, at 9:27 PM, PeterNilsson wrote:
>
>
Vishal, If you had reviewed the documentation even preliminarily, you
would have found:
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#excludes
-jesse
On Thu, Feb 19, 2009 at 7:17 AM, Vishal Pahwa wrote:
> Hi
>
> Sorry to sending you mail personaly but its urgent.
>
> Please hel
No, you aren't forced to do that. But it is by far the easiest way of
doing things. Separate concerns, i.e. artifacts, should be in separate
modules. I, at least, would generally need a very good reason to
bypass that design principle; a module having a small number of actual
files in it is rather
am I forced to do that ?
* it is only 2 interfaces :)
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Hi
In our project we have a requirement of letting some java files in the package
to compile but need to restrict those files for being packaged in the jar.
Any idea how can we achive this.
Regards
Vishal
Make a separate module for each?
On Thu, Feb 19, 2009 at 6:44 AM, Felipe Gaúcho wrote:
> I am using the ejb plugin to generate two artifacts:
>
> - ejb-module.jar
> - ejb-module-client.jar
>
> but only the ejb-module is being deployed to the local repository ...
>
> is there a way to configure th
I am using the ejb plugin to generate two artifacts:
- ejb-module.jar
- ejb-module-client.jar
but only the ejb-module is being deployed to the local repository ...
is there a way to configure the pom to deploy both artifacts ??
--
Please help to test this application:
http://fgaucho.dyndns.or
Hi,
When browsing the central repo I get 403-forbidden on a few files. Is
there a reason for this?
http://repo1.maven.org/maven2/hibernate/hibernate-entitymanager/3.4.0.GA
/hibernate-entitymanager-3.4.0.GA.jar
http://repo1.maven.org/maven2/hibernate/hibernate-tools/3.2.3.GA/hiberna
te-tool
Thanks!
2009/2/18 Olivier Gaudin
>
> It is included in Sonar 1.7 that is planned for mid-march. Development has
> started already [1].
> Full detail are available in the ticket SONAR-205 [2]
>
> Olivier
>
> [1] http://skitch.com/t/pc8
> [2] http://jira.codehaus.org/browse/SONAR-205
>
>
>
> Pablo
I am using Maven-2.0.9 and trying to change the default output location of
the "test resources" (under src/test/resources). By default, they get copied
to target/tests-classes during mvn clean package. However, i want them to be
copied under my specific target/tests-resources folder. I followed th
Hi everybody!
I tried to build Boca-2.2 in Windows XP and Mac OS X. I used the
instruction manual given on the Boca wiki and on the Maven homepage.
The build-script always ends with an error, because maven could´nt
load some dependencies...i appended the "stacktrace" below.
...did anybody
I had kind of the same problem this week with our custom release plugin. It
works similar to the Maven release plugin in that it adds the active profiles
to the forked Maven process. Actually, I had taken this code from the Release
plugin.
The Release plugin gets the profile as follows:
List p
29 matches
Mail list logo