I have never understood completely how Log4J and JCL interact. I found
that following
"http://wiki.apache.org/commons/How_to_Configure_the_Logging_Factory_and_the_Logging_Class";
and adding a commons-logging.properties file with
org.apache.commons.logging.Log = org.apache.commons.logging.impl.Log4
Hi,
Please reply directly; I'm not subscribed to this list.
Some more information on this situation.
This is a multiproject and when run from the parent directory, it
works. If I go into the subdirectory and run maven, some but not all
projects throw NPE.
For example, I can run maven tck2.buil
Is that correct or a bug? I haven't had success with it defined in the
build/plugins section; of course it works great in reporting ;-). Plus the
Javadoc plugin docs show the config in reporting, so my guess is this is a
convert bug?
---
Did you define the M2_REPO variable (in Eclipse)?
Yann Albou wrote:
> Is someone facing the same issue ?
> Yann.
>
> Yann Albou a écrit :
>> Hello,
>>
>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
>> eclipse:eclipse" and importing these projects into an europa
>> workspace
AFAIK the best way is to use MavenProjectBuilder.build( file,
localRepository, null );
I'm not sure if null can be passed for localrepository. It is required to
resolve project inheritence, so MAY be ignored.
Nico.
2007/12/4, Saloucious <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I would like to know wh
Thanks for the reply. I had something like this set up at first, but
quickly changed it because I'm also working on the component library
project at the same time. Any time I want to see my changes I have to
mvn install that artifact and then (re)execute my demo app. On top of
that, part of the
Hi,
I need to put a jar file in a sar file,
myfile.sar
+-- com (classes)
+-- lib
+-- mylib.jar
+-- META-INF
+-- jboss-service.xml
I have search everywhere but I can not find a plug-in that can do the job
(adding a jar file).
Does anyone know how to do it ?
Perhaps
You should try maven archiva that just was released as 1.0.
(maven.apache.org/archiva)
It can proxy repositories based on URL and a compliant maven Wagon
implementation for transport protocol ("wagon" is the maven abstaction for
file access protocols). As there is allready a scp wagon used by mave
Hi,
I am new to maven tool and just started using it. I am setting up a local proxy
for a remote maven build repository. We have multiple build repository and some
are via http access and others via scp. Can you suggest some proxy tools to
sync up. I tried m2-proxy and it works fine for reposit
I use version ranges... make complex projects possible... makes parallel
development possible too
there are a few gotchas...
* [3,4) will match 4.0-SNAPSHOT should use [3,4-!)
* [3,4) will not match 3.0-SNAPSHOT
* don't use - any in ranges just causes trouble
make regular use of releases and whe
Hi All,
I'd like to get an idea if there are many people using the version range
feature in the community. For those users using/relying version range, do
you find any problems with it?
In our organisation, some people advocate the usage of version range but
personally, I don't think it is rob
Is that correct or a bug? I haven't had success with it defined in the
build/plugins section; of course it works great in reporting ;-). Plus the
Javadoc plugin docs show the config in reporting, so my guess is this is a
convert bug?
---
On Dec 3, 2007 5:33 PM, Kees van Dieren <[EMAIL PROTECTED]> wrote:
> This would be helpful for us as well. We have a pom.xml with multiple
> modules, e.g.
> modA
> modB
> modC
> modD
> modB needs modA, modC needs modB.
>
> When modA is modified, modA, modB and ModC should be rebuilded; modD should
VanIngen, Erik (ESTG) on 03/12/07 12:04, wrote:
Hi all,
My log4j.properties is located in
src/test/resources/log4j.properties
Loglevel is set to ERROR
During the test, all logging is done on INFO level, e.g. it seems that log4j
does not find the log4j.properties.
It could be many things.
Can you create a little test case and open an issue please ?
I didn't yet found this problem but it's perhaps a bug in one change I made
to add the support of WTP 2.0.
Another test that you can do :
- generates WTP settings for version 1.5
- import your project into eclipse (it should convert them
What about wsdl's ?
for
http://localhost:*
/common-logging-context-root/LoggingServiceSoapHttpPort"/>
On Dec 4, 2007 1:00 PM, Michael McCallum <[EMAIL PROTECTED]> wrote:
> filtering is such a ant way of thinking...
>
> why not properly export configurable
Hi Mick,
The semi-colon doesn't work as a path separator under Unix, you need to
use a colon in you doclet path. Replace ; by ${file.pathSeparator}
Actually, it may be better to specify your dependencies with a
tag in your plugin. See
http://maven.apache.org/pom.html#Plugins
Ludovic
Mick
I just tried with the latest snapshot and I get the same behaviour.
I see these warnings during import.
on the Warning it exists a "Quick fix" that says :"Mark the associated
raw classpath entry as a publish/export dependency". So I execued it
And then I get an error that says "Invalid classpath
The includes/excludes in the dependencySet is for artifact patterns
to be included/excluded. If you want to unpack a dependency and only
include certain files, you'll need to use the latest snapshots of the
assembly plugin, and then in your dependencySet:
true
[...]
HTH,
-john
create a new web app project that just contains the demo code... depend on the
real web app... voila when you build it overlays the demo on the real app
war...
you need to be careful not to include dependencies in the demo app or at least
none of the same deps as the real app... you will see tw
Nvm - slight oversight.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 1:44 PM
To: users@maven.apache.org
Subject: maven assembly question
I'm trying to include just a few files from another projects output via
the dependencySet feature
filtering is such a ant way of thinking...
why not properly export configurable entities and perhaps drop the environment
configuration into that environment...
for example you could export specific database settings and load them via
spring property placeholder from the classpath... put the p
Is there a way to activate a profile only if there was not one specified on
the command line? ActiveByDefault seems to always be active no matter what.
On Dec 4, 2007 11:11 AM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I have a local profile in my settings.xml that is activeby default. I am
> tr
I have solved that issue by setting a projectRoot variable:
local
C:/viewstore/esp_lynx_dap/esp/dap
Then my filter is:
local
${projectRoot}/src
Do you get the same from getting the latest snapshot instead of the trunk?
Where do you see this waring? During import or after import in the problems
view?
On 12/4/07, Yann Albou <[EMAIL PROTECTED]> wrote:
>
> Is someone facing the same issue ?
> Yann.
>
> Yann Albou a écrit :
> > Hello,
> >
> >
Yes, i got this problem too this week.
On Dec 4, 2007 7:40 AM, heimlich <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm in a bit of a pickle, and I'm hoping someone can help me out.
>
> I have an extensive Maven project with the following layout:
>
> project A, packaging: pom
> project A.A, packa
Hi,
I'm packaging my app in a zip.
However if i want to use java -jar myapp.jar i have to include the dependencies
in my manifest file.
I've done this using:
org.apache.maven.plugins
maven-jar-plugin
myapp.MainClass
true
Is someone facing the same issue ?
Yann.
Yann Albou a écrit :
Hello,
After generating my eclipse projects with "mvn -Dwtpversion=2.0
eclipse:eclipse" and importing these projects into an europa workspace I
get the following Warning:
"Claspath entry
M2_REPO/commons-logging/commons-logging/1
I have a local profile in my settings.xml that is activeby default. I am
trying to solve:
I want to switch filters based on environment:
${projectRoot}/src/main/filters/filter-${env}.properties
SO I would like to keep local as the default:
local
Here is my javadoc declaration:
org.apache.maven.plugins
maven-javadoc-plugin
2.3
128m
512
ydoc.doclets.YStandard
Hello list,
I have a question regarding the final packaging of artifacts. Basically
I want to exclude an entire (sub) package of class files - here's why:
I'm working on an app (web) that contains a 'demo app', solely used to
showcase visual components. The app project is actually a component
Have a look on http://java.freehep.org/freehep-nar-plugin/intro.html,
that could help you.
Damien
2007/12/4, Daniele Dellafiore <[EMAIL PROTECTED]>:
> Well I made something:
>
> http://download.java.net/maven/2/net/java/dev/jogl/
>
> what do you think?
>
> Just remains to see how to explode the
Well I made something:
http://download.java.net/maven/2/net/java/dev/jogl/
what do you think?
Just remains to see how to explode the jar, I think I can make that
job in the start script, native-lib are needed just at runtime.
On Dec 4, 2007 5:39 PM, Daniele Dellafiore <[EMAIL PROTECTED]> wrote
Thanks, that's a useful link.
I noticed that the surefire test plugin is bound by default for the war
packaging, but in my build that doesn't happen. If I include a plugin
element in pom.xml with groupId and artifactId but no other information,
does it override the default execution binding to th
cool!
i needed to change the mysql database charset to latin1 (see other
discussion on mysql 5.0)
thanks!
regards
ossi
Brett Porter schrieb:
yes, and yes. in fact, I would recommend sharing the user database connection.
On 04/12/2007, ossi petz <[EMAIL PROTECTED]> wrote:
Hallo
thanks f
I want to know what the best practice would be to create my daily site
documentation?
Should I just create a new build definition? Run it at 5:00am?
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.
Hi
We are using maven2.0.6. If i add some dependency for my war file then
it would include all the dependencies on which this particular
dependency is dependent but i don't require those dependencies. So could
anyone please tell me how to get away from this issue. One thing that i
can do is use
Hallo
i have a very similar issue (etch mysql 5.0.32):
2007-12-04 17:09:50,777 [main] ERROR JPOX.RDBMS - Error thrown
executing CREATE TABLE `SECURITY_OPERATIONS`
(
`NAME` VARCHAR(256) BINARY NOT NULL,
`DESCRIPTION` VARCHAR(256) BINARY NULL,
`PERMANENT` BIT NOT NULL,
`RESOURCE
hi. I am developing an app that uses JOGL (Java OpenGL Binding) that
has many native jars.
There is no artifact on any repository. What I want to do his:
1. create a pom for jogl artifact and put it on a repo.
That is, using maven for distribution (not for building) to have an
artifact on a repo,
Hi,
I would like to know which is the best way to build a MavenProject instance
from a File.
I do not want to use lookupMojo because i don't want to load my mojo but
just unit testing an Util Class.
--
View this message in context:
http://www.nabble.com/-Unit-Testing--Create-MavenProject-from
You can also use the ant task from the ant run plugin.
-- Lee
On Dec 4, 2007 10:10 AM, Dirk Olmes <[EMAIL PROTECTED]> wrote:
> Marco Bakera wrote:
> > Hey everybody,
> >
> > What is the preferred way of running an application from Maven? It would
> be
> > very nice to have the specified (runtim
Marco Bakera wrote:
> Hey everybody,
>
> What is the preferred way of running an application from Maven? It would be
> very nice to have the specified (runtime) dependencies at hand such that
> there is no need for further configuration of the classpath.
>
> I found the exec-plugin from codehau
when running mvn -e install, the stacktrace point to the following error:
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/archiver/MavenArchiveConfiguration
at
org.apache.maven.plugin.jar.AbstractJarMojo.(AbstractJarMojo.java:99)
at org.apache.maven.plugin.jar.JarMojo.(
Hi,
I have a setup, where I use maven 2.0.6 with svn for source control.
I have a project which I want to release. The effective pom attached at the
bottom.
I can release it with: 'mvn release:prepare;mvn release:preform' on a debian
linux box, but on Windows XP machines the 'mvn release
the build succeed for me, but the jar generate is wrong.
it not includes the xml files on the root of project.it put's only package
with classes..
willem84 wrote:
>
> It doesn't work for me, i need JSF stuff (javax.faces.component)...
>
>
> lmk wrote:
>>
>> proble resolved.
>> I delete
Hi Martin,
it didn't work. Thanks anyway for your help. I'll have a look at
using the site lifecycle now... but I have a feeling I will have a similar
problem, as I don't want site:site to run
br,
Michael
Martin Hoeller <[EMAIL PROTECTED]> skrev den 04-12-2007 14:16:10:
> Hi Michae
solved...nothing to do with Continuum. I increased the output level and i saw
an FileNotFoundException
which was supressed with the normal output-level settings in log4j.xml:
2007-12-04 15:02:37,967 DEBUG
[org.codehaus.plexus.redback.rbac.RBACManager:cached] building user permission
map
2007-12
Hey everybody,
What is the preferred way of running an application from Maven? It would be
very nice to have the specified (runtime) dependencies at hand such that
there is no need for further configuration of the classpath.
I found the exec-plugin from codehaus but don't know whether that is t
It doesn't work for me, i need JSF stuff (javax.faces.component)...
lmk wrote:
>
> proble resolved.
> I delete Jboss central repository from the config file..now it works
> fine..
>
> regards !
>
>
> willem84 wrote:
>>
>> I have got exact the same problem...
>> Probably error in maven? (A)
proble resolved.
I delete Jboss central repository from the config file..now it works fine..
regards !
willem84 wrote:
>
> I have got exact the same problem...
> Probably error in maven? (A)
>
>
> lmk wrote:
>>
>> hello
>>
>> I get a strange problem traying to install project into local
Hi Mark,
Ok. I'll give that a try. Funny thing is that my (root) parent pom
ultimately references 64 modules in the project graph. I am getting a
table length error in the logs and am unable to build anything. Is
there a limit to the number of modules that Continuum can handle from a
single pa
I have got exact the same problem...
Probably error in maven? (A)
lmk wrote:
>
> hello
>
> I get a strange problem traying to install project into local repository.
> maven try to get unfound versio of maven jar plugin.
>
> the error is
>
> [ERROR] BUILD ERROR
> [INFO]
> -
On 03 Dec 2007, lightbulb432 wrote:
>
> How can I find out the default plugin executions? For example, how would I
> know that maven-clean-plugin or maven-site-plugin isn't automatically in the
> build lifecycle (therefore requiring me to do a mvn clean or mvn site
> specifically or adding it as
On Dec 4, 2007 6:16 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> To get the assemblies, I have to do (currently) two things:
> mvn clean install -Pgenerate-assembly
> (since I have a profile for the "assembly modules"),
>
> cd assembly
> mvn assembly:assembly
>
> cd demo/demoAssembly
> mvn
I forgot to CC the list...
Begin forwarded message:
Date: Tue, 4 Dec 2007 14:16:10 +0100
From: Martin Hoeller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: deploying without deploying - how do I turn off deployment of
pom(or anyother default maven goal in a phase)?
Hi Michael!
[I CC'
Hi,
I have a question regarding optimizing my use of the assembly plugin.
I have a build structure like
/
-api
-assembly/
-impl/
-demos/
-demo1
...
-demoN
-demoAssembly
a regular "mvn clean install" now builds, api, impl and all the demos.
To get the assemblies, I have to do (c
Any plugin may fork a build and if it forks a phase later than test
(package most likely), then your tests will run twice. You really should
lock down your plugin versions to avoid accidental updates like that. If
you're using javadoc in your build, that could be the culprit since I
believe it rece
Hi,
I just upgraded continuum from 1.0.3 to 1.1 and one important thing
for us is changed, the build result output is not
added to the email any more, is there a way to turn this on again?
Also I noticed in the beta4 announcement:
New Feature
* [CONTINUUM-310] - customisable email templates
jimpo wrote:
> I have a maven project which produces a foo.jar as a result.
>
> jar
>
> My code depends on several jars (javax.persistence, commons-beanutils, ...).
> These JARs are (of course) not included in my outcome foo.jar. When I deploy
> the foo.jar to target environment, I need to c
I have a maven project which produces a foo.jar as a result.
jar
My code depends on several jars (javax.persistence, commons-beanutils, ...).
These JARs are (of course) not included in my outcome foo.jar. When I deploy
the foo.jar to target environment, I need to copy all dependent JARs to
Hi,
Just to let you know: I do not have any docBase in my continuum.xml ...
Cheers,
Raul
Ingo Siebert wrote:
Hi,
Continuum starts up if i use the docBase="..." attribute in the
continuum.xml and if the WAR referenced by docBase isn't in the
webapps folder.
But i have another problem. But
hello
I get a strange problem traying to install project into local repository.
maven try to get unfound versio of maven jar plugin.
the error is
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in the plugin manager ex
Hi all,
I'm in a bit of a pickle, and I'm hoping someone can help me out.
I have an extensive Maven project with the following layout:
project A, packaging: pom
project A.A, packaging: pom
project A.A.A, packaging: jar
project A.A.B, packaging: jar
project A.A.C, packaging: war
Rémy Sanlaville ha scritto:
> Hi Stefano,
>
> Have a look to the mailing archive :
> http://www.nabble.com/Default-location-of-config-files--%3E-Maven-Standard-Directroy-Layo-ut--tf3466078s177.html#a9672316
Thank you for the link! Unfortunately my google/archive searches failed:
maybe the mispell
Hi,
I've been using Jetty on a project successfully for a while but now we
get this error...
Starting jetty 6.1.5 ...
2007-12-04 09:00:55.230::INFO: jetty-6.1.5
2007-12-04 09:00:56.699::WARN: Failed startup of context
[EMAIL PROTECTED]/eTraderII,Z:\jcoleman\pro
jects\eTraderII\branches\
I agree also that more and more people use the multi-project feature and
will be happy to have the possibility to create a multi-project archetype.
Hope that ArchetypeNG plugin will offer this feature soon.
Rémy
You have to add the 'tags' part in both artifactId's and you can remove
the tags eg:
commons-jelly
commons-jelly-tags-interaction
1.0
HTH,
-Lukas
Rice Yeh wrote:
Hi Lukas,
In the project.xml, the dependencies are as follows:
commons-jelly-i
Hi Stefano,
Have a look to the mailing archive :
http://www.nabble.com/Default-location-of-config-files--%3E-Maven-Standard-Directroy-Layo-ut--tf3466078s177.html#a9672316
It would be nice to update the documentation in order to clarifier this point
because it's a quite common question.
http://mav
Hi Ingo.
Maybe this is a naive question but have you checked your file permission
on /var/continuum/database/continuum? is the directory path created?
Regards,
Raul
Ingo Siebert wrote:
Hi Emmanuel,
this is my current config:
Ingo
Emmanuel Venisse schrieb:
What i
Hi Lukas,
In the project.xml, the dependencies are as follows:
commons-jelly-interaction
commons-jelly
commons-jelly-tags-interaction-1.0.jar
1.0
commons-jelly-http
commons-jelly
Shouldn't it be jelly-tags-interaction and jelly-tags-http?
HTH,
-Lukas
Rice Yeh wrote:
Hi,
I am using maven to build glassfish. I get the errors below. I check my
local repositories. I do have these 2 artifacts in it. I am using maven 1.1.
Any clue?
Exception stack traces :
org.apache.mave
Hi,
I am using maven to build glassfish. I get the errors below. I check my
local repositories. I do have these 2 artifacts in it. I am using maven 1.1.
Any clue?
Exception stack traces :
org.apache.maven.verifier.UnsatisfiedDependencyException : The build cannot
conti
nue because of the followi
In my case it's not the ordering that causes trouble, in fact no matter
how I set the forkmode my classpath looks like this (running with -X):
[DEBUG] (f) classpathElements =
[/Users/villo/Documents/projects/atalaya/trunk/atalaya-web/target/test-classes,
/Users/villo/Documents/projects/atalaya/
No, we haven't specified any version for the plugins.
Actually the problem seems to be exactly that tests
are run twice...As I said in another post, setting
never solved it, even if
it takes much longer to run the whole suite now.
Are you saying that plugins other than surefire could
come in the
74 matches
Mail list logo