Ok, I started from scratch
uninstalled Tomcat and reinstalled the latest Tomcat 5.5.17 with
the Windows Installer, then I installed Tomcat Admin in the same
directory. The Install directory is the default proposed by the
Installer (C:\Program Files\Apache Software Foundation\Tomcat5.5)
after
Quite honestly - it beats me. I've never seen Tomcat render a JSP as
text. Something weird is going on there - I can't see how this could
be related to Archiva.
If I get an opportunity I'll try it with Tomcat again.
On 26/09/2006, at 4:15 PM, Mohni, Daniel wrote:
Ok, I started from
Hi Michael,
This is a known issue that I've fixed in v2.3 of the Clover plugin (see
http://jira.codehaus.org/browse/MCLOVER-51).
Thanks
-Vincent
-Original Message-
From: Michael Waluk [mailto:[EMAIL PROTECTED]
Sent: lundi 25 septembre 2006 17:36
To: users@maven.apache.org
Subject:
Hi Martin,
-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]
Sent: lundi 25 septembre 2006 20:34
To: Maven Users List
Subject: Re: Clover fails during compile, but project compiles normally
Don't install and clover at the same time..
I think it should work
I allready had it in the previous message, but posting it again for those who
failed to see it
My settings.xml:
---
server
idinhouse/id
usernamemaven/username
passwordmaven/password
Can you try with an extracted archiva war instead of the war. Archiva create some files/directory
under archiva directory, so it's maybe the pb.
Emmanuel
Mohni, Daniel a écrit :
Ok, I started from scratch
uninstalled Tomcat and reinstalled the latest Tomcat 5.5.17 with
the Windows Installer,
_
From: Patrick Charbonnier [mailto:[EMAIL PROTECTED]
Sent: lundi 25 septembre 2006 18:19
To: [EMAIL PROTECTED]
Subject: Clover + Cargo + Maven2 +Jboss
Hi,
sorry to contact you directly but i didnt find a user mailiing list for
maven-clover-plugin
It is the Maven list.
I think what he ment was where is the file located.
Under maven/conf/ or .m2/?
-Ronny
-Opprinnelig melding-
Fra: Ravinder Singh [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 08:46
Til: Maven Users List
Emne: SV: SV: deploy with scp
I allready had it in the previous message, but
My question was where is it?
is it under ${user.home}/.m2 or ${m2.home}/conf/settings.xml?
Continuum doesn't read ${m2.home}/conf/settings.xml.
Emmanuel
Ravinder Singh a écrit :
I allready had it in the previous message, but posting it again for those who
failed to see it
My
Emmanuel, what we did was to check in maven as a tool into SVN together with
the project. Each user has to configure M2_HOME, and the advantage with this
setup is a common settings.xml for every user. Very Team Colloboration friendly
:-)
-Ronny
-Opprinnelig melding-
Fra: Emmanuel
We should correct that, if it is the case. I thought this was only
during testing and didn't affect the executing WAR.
On 26/09/2006, at 4:54 PM, Emmanuel Venisse wrote:
Can you try with an extracted archiva war instead of the war.
Archiva create some files/directory under archiva
Mine is, Ravinders not.
I had to copy my settings.xml to Maven in $PATH.
-Ronny
-Opprinnelig melding-
Fra: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 09:23
Til: Maven Users List
Emne: Re: SV: SV: SV: deploy with scp
So your settings.xml is under
So your settings.xml is under M2_HOME/conf
Are you sure mvn used by continuum is the one defined in your M2_HOME? Continuum use maven defined
in $PATH, so you should check $M2_HOME/bin is added to $PATH
Emmanuel
Naess, Ronny a écrit :
Emmanuel, what we did was to check in maven as a tool
Ravinder Singh a écrit :
It is currently under ${user.home}/.m2/settings.xml
Is it the user.home directory of the user that run Continuum?
By running manually: mvn deploy fails too, and asks for password.
You can run 'mvn help:effective-pom' and 'mvn help:effective-settings' so you'll
Hmm, got around to think. My setup only works for my team. Continuum is
supposed to work (i guess) for any project and any team. I realise and remember
I ran into exactly the problem you addressed Emmanuel. How is continuum
supposed to handle this. How I see, it do not handle different
Not in 5.5, I think it uses the eclipse compiler. Can't hurt to try
though. I assume you use JDK 5.0?
- Brett
On 26/09/2006, at 5:30 PM, Emmanuel Venisse wrote:
You need a jdk for compiling JSPs
Emmanuel
Mohni, Daniel a écrit :
still the same problem, I'will now try with Tomcat 5.0.28...
still the same problem, I'will now try with Tomcat 5.0.28...
can it be a problem if in tomcat5.5 I use the jre to run Tomcat
instead of the jdk ?
Daniel
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 8:54 AM
To:
I couldn't get it to work with Tomcat 5.0.28 and the jdk 1.5_08
I'll go back to Tomcat 5.5 and jre 1.5_08 and make a manual install,
strange thing that the same setup was working with an old build...
Strange things happens... i'll keep trying to finding the problem
Daniel
-Original
Hi
I am trying to use username and password properties defined in
.m2/settings.xml to complete the server templates in
mavenHome/conf/settings.xml as described in Better Builds with Maven in
chapter 7.
I had no luck so far... the WebDAV Wagon sends the name of the variables to
the server instead
I tried using help:effective-pom and effective-settings, and it shows the
correct pom and the correct settings.xml. However it still asks for password. I
tried to copy the settings.xml to mavens bin directory (which is in %path%),
but same result.
-Opprinnelig melding-
Fra: Emmanuel
Output with mvn -X (only the endpart):
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from inhouse_snapshot
[DEBUG] adding permissions to wagon connection: 664 775
Password: :
It seems that it sets the permissions correctly from the settings.xml (if I
change the permissions it
If you get authentication failure, it's normal to have the password prompt.
You can perhaps try with the latest wagon jars (1.0-beta-1)
Emmanuel
Ravinder Singh a écrit :
Maven is 2.0.4, deploy is 2.2.1 and wagon-provider-api:jar:1.0-alpha-5
Tried using -B also, but says:
[INFO] Error
What is your maven, wagon provider and deploy plugin versions?
Emmanuel
Ravinder Singh a écrit :
Output with mvn -X (only the endpart):
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from inhouse_snapshot
[DEBUG] adding permissions to wagon connection: 664 775
Password: :
It
You need a jdk for compiling JSPs
Emmanuel
Mohni, Daniel a écrit :
still the same problem, I'will now try with Tomcat 5.0.28...
can it be a problem if in tomcat5.5 I use the jre to run Tomcat
instead of the jdk ?
Daniel
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL
How do I make it get the latest?
-Opprinnelig melding-
Fra: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 11:17
Til: Maven Users List
Emne: Re: SV: SV: SV: SV: SV: deploy with scp
If you get authentication failure, it's normal to have the password prompt.
You
Replace jars in maven lib directory
Ravinder Singh a écrit :
How do I make it get the latest?
-Opprinnelig melding-
Fra: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 11:17
Til: Maven Users List
Emne: Re: SV: SV: SV: SV: SV: deploy with scp
If you get
Hi,
I would like to create a miror of the maven2 central repository.
In the Better Build with Maven book, we have :
* Use rsync to take a copy of the central repository and regularly update
it
But I don't know how to do it : which remote host can I use with which
protocol (ftp ?).
Could you
It is currently under ${user.home}/.m2/settings.xml
By running manually: mvn deploy fails too, and asks for password.
-Opprinnelig melding-
Fra: Naess, Ronny [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 09:01
Til: Maven Users List
Emne: SV: SV: SV: deploy with scp
Emmanuel,
Any reason not to bump up the version of TestNG to the latest in the
docs? (i.e. 4.7-5.1)
-Stephen
On 9/26/06, franz see [EMAIL PROTECTED] wrote:
Davy Toch wrote:
Hi,
I was just wondering whether TestNG support in M2 is already
stable and can be used as a viable replacement of JUnit?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Remy,
Try
rsync -rlHtSv [EMAIL PROTECTED]::maven2 /var/www/maven2
where /var/www/maven2 is the location where you want to put the files.
You would then have to make the location available over HTTP.
Cheers,
Johan
Rémy Sanlaville wrote:
Hi,
Is it posible to set up java version for all maven plugins, that used in
project, in one place?
And forget about it? ))
--
View this message in context:
http://www.nabble.com/java-version-for-all-plugins-tf2337491.html#a6504075
Sent from the Maven - Users mailing list archive at Nabble.com.
I have downloaded beta-1 for both wagon-ssh and wagon-provider-api. But the
problem is still there...
-Opprinnelig melding-
Fra: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 11:35
Til: Maven Users List
Emne: Re: SV: SV: SV: SV: SV: SV: deploy with scp
Replace
You can difine it in your .cvsrc file and configure maven-scm to use it :
http://maven.apache.org/scm/cvs.html
Emmanuel
Andrei Savitski a écrit :
Hello,
From log I see, that during checkout continuum run command cvs -z3 -f
-d ${server} -q checkout -d ${id} ${project_id}
I whant to modify
Maven is 2.0.4, deploy is 2.2.1 and wagon-provider-api:jar:1.0-alpha-5
Tried using -B also, but says:
[INFO] Error deploying artifact: Authentication failed: Cannot connect. Reason:
Auth fail
-Opprinnelig melding-
Fra: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sendt: 26. september
My experience is that the only way to use TestNG is to specify a
suiteXml file and do all your configuration there. The rest of the
TestNG support does not work as documented. While you won't have to
wait for Maven 2.0.5 necessarily, you will have to wait for another
surefire-plugin release (at
Yes, that's a known issue with the current development mechanism with
the war overlaying. It won't affect releases, but can be a bit of a
pain. It shouldn't be the cause of your problems either though, as
you've noticed :(
On 26/09/2006, at 7:38 PM, Mohni, Daniel wrote:
Ok, I found some
Hi Ronny,
here i have enclosed my parent pom.xml and one submodules pom.xml. please
check once what's the wrong in these xml's.
According to you suggestion i have done mvn help:effective-pom also. what
ever mvn help created pom's also throwing distribution Management exception.
Parent
Hi there,
I think you can control your plugin versions through the use of the
following file:
.m2/plugin-registry.xml
This file contains entries like the following:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-archetype-plugin/artifactId
Hi all,
I've installed Maven2 in a corporate environment.
From my computer (Windows XP) this installation is accesible with
\\SERVER\MAVEN2
From a command line I setup MAVEN_HOME with this UNC:
set MAVEN_HOME=\\SERVER\MAVEN2
And put it in the PATH
set PATH=%MAVEN_HOME%\bin;%PATH%
When I try
These are meant to be included as [EMAIL PROTECTED] which is like a cut and
paste into the JSP. Maybe someoe tried a ww:include or something
that needs to be corrected. Thanks!
- Brett
On 27/09/2006, at 12:12 AM, Mohni, Daniel wrote:
Hi Brett
after all I now found the cause of my
Tulasi, try to uncomment your maven-site-plugin and run 'mvn site
site-deploy' without it configured in you pom!
-Ronny
-Opprinnelig melding-
Fra: tulasi [mailto:[EMAIL PROTECTED]
Sendt: 26. september 2006 13:13
Til: users@maven.apache.org
Emne: Re: SV: SV: SV: SV: SV: maven site not
Hi Johan,
Try
rsync -rlHtSv [EMAIL PROTECTED]::maven2 /var/www/maven2
where /var/www/maven2 is the location where you want to put the files.
You would then have to make the location available over HTTP.
I am trying this command but I have some trouble with the corporate security
and proxy.
I always lock down the plugin versions in my parent project's
pluginManagement.
That way all childprojects inherit those version and it is shared to the
other people of my team. If you do in it your home dir, it's not
shared with your team (but it is shared for all your projects).
alexsun
Hi,
i'm trying to use some assembly descriptor.xml files to generate some jar
files (with, without dependencies, ...).
My problem is:
that i would like to use the same descriptors for all of my child-projects.
Currently all of my poms are derived from a parent-pom.
i would love, if i could
hi all
i am using the multiroject and each project is dependent on each
other while runing the multiproject goal the build started in shorted oder
,but in maven site i come to know that thr build will take place on the
bases of dependency but in my case it is not working
can any one
I have created a Dashboard report plugin for Maven2.
My problem is : How to configure my plugin to generate the dashboard report
only after all reports have been generated.
In my DashBoardReportMojo which extends AbstractMavenReport, i put this mojo
metadata as class-level annotation :
@phase
So you have a pom.xml file that represents your company/organisation.
Within this file you define the plugin versions.
Then do you make this the parent to all of your projects?
Trent
On 26/09/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:
I always lock down the plugin versions in my parent
Hi Brett
after all I now found the cause of my problems :-)
as you mentioned before, parts of the jsps are rendered
as text. after looking in the source of createAdmin.jsp
I found the culprit
the includes inside the pages are .jspf files, now tomcat
will by default only process *.jsp and
Hello,
From log I see, that during checkout continuum run command cvs -z3 -f
-d ${server} -q checkout -d ${id} ${project_id}
I whant to modify this command, and add -P argument to checkout
command. How to do this?
Regards,
Andrei
Ok, I found some strange things
when I look at the libs in WEB_INF/lib there are some duplicated
SNAPSHOT jars, this may create some problems...
the following jars are present in 2 different versions
plexus-security-authentication-api-1.0-20060920.052713-16.jar
We actually have a need for this plugin but havn't seen able to get it
to work yet (we also haven't tried to hard).
We did notice that unless you are vary familier with your tool-chain
it can be difficult to to set up and work properly (which is the case
here).
A bit more documentation and some
Take a look at the buildable examples, they practice most of scenarios.
I also have put more docs and examples at the site.
-Dan
On 9/26/06, Brill Pappin [EMAIL PROTECTED] wrote:
We actually have a need for this plugin but havn't seen able to get it
to work yet (we also haven't tried to
Hi, I would like to hear what the best practice is surrounding the
check out, build, and deploy process for a Maven 2 project. I currently
have a pom type parent pom.xml which defines the modules to be built,
and all the modules refer to this parent. However, I also have another
pom.xml whose
Guys, a few days ago I've posted this message without getting any answer.
I'd like to know if the idea of avoiding recompilation of test files makes
sense, it's possible, it should be a feature request, or I'm completely off.
Thanks
MM
-- Forwarded message --
From: Manlio
you dont need to extra pom. Try the scm:bootstrap goal
mvn scm:bootstrap -DconnectionUrl=your-top-parent
It can be run from any where with out hte need for an existing pom
It pulls your source and execute the build from top.
-D
On 9/26/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL
Vincent Massol wrote:
Hi Martin,
-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]
Sent: lundi 25 septembre 2006 20:34
To: Maven Users List
Subject: Re: Clover fails during compile, but project compiles normally
Don't install and clover at the same time..
I
I have a project that generates a war file, the j2ee jar is inheritented
as a transitive dependency, however if the j2ee jar is included, then
tomcat prints a warning but websphere refuses to deploy.
Is there anyway to tell the war plugin not to include this lib? I know
I could mark the
Hi,
This is the set of remaining build-related tasks that Ken and I came up
with:
* Set up functional testing framework using FIT/FitNesse (and
possibly Selenium)
* Confirm that the Continuum web services command-line client is
no longer needed - it's 95% likely that we don't need it
The thing is that I don't want to generate new builds during
development, overwriting the current snapshot is preferred. But when
processing a project which will be publicly available, I want to be
able to identify it (even a snapshot) with an incremented build number,
but without having to manage
Hi,
I am getting the following continuum error when
deleting a project. I am on continuum 1.0.3.
thanks
--Prashanth
ognl.MethodFailedException: Method removeProject
failed for object
[EMAIL PROTECTED]
[javax.jdo.JDODataStoreException: Iteration request
failed : SELECT
Hi,
I am getting the following continuum error when
deleting a project. I am on continuum 1.0.3.
thanks
--Prashanth
ognl.MethodFailedException: Method removeProject
failed for object
[EMAIL PROTECTED]
[javax.jdo.JDODataStoreException: Iteration request
failed : SELECT
opps, my bad. This was for continuum user list.
--- Prashanth Krishnamurthy [EMAIL PROTECTED]
wrote:
Hi,
I am getting the following continuum error when
deleting a project. I am on continuum 1.0.3.
thanks
--Prashanth
ognl.MethodFailedException: Method removeProject
failed for
opps, my bad. This was for continuum user list.
--- Prashanth Krishnamurthy [EMAIL PROTECTED]
wrote:
Hi,
I am getting the following continuum error when
deleting a project. I am on continuum 1.0.3.
thanks
--Prashanth
ognl.MethodFailedException: Method removeProject
failed for
I have a scenario where a test class from one child module depends on
a test class from another child module, say ModuleA and ModuleB.
After some searching, I discovered this:
http://maven.apache.org/guides/mini/guide-attached-tests.html
But for ModuleB to even compile its tests, it needs the
Hi,
I have the following M2 2.0.4 project containing the following 3 files:
A. $PROJECT_ROOT/src/test/java/testgroup/AppTest.java :
package testgroup;
public class AppTest
{
/**
* @testng.test
*/
public void doSomething()
{
System.out.println(doSomething() called);
}
}
B.
When releasing an artifact, during release:prepare, I get to this point:
...
[INFO] Executing preparation goals 'clean integration-test'...
[INFO] Executing: mvn clean integration-test --no-plugin-updates -P
deploy-config,deploy-config
[INFO] Scanning for projects...
...
Is there a
Thanks Kaare it did the trick...
I don't understand why ${plugin} is not instantiated
Annyway it works
Thanks Again
Yann.
Kaare Nilsen wrote:
this should do the trick
code
/**
* @parameter expression=${plugin.artifacts}
* @required
*/
private List pluginArtifacts;
/code
Is there some easy way to do something like ${project.classpath} and
have that passed along to my plugin?
We have a special profile for releasing that sets some extra variables.
-Original Message-
From: Julian Wood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 3:00 PM
To: Maven Users List
Subject: Release question
When releasing an artifact, during release:prepare, I get to
I've got the strangest behavior that I can't diagnose. I'm using the
assembly plugin and I have a descriptor which includes a particular file via
filesfilesource etc. No matter what I try, it always ends up in the
final assembly as an empty file. It doesn't matter wether I'm using
filtering,
Hi. Maven newbie here.
We are starting a new project with Maven2, Struts, Hibernate, and
Spring. I would like to test Struts with a test framework such as
StrutsTestCase. I would like to use the MockStrutsTestCase so that I
don't need a running container.
mvn gives a failing test and the
I've only tried the JDK15 version with annotations, so I don't know
the status of the javadoc-based runner...
-Stephen
On 9/26/06, Davy Toch [EMAIL PROTECTED] wrote:
Hi,
I have the following M2 2.0.4 project containing the following 3 files:
A.
if i remember correctly from maven 1.* days you should chain the goals using
prereqs attribute rather than attainGoal tag.
in your case:
goal name=custom-test prereqs=create-env custom-test-1 custom-test-2
/goal
will execute each goal only once.
/iulian
On 9/22/06, Manlio Malaidini [EMAIL
Hi Ryan,
Did you mean to send this to Continuum-Users? I think not...
Wayne
On 9/26/06, Ryan Slobojan [EMAIL PROTECTED] wrote:
Hi,
I've come up with a sequence that we can use for exporting data and
structure separately from a MySQL database, and importing the same data
and structure into a
Another mis-send, Ryan? ;-)
Wayne
On 9/26/06, Ryan Slobojan [EMAIL PROTECTED] wrote:
Hi,
This is the set of remaining build-related tasks that Ken and I came up
with:
* Set up functional testing framework using FIT/FitNesse (and
possibly Selenium)
* Confirm that the Continuum web
Anyone:
Was this question (below) ever addressed? It didn't appear so.
I looked at the source at
http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/maven-native/maven-native-api/src/main/java/org/codehaus/mojo/natives/NativeSources.java?r=435
and noted the method
public static File []
Hi,
How incredibly embarassing - we have an internal alias, also called
continuum-users. I blame Outlook and it's tenacity in hiding the email
address you're actually sending email to from the end user.
Thanks, and sorry for the mix-up.
Ryan Slobojan
-Original Message-
From: Wayne Fay
Not a problem... but I think you might want to rename that internal
list, to avoid future troubles. ;-)
Wayne
On 9/26/06, Ryan Slobojan [EMAIL PROTECTED] wrote:
Hi,
How incredibly embarassing - we have an internal alias, also called
continuum-users. I blame Outlook and it's tenacity in hiding
Hi Wayne,
I think we might just take you up on that suggestion! :)
Thanks,
Ryan Slobojan
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 3:33 PM
To: continuum-users@maven.apache.org
Subject: Re: List of remaining build-related tasks
Not
The current alpha-2-SNAPSHOT optimitizes the linker command using relative
paths.
Please try it out.
Please file a JIRA for wildcard support.
-Dan
On 7/31/06, J. Matthew Pryor [EMAIL PROTECTED] wrote:
does the native plugin always want files specified individually?
AFAICT I have to do
configuration
sources
source/ !-- maps to *org.codehaus.mojo.natives.*NativeSources --
source/
On 9/26/06, Brad Harper [EMAIL PROTECTED] wrote:
Anyone:
Was this question (below) ever addressed? It didn't appear so.
I looked at the source at
Hi all,
I ran into something funny. I created a very simple Ant build:
build.xml:
project
echoproperties/
echo${user.home}/echo
/project
Running 'ant' yields lots of properties and it prints my home
directory, as expected.
Buildfile: build.xml
[echoproperties] #Ant properties
zarar wrote:
Yup, you can use these classpaths:
* maven.dependency.classpath
* maven.compile.classpath
* maven.runtime.classpath
* maven.test.classpath
* maven.plugin.classpath
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Zarar
On
You can use an exclude on the dependency which is bringing in the j2ee
jar instead, assuming you know which dep to attach the exclusion to.
Otherwise the provided approach is probably best/easiest.
Wayne
On 9/26/06, Douglas Ferguson [EMAIL PROTECTED] wrote:
I have a project that generates a
Douglas Ferguson wrote:
I have a project that generates a war file, the j2ee jar is inheritented
as a transitive dependency, however if the j2ee jar is included, then
tomcat prints a warning but websphere refuses to deploy.
Is there anyway to tell the war plugin not to include this
Davy Toch wrote:
Hi,
I have the following M2 2.0.4 project containing the following 3 files:
A. $PROJECT_ROOT/src/test/java/testgroup/AppTest.java :
package testgroup;
public class AppTest
{
/**
* @testng.test
*/
public void doSomething()
{
Hi,
I am using Maven 2.X with Eclipse, how do I specify the name of the War
it has to generate? This is how my pom.xml looks like
?xml version=1.0 encoding=UTF-8?project
modelVersion4.0.0/modelVersion
groupIdcom.po/groupId
artifactIdStrutsDemo/artifactId
packagingwar/packaging
87 matches
Mail list logo