Hi all,
I'm quite new to Maven. Currently I use ant to build my java applications
and use Ivy as dependency management tool. I'm keeping all by dependency
jars in svn and use ant+ivy to get them when I build my application.
Now I'm planning to move to maven and I wanted to have a local reposito
On Fri, Oct 30, 2009 at 6:45 AM, Benson Margulies wrote:
> I've got code that works fine when run as a pojo and fails when run in a
> webapp, either via tomcat:run or jetty:run. I suspect, because I can't
> think
> of anything else, that there is detritus in the 'system' classpaths of
> these
> co
Hi,
I just hacked up a maven plugin called dita-maven-plugin which is just
a wrapper of DITA Open Toolkit's Java command line
The site is at http://mojo.codehaus.org/dita-maven-plugin
Feedback are every welcome
Thanks
-Dan
-
The enforcer requirePluginVersions rule will do it, and make sure
you've locked them all down at the same time as a bonus ;-)
On Thu, Oct 29, 2009 at 5:04 PM, Stephen Connolly
wrote:
> there is some help with versions:display-plugin-updates... may not
> give you everything you are after, but at l
there is some help with versions:display-plugin-updates... may not
give you everything you are after, but at least some of what you want
2009/10/29 Paul Benedict :
> The Maven Dependency Plugin has dependency:list which lists out all
> the dependency versions being used.
>
> Is there a similar lis
The Maven Dependency Plugin has dependency:list which lists out all
the dependency versions being used.
Is there a similar listing to display all build plugin versions?
Is there a similar listing to display all reporting plugin versions?
Paul
Unfortunately my development is mandated to be done on Windows. I tried to use
classifier in the nar plugin configuration away from msvc with no luck.
Damon Jacobsen
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Thursday, October 29, 2009 9:50 AM
To: users@ma
I've got code that works fine when run as a pojo and fails when run in a
webapp, either via tomcat:run or jetty:run. I suspect, because I can't think
of anything else, that there is detritus in the 'system' classpaths of these
containers. However, mvn dependency:tree does not tell me much about the
Hi,
Is there a possibility to semi-automate application.xml generation?
What I specifically want to do is this:
Currently I use the maven ear plugin to create the application.xml.
However, I need to register a module that should not be processed otherwise.
This means, the only thing that should
assuming you're NOT implementing on doze
can you use a profile to steer the execution away from msvc and towards
x86-Windows-g++
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraul
Yes, it is a valid use case.
My company does something kind of similar, but it's used for including two
versions of the same artifact in the build (and in the ear/war) - for
example, if we have a "2.1" and a "3.0" release of a project, and based on
legacy reasons and transitive dependencies, we ha
I am now getting into building the assembly portion of this. I don't
think the nar is getting looked up correctly. The nar is placed in the
system as a x86-Windows-g++-jni.jar, but the assembly plugin is looking
for x86-Windows-jni.jar. Also, even though I am explicitly setting the
classifier, the
Finally I've been able to try this and it worked like a charm copying my
site files.
I now face another problem. When I open an HTML file I don't get the HTML
parsed, I get the file source. I know that this can be fixed by changing the
svn properties to svn:mime-type=text/html. Can wagon-svn or Ma
Hi all.
I'm trying to fix MECLIPSE-615 [1]. The fix that seems fastest to me might
cause an issue if you include multiple dependencies from the same module,
using the same scope.
I don't know if this use case makes any sense since I've only used
classifiers for test-jar's. Does anyone use some
freestyle
use profiles to define the modules
"-Peverything-except-test deploy | -Ptest-only test"
2009/10/29 Mr Debasis
>
> Hi All,
> I am having one requirement which i am unable to meet through pom
> aggregation.
> I am having 8 modules.i want to execute 'test' goal in one module.and in
>
You mean like mvn dependency:copy-dependencies? Also take a look at
dependency:go-offline
On Fri, Oct 16, 2009 at 5:42 AM, janneefef wrote:
>
>
> janneefef wrote:
>>
>> We're using maven day to day in normal developer environment. People do
>> their builds on the local computer and dependencies
Hi All,
I am having one requirement which i am unable to meet through pom
aggregation.
I am having 8 modules.i want to execute 'test' goal in one module.and in
other 7 modules i should do clean,install and deploy.
I will run from hudson.how can I manage to fire only 'test' goal in one
module an
Cool, thanks, that worked!
Now I can go get lunch ;-)
Nathan
On 29/10/2009 14:13, "Nick Stolwijk" wrote:
> See the pom reference [1]. You will need to set the type to dar instead of
> jar.
>
> [1] http://maven.apache.org/pom.html#Dependencies
>
> Hth,
>
> Nick Stolwijk
> ~Java Developer~
>
That is the way Maven 2.1.0+ supports encrypted server passwords stored in
your settings.xml.
What is the exact problem you're seeing. Please post some logs.
/Anders
On Thu, Oct 29, 2009 at 12:18, Antonio Gonzalez <
antonio.gonzalez.fajardo@juntadeandalucia.es> wrote:
> Hi,
>
>
>
> I will us
See the pom reference [1]. You will need to set the type to dar instead of
jar.
[1] http://maven.apache.org/pom.html#Dependencies
Hth,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Thu, Oct 29, 2009 at 2:09 PM, nsowatsk wrote:
> Hi all
Right... Forgot about that one. Thanks.
On Thu, Oct 29, 2009 at 8:36 AM, Paul Benedict wrote:
> Yup, it was already posted in the beginning of this thread. Yaakov, do
> not rename your jars but simply configure the plugin like you were
> told to before:
>
>
> none
>
>
> http://jira.codehaus.or
Hi all
Justin explained how to create a new packaging type:
http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi
ng-type-for-maven
So I now have my .dar type. Cool :-)
BUT, I also need to create a dependency to that type. As matters stand, it
seems that a dependency must be
As requested I have added more details about the pom.xml . I hope this would
be sufficient .
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://
The Maven team is pleased to announce the release of Apache
Source-Release Assembly Descriptor, version 1.0.1.
This is a standardized assembly descriptor for use in the
maven-assembly-plugin. Source-release artifacts are archives which
contain the full project structure (sources only, no build ou
giv e us a more full pom snippet
2009/10/29 anil.kumar
>
> There are files making use of package com.ADHOC which i need to ignore
> while
> making the jar file.
> So I tried to exclude them in the jar by using the following
>
> com/ADHOC /**
> **/com/ADHOC /**
> In both the ways it didn't work
Yup, it was already posted in the beginning of this thread. Yaakov, do
not rename your jars but simply configure the plugin like you were
told to before:
none
http://jira.codehaus.org/browse/MECLIPSE-594
Paul
On Thu, Oct 29, 2009 at 6:56 AM, Brian Fox wrote:
> Renaming it and installing it
Which is the main class of maven? I found in
org.apache.maven.cli.MavenCli this as the last line of the public static
void main method, so maybe this is it:
System.exit( result );
Regards,
Csaba
Nick Stolwijk wrote:
I think Maven executes a System.exit at the end, which will terminate all
t
I think Maven executes a System.exit at the end, which will terminate all
threads, regardless of daemon state.
With regards,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Thu, Oct 29, 2009 at 1:09 PM, James Russo wrote:
> Hello,
>
> Act
Hello,
Actually it is the other way around. Daemon threads will not hold up JVM
from exiting, but non-deamon threads will.
"Marks this thread as either a daemon thread or a user thread. The Java
Virtual Machine exits when the only threads running are all daemon threads."
The daemon flag wil
Maven just exits when it's done and then the jdk pulls everything
down. Isn't there a flag you can set on a thread to mark it as a
daemon thread, and then the system waits before killing it?
On Wed, Oct 28, 2009 at 9:20 AM, Gajo Csaba wrote:
> Good idea! I was actually hoping there was some switc
Renaming it and installing it into your repo won't change anything if
it's getting added to the classpath on the commandline, so NO don't do
that. I believe someone already posted how to configure
eclipse:eclipse to add the aspect support. Or you can install
m2eclipse and use that instead.
On Sun,
ah! no, don't do that. Resources belong in /src/main/resources and are
automatically pulled into the jar. Manually adding the java folder
just undoes some of the maven conventions.
On Wed, Oct 28, 2009 at 10:22 AM, KOUKI Fakhreddine
wrote:
> Hi ,
>
> Put this on your Pom :
>
> ...
>
>
>
>
>
>
There are files making use of package com.ADHOC which i need to ignore while
making the jar file.
So I tried to exclude them in the jar by using the following
com/ADHOC /**
**/com/ADHOC /**
In both the ways it didn't work out.
Stephen Connolly-2 wrote:
>
> are you using backslashes?
>
> ja
are you using backslashes?
jar files do not have backslashes
2009/10/29 anil.kumar
>
> Wanted to know one thing .Is the issue related to the way I have named the
> path to be mentioned in tag.
> I have tried out all possible combination's . Still not working.
>
> Stephen Connolly-2 wrote:
> >
Wanted to know one thing .Is the issue related to the way I have named the
path to be mentioned in tag.
I have tried out all possible combination's . Still not working.
Stephen Connolly-2 wrote:
>
> well just clobber it with a **/ as the prefix ;-)
>
> 2009/10/29 anil.kumar
>
>>
>> Tried thi
well just clobber it with a **/ as the prefix ;-)
2009/10/29 anil.kumar
>
> Tried this as well. Not working.
>
> Stephen Connolly-2 wrote:
> >
> > you might require a leading /
> >
> > 2009/10/29 anil.kumar
> >
> >>
> >> Stephen,
> >> I thought by emailing is the only way you will be notified w
Tried this as well. Not working.
Stephen Connolly-2 wrote:
>
> you might require a leading /
>
> 2009/10/29 anil.kumar
>
>>
>> Stephen,
>> I thought by emailing is the only way you will be notified when I reply
>> to
>> the topic unless you sub scribe to the thread. Hence forth I will only
>>
you might require a leading /
2009/10/29 anil.kumar
>
> Stephen,
> I thought by emailing is the only way you will be notified when I reply to
> the topic unless you sub scribe to the thread. Hence forth I will only post
> my queries in the forum. Thanks for letting me know.
>
> Coming to the top
Hi Damon,
On Oct 28, 2009, at 10:35 PM, Damon Jacobsen wrote:
I have switched to trying to use the MinGW compiler instead of
Borland.
ok.
I have it working for the most part now. I am curious on proper
locations of files. I am compiling a jni component that links to a
third
party librar
Stephen,
I thought by emailing is the only way you will be notified when I reply to
the topic unless you sub scribe to the thread. Hence forth I will only post
my queries in the forum. Thanks for letting me know.
Coming to the topic ,it didn't work out. I will give this a try once more
else I m
Anil,
Please reply to the list so that others may find the solutions to the
problem (i.e. let google be their friend)
To answer your question: Nope...
I said the path *_in the jar_*
so to exclude the class com.foo.bar.Manchu
you would use com/foo/bar/Manchu.class
to exclude the entire com.foo
I do use m2eclipse to build my project and then use clean package to compile
it.
Now I move the "context.xml" to /src/main/resources and I can find it in
jar.
But as I start to run the program in Eclipse I got exception like:
[code]
...
Exception in thread "main"
org.springframework.beans.facto
42 matches
Mail list logo