This is generally coded in. If your plugin has a defaultExcludes
option that might apply to various sets that will cover it, but at the
moment you generally need to use it repeatedly.
It would be a good idea to build this into the project model to be
able to specify it once. I believe this is alre
I don't believe they have a native plugin, so you may need to use the
ant tasks (as is done here) from the antrun plugin.
- Brett
2008/9/25 Markus Kramer <[EMAIL PROTECTED]>:
> Hello all,
>
> can anybody tell me, how i can run apache Forrest from within Maven 2.* ? or
> how i can add goals to my
I don't believe so, since it assumes it to be provided.
If you use "compile" instead of "provided", does it work? It is not
expected to be transitive, however.
- Brett
2008/9/25 William Vuong <[EMAIL PROTECTED]>:
> I have something like this in my ant file and the maven ant tasks 2.0.9 and
> ant
2008/9/25 Andre Dantas Rocha <[EMAIL PROTECTED]>:
> Hi all,
>
>
>
> I'd like to access a child pom property from its parent. Is it possible?
> Something with this syntax: ${parentProject.childProject.property}.
No, this isn't possible.
>
>
>
> The problem is that I have an EAR project and would
You can use release:branch for 'random' points as well. It operates on
the currently checked out versions.
- Brett
2008/9/25 Andreas Ebbert-Karroum <[EMAIL PROTECTED]>:
> Hi,
>
>
>
> is there a general recommendation if and how to change your versions when you
> branch? Simple scenario is when y
You have a few alternatives here.
* The dependency:tree goal shows the final resolution selection that
can help track them.
* In an IDE, you have apps such as this which can manage the versions:
http://code.google.com/p/q4e/wiki/DependencyAnalysis
* You can set the versions to be restrictive, eg [
I purchased the printed version of "Maven: The Definitive Guide". I'm
confused about how it differs from the online version, which is
available here:
http://www.sonatype.com/community/definitive_guide.html
The online version is "Beta 0.16, September 1, 2008", which I believe
is newer than
A plugin that queries the artifact's version (not expressions will not
do this) after the deployment has occurred will be able to do this.
- Brett
2008/9/26 mateamargo <[EMAIL PROTECTED]>:
>
>> Give us more context -- is this in a plugin, are you using Maven
>> embedded, or what??
>
>> Wayne
>
>
I saw this thread and figured this must be a simple bug. I dug into
the sources (of Maven and Plexus) and found what I believe is the root
of the problem. In short, while the Maven plugin supports the verbose
configuration, the underlying plexus-compiler does not, so it never
does anything no matte
Different platforms are usually addressed by adding a to
the artifact, eg Windows, MacOSX, or in your case, J2ME.
You may note a strong correlation between the "shorter paragraph" in
your PS and the "number of responses". Your first question is simply
too long and convoluted, with no paragraph br
Maven understands .svn and CVS directories and most plugins (for example,
the assembly plugin) won't copy these into build targets from source
directories.
Is there any simple way to extend the range of patterns that Maven plugins
implicitly exclude to exclude artefacts from other SCM systems (suc
I've created an issue in Jira with an attached patch. Hopefully it
will be included in the next version of this plugin.
See http://jira.codehaus.org/browse/MEAR-92
On Thu, Sep 25, 2008 at 3:01 PM, Kem Elbrader
<[EMAIL PROTECTED]> wrote:
> Thanks, I'll do so.
>
> On Thu, Sep 25, 2008 at 1:22 PM,
it has been fixed now
On Thu, Sep 25, 2008 at 3:00 PM, Mirko Nasato <[EMAIL PROTECTED]> wrote:
>
> Apparently some more info has been posted by Max Berger to the
> repo-maintainers list. Reposting it below. (Since BTW that message shows
> up as "an error occured while fetching this message" in t
Apparently some more info has been posted by Max Berger to the
repo-maintainers list. Reposting it below. (Since BTW that message shows
up as "an error occured while fetching this message" in the Atom feed.)
Cheers
Mirko
--
From: Max Berger <[EMAIL PROTECTED]>
Subject: Sourceforge changes ([M
Thanks, I'll do so.
On Thu, Sep 25, 2008 at 1:22 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Assuming you are successful, you should contribute it back via JIRA
> for future inclusion in an ear plugin release. Then you won't need to
> worry so much about maintaining you own branch with this relativ
Actually you could configure two executions of the compiler and jar plugins
to generate both artifacts in the one go!
2008/9/25 Holger Brands <[EMAIL PROTECTED]>
>
> Ok, I understand better now.
> So, ignoring the issue of needing different dependencies for different
> JDKs,
> I could use classif
Sending your settings.xml file is just a waste of bandwith.
Try adding -U -X to the mvn command. If that doesn't solve things, you
are probably experiencing more problems related to your proxy which
will require a network admin at your site/firm to help you resolve.
Wayne
On Thu, Sep 25, 2008 at
Assuming you are successful, you should contribute it back via JIRA
for future inclusion in an ear plugin release. Then you won't need to
worry so much about maintaining you own branch with this relatively
minor addition.
I seem to recall someone else asking about this on the list, but it
was a wh
Ok, I understand better now.
So, ignoring the issue of needing different dependencies for different JDKs,
I could use classifiers.
In the jdk1.5 profile I would configure the jar plugin to produce jars with
a classifier "jdk1.5". If there are dependencies between modules, I would
have to
redefine
Sounds good, I'll try that.
Thanks,
Kem
On Thu, Sep 25, 2008 at 12:19 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> You could probably grab the source, tweak it a bit, and create a new
> configuration value "createEarFile" or something (with default value
> true) to meet your needs. Then the plugin
Nick,
forget about the ignored finalName profile configuration. I activated the
wrong profile.
But the second question remains open.
I tried the following solution:
I defined a property "suffix" with an empty string as default value in the
parent pom.
In the jdk1.5 build profile a defined the pr
You could probably grab the source, tweak it a bit, and create a new
configuration value "createEarFile" or something (with default value
true) to meet your needs. Then the plugin does exactly what you
want/need.
Wayne
On Thu, Sep 25, 2008 at 11:07 AM, Kem Elbrader
<[EMAIL PROTECTED]> wrote:
> I'
Patel, Ronak (US SSA) wrote:
>
>> It should work after you reindex local Maven repository in the IDE,
>> then default indexer-based Archetype catalog will pick it up.
>> There is jira issue suggesting to incrementally update index after
>> executing Maven install from the IDE, please vote on
Yup I found it and got it to workthanks =)
-Original Message-
From: Thor [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2008 10:20 AM
To: Maven Users List
Subject: Re: New Archetypes inside Eclipse
In the last mail when I wrote "If you wish to use it from your console,
just
I've tried several other phases with no luck. It appears that the
dependencies are copied and any other ear work is done during the
package phase where the ear:ear goal is bound. But the packaging of
the .ear file is also done by this goal. Is there a way to prevent
this plugin of creating the .ear
In the last mail when I wrote "If you wish to use it from your console, just
hit the next command", i meant use the local archetype catalog... =)
On Thu, Sep 25, 2008 at 11:18 AM, Thor <[EMAIL PROTECTED]> wrote:
> You can reindex your local catalog from the preferences page of your Maven
> Plugi
You can reindex your local catalog from the preferences page of your Maven
Plugin (M2Eclipse or q4E) in the Eclipse IDE
You can also update your local archetype catalog using the maven archetype
plugin, like this:
mvn archetype:crawl
It'll check your local repo and generate the archetype-catalog.
Thanks guys, now I understand that under the development I should use
snapshots, it sounds pretty good. Do some of you know how to deal with
the same project for different platforms. That's my first question and
I am really intersted how it is done by experts?
Tomek
2008/9/25 Wendy Smoak <[EMAIL
Eugene,
Thanks for your reply.
How do you reindex the local Maven repository inside of Eclipse?
I can't seem to find out how to do that.
Ronak
-Original Message-
From: Eugene Kuleshov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 9:30 PM
To: users@maven.apache.org
Subj
OK, the first idea when Maven 2 was being designed is that you would use
different classifiers to differentiate between the different JDKs... thus
you could go
com.foo.foo
bar
jdk15
in order to use the jdk15 version, rather than the default with no
classifier
Why they did not see th
After last changes in sf.net infrastructure there are three ways of
uploading stuff to web area:
1) sftp
2) scp
3) rsync over ssh
I've tried two first options and they both failed. Maven uploads zip
file (wagon.zip) and then tries to unzip it. However unzip
commandis not available.
As far as
Thanks, but I don't think this is just an outage. From
http://sourceforge.net/community/forum/topic.php?id=3518&page
"The access methods for project web file management have changed. The new
accepted methods are: SFTP, SCP, rsync over SSH.
The hostname for project web file management has change
> Give us more context -- is this in a plugin, are you using Maven
> embedded, or what??
> Wayne
No, I'm using Maven for compiling not embedded. I want to know if there is a
way to the get the timestamp of the SNAPSHOT in some of the Maven's phases
and put it into a text file to read it after.
-
Stephen,
I don't quite understand your tip.
My main problem is not compiling. I don't need different JREs to link
against, I just have to specify a different target compiler option. Just in
case I wasn't clear about that.
The problem is to tweak the artifactIds to have a suffix. The generated
art
On Wed, Sep 24, 2008 at 9:51 PM, Tomek Maciejewski
<[EMAIL PROTECTED]> wrote:
> I have one more question. Let's assume that I deployed some artifact.
> Some people have used it so they have copy of it in local repository.
> Now I change something in artifact and deploy it with the same version
> nu
Hi Nick,
I (already) tried to use a profile in the parent pom, but the adapted
finalName is ignored by the jar plugin, e.g. mvn package creates the jar
with the default name.
(I use Maven 2.0.9 with jar plugin version 2.2)
In addition, even if that would work, would the deploy plugin use the
cha
Hello,
I tried to create a maven project thro command line and it shows some error.
My repository has these plugins. I heard could be cos of my proxy settings
but I hve fixed that too. Please help!!
>From command line
C:\>mvn archetype:create -DgroupId=com.javaworld.hotels
-DartifactId=HotelData
Mirko Nasato wrote:
Lots of syncing failures reported to the maven-repo-maintainers list today...
this answers my question I guess.
This has happened a number of times in the past during scheduled (or
not) outages. I also think they are still in the process of moving
datacenters so...
hth,
You could create a profile which configures the build/finalname and
the compiler plugin. This should create the desired artifact.
ie:
1.5build
${artifactId}-${version}-jdk1.5
I want to say classifiers
but that only works if the dependencies have not changed.
Perhaps what you want is a different project that depends on the first one
and unpacks it's -source.jar and does a recompile with the different jdk
On 25 September 2008 12:00, Holger Brands <[EMAIL PROTECTED]
Yes, it's a common problem on CI server but on developer workstation too if
builds are intensive.
About CI server, it is necessary to clean sometimes old snapshots because
they are generally not used. Continuum have this features since 1.2, I don't
know for other CI servers and if they doesn't exis
Hi Craig,
Well, no, I don't think the bug you're referring to is related.
Your problem is a quite common one.
See this bug http://jira.codehaus.org/browse/MNG-233 and the
dependency:purge-local-repository goal of the maven-dependency-plugin.
You will also find interesting relating information her
Hi Tomek,
Next time, it'd be preferable to ask two questions in two different threads
:).
For your question, the answer is no and has been answered recently on this
list.
You should never redeploy released artifact.
Btw, in the maven3.0 trunk code, the default has changed (see
http://jira.codeha
Hi Jörg,
Thanks for your answer, I understand what you mean.
So I tried to add to the *parent's pom* this :
true
after mvn clean install I get this strange error :
[ERROR] FATAL ERROR
[INFO]
[INFO] The -uriroot o
Lots of syncing failures reported to the maven-repo-maintainers list today...
this answers my question I guess.
http://mail-archives.apache.org/mod_mbox/maven-repo-maintainers/200809.mbox/[EMAIL
PROTECTED]
Mirko Nasato wrote:
>
> SourceForge.net made changes to their shell services recently
I've a multi-module build that is compiled with target 1.6 and deployed to
our company repo with artifactIds "artifact1", "artifact2" and so on.
Now, what I want to achieve is the following:
I want the same multi-module build optionally to be compiled with target 1.5
and deployed to our company r
Hi Marc,
Marc Schneider wrote:
> Hello Brett,
>
> The error I have is :
>
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke
> Tomcat manager
>
> And then
> java.io.IOException: Server returned HTTP response code: 401
>
> which means "unauthorized".
>
> In
hi all,
I have downloaded the latest version of tycho and successfully installed .
I would like to compile/install the sample.project , but I get the following
error message:
D:\test\tycho\sample.project>mvn clean compile
[INFO] Scanning for projects...
[INFO]
--
Hello Brett,
The error I have is :
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke
Tomcat manager
And then
java.io.IOException: Server returned HTTP response code: 401
which means "unauthorized".
In fact this clearly shows that some parameters are missing.
S
On Thu, Sep 25, 2008 at 6:51 AM, Tomek Maciejewski
<[EMAIL PROTECTED]> wrote:
> P.S
> I have one more question. Let's assume that I deployed some artifact.
> Some people have used it so they have copy of it in local repository.
> Now I change something in artifact and deploy it with the same versio
Hi,
You should try node to manage this, see
http://maven.apache.org/pom.html#Plugin_Management.
Cheers.
2008/9/25 tjunak <[EMAIL PROTECTED]>
>
> Hi,
>
> I have a following problem with plugin inheritance.
>
> I have put a plugin with lot of configuration in Parent-Pom, there are lot
> of child
Hi,
I have a following problem with plugin inheritance.
I have put a plugin with lot of configuration in Parent-Pom, there are lot
of child-poms in the project.
Most of them use the plugin configuration but in some cases I have to
re-define some options.
Let's say:
Parent-Pom:
my-plugin
Well, there're some times when you need to go backward. And it sometimes does
work, check this out:
in this exemple, the release plugin is asking again:
What is the new development version for "company-parent"?
(com.company:company-parent) 2-SNAPSHOT: : 1-SNAPSHOT
And it does work (see trace bel
53 matches
Mail list logo