The only similar problem I found was solved by making sure the Continuum
build had a clean in it. I'm using a maven2 build from a script and
subversion. The scm may make a difference.
-- Lee
On 11/14/06, Wayne Fay [EMAIL PROTECTED] wrote:
Tell your developers to stop deleting files? ;-)
Hi,
I have a quite simple plugin working correctly but when I try to test it
the expression is not evaluated. I am using :
dependency
groupIdorg.apache.maven.shared/groupId
artifactIdmaven-plugin-testing-harness/artifactId
version1.0-beta-1/version
/dependency
On the doc on
Good day to you, Barrett,
You may want to use the @aggregator on your mojo. This will mark the goal
it represents as an aggregator.
Aggregators goals are treated by maven differently than none aggregator.
Simply put, aggregator goals are executed only once and only against the
maven project
Hi all,
I'm running continuum 1.0.3 on a linux server. After restarting
continuum, I always get Servlet not initialized error on my browser.
Whenever this happens, the only solution I could find is to reinstall a
fresh copy of continuum and load all my projects again.
TIA
Nik
Hi,
Thanks for the note, sorry, its probably not very clear (late night sessions
and all that!).
Not sure if its a red hering or not but I have test classes that are
*affected* by the aspects. So, I have a call pointcut on some method (called
A.doSomething) and and before aspect. The test code
Hi,
Sometimes a problem appears in M2 with parent and module structure due to
the OS limitation in filepath length.
For example Windows file path can not exceed 255 characters.
But in complex maven 2 structure of parent/modules we can encounter a
problem with that.
I use Eclipse so I have to put
Hi
I am quite desperate: I want to let Maven sleep for a few seconds
between the tests.
I added this ant tasks in the build phase in a previous project and it
worked fine:
-8-
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Hi all,
I'm trying to work on a webapp with tomcat and mvn. I want to be able
to edit a jsp, type mvn tomcat:redeploy and have just the changed jsp
be reloaded, without having to compile/package/deploy
I'm fairly sure that this is possible using a combination of mvn +
tomcat-plugin, but I'm
I have a small proof of concept I'm trying to build.In the project's
super pom , I have a dependency to spring specified as
dependency
groupIdoracle.ldap/groupId
artifactIdldapjclnt/artifactId
version1.0/version
/dependency
dependency
groupIdjavax.j2ee/groupId
On 11/14/06, Wayne Fay [EMAIL PROTECTED] wrote:
Scope test is not included in build classpath. Both problem jars are
scoped test. The others have no scope so they default to compile.
Wayne
I get confused by the scope thing.If scope is test , does that mean
the jars will only be used in the
I get confused by the scope thing.If scope is test
, does that mean
the jars will only be used in the test phase of the
build lifecycle?
Exactly, they are only available for the phases needed
for the test compile, executing the test and building
the test reports.
This are the following
Ok I already suspected this, but what should I use to update the page in
order to see the results. I tried the Show Projects link but it seems
also to trigger another build.
Thanks
robert
-Original Message-
From: Martin Testrot [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 14. November
Yep, but it seems your mixing your main sources and your test sources
into one dir: /src.
So a normal compile also tries to compile the test sources.
You're better off splitting the sources directories up:
/src/main/java
/src/main/resources
/src/test/java
/src/test/resources
Jeff Mutonho wrote,
Scott,
Can you let me know the correct way to do this? I'm not able to substitute
the plugin config values using the properties file. I think this is quite
trivial.
Dmystery wrote:
I did somthing like -
profile
iddeploy/id
activation
property
namedeploy/name
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
====
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I download all of the software from the required page as described.
The sun jars.
I cant see what is wrong there. It happens more than once in
If you look in more detail:
http://www.ibiblio.org/pub/packages/maven2/javax/j2ee/j2ee/1.4/
You'll see that no binaries are available for javax.j2ee, but only
poms. This is due to the licensing of the J2EE 1.4 jars. So you can
use these poms but must download and manually install the jars.
Scope test is not included in build classpath. Both problem jars are
scoped test. The others have no scope so they default to compile.
Wayne
On 11/14/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
I have a small proof of concept I'm trying to build.In the project's
super pom , I have a dependency
AFAIK, you have to file a JIRA against MAVENUPLOAD.
-Gisbert
Subhash Chandran wrote:
I have done this before: filing a bug for newer version of a library.
But I do not remember the procedure now, and I am not able to find the
document describing how to do this.
If anybody could get this
Hi,
First the environment:
1. Multimodule midp2.0 application - must have (OK)
2. Assembly is required - must have (OK)
3. Assembled code jar obfuscation - optinal (NOK)
3. Assembled code jar preverification - must have (NOK)
What I'm trying to do is to write a plugin(s) for our MIDP project
hi
we are using GWT ,and we build our GWT project with maven 1.x ,now
google release new jar and this time the jar path should not contain any
spaces in between the path
but we all know that maven build the repository at
$(userhome}/.maven/repositort
and userhome contain spaces like
Thanx ...much appreciated
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I keep seeing a problem with continuum when a developer deletes a file.
Sometimes but not always continuum fails to delete the file from its
working directory. Then at some point soon afterwards, that deleted
class file will no longer compile, so the build fails and I receive a
notification.
I have done this before: filing a bug for newer version of a library.
But I do not remember the procedure now, and I am not able to find the
document describing how to do this.
If anybody could get this component updated, it would be helpful:
http://www.ibiblio.org/maven2/jexcelapi/jxl/
--
I got the same problem and the only way I foun to solve it has been to
drop the project and to create a new one.
Adam Hardy a écrit :
I keep seeing a problem with continuum when a developer deletes a file.
Sometimes but not always continuum fails to delete the file from its
working
hello everyone,
i'm developing a application that need to be installed on customer
machines (possibly, different machines, win/lin/mac).
the packaging of my application is 'war', which restrict the field of
possibilities: my installer should infact ship with an application
server. my choice in
If you are behing a proxy, this might be caused by the
https-repository that is added by the archiva POMs. Try adding cmdline
arguments: -Dhttps.proxyHost=... -Dhttps.proxyPort=...
Tom
On 11/13/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I
Hi Wayne
Thanks for getting back to me. I didn't think this was a bug. I thought it
had something to do with the way I was using Surefire and TestNG. The Surefire
plugin page indicates you can use a testng.xml file so I thought it should
work. I was hoping to find someone that uses TestNG
Unsupported major.minor version indicates you're trying to run a
newer-compiled Java class in an older JRE. In this case, seems like
you've compiled classes with JRE 5 and are attempting to execute them
(testing w/Surefire?) with JRE 3 or 4.
Check your PATH... I'd guess you've got a JRE 3 or 4
Tell your developers to stop deleting files? ;-)
Sounds like a bug, go file it in JIRA and I'm sure it will be looked
at and hopefully addressed in a future version.
Wayne
On 11/14/06, ETIENNE Olivier [EMAIL PROTECTED] wrote:
I got the same problem and the only way I foun to solve it has been
Kevin Jackson [EMAIL PROTECTED] wrote on 11/14/2006 03:17:09 AM:
Hi all,
I'm trying to work on a webapp with tomcat and mvn. I want to be able
to edit a jsp, type mvn tomcat:redeploy and have just the changed jsp
be reloaded, without having to compile/package/deploy
I'm fairly sure that
If you're installing the artifact every build, you might want to use a
-SNAPSHOT version.
Paul
Arne Saeten wrote:
Hi,
I have the same problem. Any solutions out there?
Thanks,
Arne
-
To unsubscribe,
hi
we are compiling our gwt source with maven 1.x but now our project
is become heaver and on compiling through maven it give out of memory
problem
is there any way by which we increash the memory of maven 1.x
Thanks
Regards
Neeraj
As it is written in this page : A Derby exception Schema 'SA' does not exist occurs, but is not
of concern.
It isn't an error, the database doens't exist and jpox create it after this
message.
Emmanuel
[EMAIL PROTECTED] a écrit :
Hi
I am trying to start up Archiva using the jetty:run,
Hello,
I'm having a problem while I try to run the maven-exec-plugin with goal=exec
and phase=generate-sources. The executable I want to run is the apt (Java
Annotation Tool Processor), so I set executable=apt.
What occurs is that for some reason the command invoked is the base
directory
Set your JVM settings in the environment's variable MAVEN_OPTS
For example : MAVEN_OPTS=-Xmx512m
Arnaud
Neeraj Bisht wrote:
hi
we are compiling our gwt source with maven 1.x but now our project
is become heaver and on compiling through maven it give out of memory
problem
is
http://maven.apache.org/maven-1.x/reference/command-line.html
-Original Message-
From: Neeraj Bisht [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 6:25 AM
To: Maven Users List
Subject: out of memory problem in maven 1.x
hi
we are compiling our gwt source with maven
Hmm, AFAIK showprojects works fine.
At least in my testproject.
Wierschke Robert schrieb:
Ok I already suspected this, but what should I use to update the page in
order to see the results. I tried the Show Projects link but it seems
also to trigger another build.
Thanks
robert
-Original
So you have aspects in your test classes, and therefore the tests
compilation need AspectJ run on them too. Changing the maven.test.dest does
not solve the problem.
Have you determined a needed plugin change yet? I am wondering if the
correct fix is to enhance the plugin to have a property that
I found out that my project' parent have on its pom.xml the configuration to
compile with jre5 already.
So I was thinking the problem I'm having is not being caused by the jre and
so by another mystical thing.
Here goes the error:
[INFO]
zze-Amicom HUGONNET E ext RD-TECH a écrit :
Hi,
I have a quite simple plugin working correctly but when I try to test
it the expression is not evaluated. I am using :
dependency
groupIdorg.apache.maven.shared/groupId
artifactIdmaven-plugin-testing-harness/artifactId
Deng,
I deleted the whole folder with everything in it. I
still don't know why is doing it, the war however
includes the jar file.
For now I decided to keep going with my project. It is
annoying to see the warning coming up at every phase
while building the package but I will have to live
with
Thanks Jeff,
hmmm, I kind of thought that this wouldn't be too far off the beaten track
but perhaps it is!
I managed to change most of my aspects to use execution instead of call
(which in my case makes more sense, I just didn't realise it!), this ind of
breaks the test dependency so helps.
Thanks a lot for the help. =)
It was exactly my problem.
java was pointing to 1.4 and javac was pointing to 5.
Allan Valeriano
On 11/14/06, Wayne Fay [EMAIL PROTECTED] wrote:
Unsupported major.minor version indicates you're trying to run a
newer-compiled Java class in an older JRE. In this
Hi
I seem to be having a problem with TestNG 5.1 and the Surefire plugin (either
2.3-SNAPSHOT or 2.2). When using Surefire 2.3-SNAPSHOT I get this error when I
try to run my tests:
---
T E S T S
Bugs should be posted in JIRA, not the Users list.
Wayne
On 11/14/06, Christopher Maki [EMAIL PROTECTED] wrote:
Hi
I seem to be having a problem with TestNG 5.1 and the Surefire plugin
(either 2.3-SNAPSHOT or 2.2). When using Surefire 2.3-SNAPSHOT I get this
error when I try to run my tests:
You can use the Geronimo-provided J2EE jars for now, while waiting for
the Sun JavaEE jars to be published under an open source license etc:
http://www.ibiblio.org/pub/packages/maven2/geronimo-spec/
http://www.ibiblio.org/pub/packages/maven2/geronimo/
The Glassfish jars are slowly making their
Hi
I am trying to start up Archiva using the jetty:run, using the
Getting-Started
guide http://maven.apache.org/archiva/guides/getting-started/index.html
When I pointed my browser to localhost:9091 I got a severe error.
2006-11-14 10:20:28,866 [btpool0-2] INFO
EnvironmentCheck:required-roles
Greetings,
I am attempting to use maven on a project and it appears to be having
problems retrieving a plugin before it even tries to handle the project's
pom.xml.
From the console output below, the problem seems to be with a version of
maven-dependency-plugin that is not available. The
Good morning-
I'm trying to figure out the best way to
use AspectJ with both Eclipse and Maven 2.
Problem 1:
I have the Codehaus plugin installed and
working. But the eclipse:eclipse target
does not configure the project as AspectJ.
Does anyone know if this feature is being
considered? If it is
I recently asked the question below, but no answer.
I was wondering whether I really need to edit all pom.xml files in all
my project whenever I bump version numbers.
I'm still new at this, so if this is a trivial question, please bear
with me...
--
cg
Christian Goetze wrote:
Why can't I
Hi folks,
We have a J2EE application project (ear) which contains one Web project
(war), one EJB project and one utilities java project.
The war and EJB jar projects depends from the same utilities project.
We included the WEB, EJB and utilities projects as dependencies into the
ear pom file,
Hi; I am trying to convert our framework over to maven, and am running into
a bit of a snag. When trying run the tests, I get a class not found for
org.hibernate.cache.EhCacheProvider; but when running from eclipse (using
the eclipse maven plugin to setup the libraries) everything works fine.
I
What I do is put the utility jar in my dependency for the war as compile.
Then I put an exclude in the pom for the war that tells it to leave out the
jar and not put it into the war. The classloader for your application server
should cause the war to have access to the jar since it is in the ejb
This does not work.
If you think about it you can see why.
You would define 'sensage-version' in the parent pom and use it in all the
children. The problem is that as it is parsing the child pom, maven has to
find the parent. To do that, it looks in the parent section and has to use
the value
This has been discussed before. You can find it in nabble, I think.
The issue has to do with spring wanting one version of hibernate and
hibernate wanting a version of ehcache and the versions conflict with each
other. In my case, using Quartz which wanted another version of ehcache, it
would
Hi,
we are using a library called ICC for our projects. The library is built from
SVN on our server once per night and stored as icc-1.0-SNAPSHOT on the
server. We have added the server to our remote repositories via settings.xml.
Also, since ICC is still in heavy development, every developer
Hi,
I'm using M1 so can't comment direclty on M2 stuff, but thought I'd
chip in with some thoughts on source file placement.
I've tried a few different approaches and have settled on putting the
aspects in with the java source as I view them as java-like if not
strict java (after all AJDT lets
Dmystery wrote:
I've a multi-module project for which i'm generating a site.
I'm doing a mvn site:stage -DstagingDirectory=somedirectory. This works fine
and the modules are linked properly too. However, the Java doc generated are
not copied to the staging directory. Only the index.html is
Hi,
Just out of interest: another quick comment about code coverage etc, I was
having a problem with the findbugs and cobertura plugins where it'd fail
with out of memory problems.
It seems this was caused becuase I had the java:compile pre-goal calling the
aspectj:init (as suggested on the
Lee Meador wrote:
This does not work.
If you think about it you can see why.
You would define 'sensage-version' in the parent pom and use it in all
the
children. The problem is that as it is parsing the child pom, maven
has to
find the parent. To do that, it looks in the parent section and
in your project or user settings you define the property
maven.repo.local=c:/somewherelese
http://maven.apache.org/maven-1.x/reference/properties.html
Arnaud
On 11/14/06, Neeraj Bisht [EMAIL PROTECTED] wrote:
hi
we are using GWT ,and we build our GWT project with maven 1.x ,now
google
Is it possible to run Maven 2 reports, like pmd, for example, outside of
the site generation phase? For example, if I want to create a report
without associating it with any site, can I do this? If so, how can I
do this? Thanks.
This message (including any attachments) contains confidential
Is it possible to execute a deploy operation without doing an install?
This is when, for example, the application is already installed, and I
just want to call deploy. Thanks.
This message (including any attachments) contains confidential information
intended for a specific individual and
Dear Wayne,
Thanks very much!
a cup of Java, cheers!
Sha Jiang
Wayne Fay wrote:
You can use the Geronimo-provided J2EE jars for now, while waiting for
the Sun JavaEE jars to be published under an open source license etc:
http://www.ibiblio.org/pub/packages/maven2/geronimo-spec/
Ok; that almost makes sense; what, other than 'Quartz' should I search
nabble for? I cant find anything relevent.
Answers to any of the following questions would also be appreciated:
How do i find out which of the dependencies is requesting the bogus
version? The only thing 'maven site' shows
On Tue, Nov 14, 2006 at 03:28:31PM -0600, Morgovsky, Alexander (US - Glen
Mills) spake thus:
Is it possible to run Maven 2 reports, like pmd, for example, outside of
the site generation phase? For example, if I want to create a report
without associating it with any site, can I do this? If
I posted this message earlier and didnt get any replies. Anyone know the answer:) Thanks.
Enrique
Enrique Gaona/Austin/[EMAIL PROTECTED]
Enrique Gaona/Austin/[EMAIL PROTECTED]
11/14/2006 01:33 PM
Please respond to
Maven Users List users@maven.apache.org
To
thank it works
On 11/15/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
in your project or user settings you define the property
maven.repo.local=c:/somewherelese
http://maven.apache.org/maven-1.x/reference/properties.html
Arnaud
On 11/14/06, Neeraj Bisht [EMAIL PROTECTED] wrote:
hi
I dont think it adresses the issue here. I changed it to the lastest plugin
though :)
dennisl-2 wrote:
Dmystery wrote:
I've a multi-module project for which i'm generating a site.
I'm doing a mvn site:stage -DstagingDirectory=somedirectory. This works
fine
and the modules are linked
Hi Dan,
I've finally been able to tinker a little more and got the build
section settings correct (I think) that you've mentioned on the
website, but the plugin isn't downloading and I'm not finding it in
the subversion repository, unless I'm looking in the wrong place. Any
pointers you might
Jim, A snapshot has been deployed to
http://snapshots.repository.codehaus.org
It is best to build from source
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/visibroker-maven-plugin/
-D
On 11/14/06, Jim Bethancourt [EMAIL PROTECTED] wrote:
Hi Dan,
I've finally been able to tinker a
mvn deploy:deploy-file
Wayne
On 11/14/06, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
Is it possible to execute a deploy operation without doing an install?
This is when, for example, the application is already installed, and I
just want to call deploy. Thanks.
This
Run mvn -X and then grep the output for ehcache... You'll probably see
a different version getting pulled in by another dependency
somewhere...
Wayne
On 11/14/06, Trevor Torrez [EMAIL PROTECTED] wrote:
Ok; that almost makes sense; what, other than 'Quartz' should I search
nabble for? I cant
Incorrect, Lee M. responded to you earlier...
-- Forwarded message --
From: Lee Meador [EMAIL PROTECTED]
Date: Nov 14, 2006 3:17 PM
Subject: Re: Maven dependency question
To: Maven Users List users@maven.apache.org
What I do is put the utility jar in my dependency for the war
Hi guys
Anyone with an idea what I could perhaps investigate?
--
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
-
To unsubscribe, e-mail: [EMAIL
Hi,
in order to fix some bugs in the javacc plugins JTBMojo, I wrote a
little integration test, based on the maven-plugin-testing-harness.
However, I am unable to get it running, because I always receive the
following error message:
[ERROR] Nonexistent component:
Does anyone have any experience with using the surefire report is a large
project (like 1000s of unit tests)? I can imagine that the single-page
format of the report would be a problem - hard to read, long time to load in
browser.
Also, I noticed a problem with the surefire report contents. It
Chris H sent an email to the list on a similar topic recently that
might be helpful to you:
From: Chris Hilton [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Subject: RE: replace surefire with ant task
Date: Fri, 3 Nov 2006 11:24:30 -0600
Wayne
On 11/15/06, Dave Syer [EMAIL
You can try setting the debug flags and stepping through the
maven-clover-plugin code in Eclipse/Netbeans while its executing...
Wayne
On 11/15/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Hi guys
Anyone with an idea what I could perhaps investigate?
--
Jeff Mutonho
Cape Town
South Africa
Jeff,
I'll try to have a look at it today (no guarantees though). What you could
investigate is to read the code and fix what's wrong! :-)
I gave it a cursory look and couldn't find anything especially as several
users are using the exclude mechanism and it seems to work fine for them
(except
Wayne Fay wrote:
Chris H sent an email to the list on a similar topic recently that
might be helpful to you:
Thanks, I saw that. I might even use it (if I can get it to work - I
haven't so far). I was also looking for general comments on surefire
reports. What are they supposed to
On 11/15/06, Vincent Massol [EMAIL PROTECTED] wrote:
I'll try to have a look at it today (no guarantees though). What you could
investigate is to read the code and fix what's wrong! :-)
Lol...Of course... I forgot I should just leap in and submit a patch
:^) .Seriously though, will take a
82 matches
Mail list logo