Nice :-)
Thanks for the info, maybe we could include this in the docs.
-Deng
MATHUS Baptiste wrote:
Hi,
For the record, yesterday I found the solution using the IBM JDK.
It ends up being kind of a Security exception. In fact, it was because the
IBM JDK is configured by default to the most
Hi!
My subversion repo has the following structure:
root/lib/lib1
root/lib/lib2
root/lib/libX
root/clients/clientA
root/clients/clientB
root/clients/clientX
root/server/module1
root/server/module2
root/server/module3
I want to have each folder in root to correspond to a separate
projectGroup i
I know, but I cannot change the real world, this is how it gets supplied
to me, I can probably over time get them (those that create it) to
change it for me, but not now..
Wayne Fay skrev:
Different files (contents) with the same name is just a recipe for disaster.
Wayne
On 11/13/07,
On Tue, 2007-11-13 at 22:41 -0600, Wayne Fay wrote:
I would assume the code/config would be somewhere under:
http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/
Or possibly:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/
I would
It's going to be in 2.0-beta-6, see
http://jira.codehaus.org/browse/MSITE-223
Note however that only .vm files get filtered.
HTH,
-Lukas
Marat Radchenko wrote:
Hi, Mattux!
Could you tell me, what version of maven-site-plugin (or doxia or
whatever) supports velocity expressions in APT
Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from
the pom in your apt files (eg ${project.artifactId}) you need to rename your
.apt to .vm.
I hope that could help you, dont hesitate if you need more informations
Marat Radchenko-2 wrote:
Hi, Mattux!
Could you
Hi,
I would like to produce an assembly :
What I would like to do, is to filtering file1.properties with different
filters and produce for each filter a new filetered file.
Here is the assembly files structures i'm looking for
/
|
|--bin/artifact.war
|
|--env1
||-- file1.properties
On Wed, 2007-11-14 at 00:11 +0100, Erik Drolshammer wrote:
I can't get the suiteXmlFile configuration option to work properly.
Can anyone point me to a testng.xml file that runs the same set of tests
as are run without any config? (Or any working testng.xml file that is
not completely
Hi, by default maven seems to store all the old versions of the
snapshots in the local repository, like this:
Server-20070928.105107-155.pom
Server-20070928.105107-155.war
Server-20071114.083015-684.pom
Server-20071114.083015-684.war
Server-SNAPSHOT.pom
Server-SNAPSHOT.war
Is there a way to
Hi,
For the record, yesterday I found the solution using the IBM JDK.
It ends up being kind of a Security exception. In fact, it was because the
IBM JDK is configured by default to the most restrictive cryptographic
environment when using the JCE (Java Cryptography Extension) jar.
I had to
Thanks for the reply.
I think I didn't quite express myself before though...
We are using profiles already, to generate builds for different platforms.
What I am talking about is structuring the project so that
someone needing to
1. get the project, either the whole source tree or binaries
2.
Hi Christian,
If you want to depend on another artifact you must define the artifact in
the depencencies section in the pom of the project that needs the dependecy,
not its parent. You can have a dependency management section in a project's
parent pom where you declare the version number, so
anyone, this completely stops me from going to maven 2
Christian Andersson skrev:
OK, I have successfully created a pom.xm (with a parent pom.xml) and
built my first maven2 project (minus some stuff described in earlier mails)
but when I tried to create my second maven2 project that depends
I have defined it in my second project, otherwise it would not had tried
to load it. since the only plac eI have it in the parent project is in
the dependencymanegment so that I get the same version number for all my
projects..
my problem seems to be that maven has created a jar file for my first
Are you using maven? Can't you just create all those groups and projects?
On Nov 14, 2007 10:03 AM, Erik Drolshammer [EMAIL PROTECTED] wrote:
Hi!
My subversion repo has the following structure:
root/lib/lib1
root/lib/lib2
root/lib/libX
root/clients/clientA
root/clients/clientB
Thanks
2007/11/14, Mattux [EMAIL PROTECTED]:
Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from
the pom in your apt files (eg ${project.artifactId}) you need to rename your
.apt to .vm.
I hope that could help you, dont hesitate if you need more informations
Marat
On Wed, 2007-11-14 at 11:28 +0100, Francis De Brabandere wrote:
Are you using maven? Can't you just create all those groups and projects?
Yes, (of course) I'm using maven. And yes I can do it manually (as I do
now), but I wanted to check if this convenience feature was already
supported.
You can do a jar containing all dependencies with the following descriptor.
However - the excludes doesn't work properly in the assembly plugin, so if
you have dependencies that are signed, you'll have to fix them afterwards
annoyingly.
You can also pack jars into the /lib and use something like
Hi !
This is my first partecipation at this mailing listand obviously
with a very simple question.
I need to add a postgres jdbc dependency to maven.
Googling I found these lines to add to pom.xml:
dependency
groupIdpostgresql/groupId
artifactIdpostgresql/artifactId
I'm no continuum dev so you'll have to wait for an answer from
somebody else or just make the request
Regards
On Nov 14, 2007 11:39 AM, Erik Drolshammer [EMAIL PROTECTED] wrote:
On Wed, 2007-11-14 at 11:28 +0100, Francis De Brabandere wrote:
Are you using maven? Can't you just create all
On 14/11/2007, Christian Andersson [EMAIL PROTECTED] wrote:
I have defined it in my second project, otherwise it would not had tried
to load it. since the only plac eI have it in the parent project is in
the dependencymanegment so that I get the same version number for all my
projects..
my
Hi
We are using maven-assembly-plug-in for creating the release package.In
the descriptor file of the assembly the tag present is fileset.
But with the help of this we can add a group of files inside the folder
but not the folder itself that contains files as well as subfolders
also.
So could
Hello,
Is there any maven plugin to generate a google sitemap.xml for the project
site ?
In particular, any support for the google code search extension (
http://www.google.com/support/webmasters/bin/answer.py?answer=75224ctx=sibling
)
Nico.
Thank you that was the problem, I had a written multiline description
tag in the pom.xml for the first project.
the best would be if either maven2 complained about this when creating
my first project OR convert illegal characters to something legal.
Stuart McCulloch skrev:
On 14/11/2007,
I think that the following link can help you:
http://maven.apache.org/guides/getting-started/index.html#How_do_I_use_external_dependencies
Giancarlo
2007/11/14, Nicola Benaglia [EMAIL PROTECTED]:
Hi !
This is my first partecipation at this mailing listand obviously
with a very simple
I found that it's a great pity to have to make a ssh connection with a ssh
client in order to store the server key in your account before launching
maven 2.
Isn't it possible to ask if you accept/trust or not the server key during
the maven 2 command ?
It would be a great improvement and really
I am interested in using Gridgain's new distributed JUnit functionality
in my existing Maven projects.
http://www.gridgain.com/product_junits.html. The requirement is that
rather than use JUnit's TestSuite, you use GridGain's
GridJUnit3TestSuite. The rest of the JUnit classes remain unchanged.
Hi Kannan,
I think that you have something like that in your pom.xml:
project
[...]
urlmaven.apache.org/url
[...]
/project
If so, just remove the url node.
Rémy
On 14/11/2007, Christian Andersson [EMAIL PROTECTED] wrote:
Thank you that was the problem, I had a written multiline description
tag in the pom.xml for the first project.
the best would be if either maven2 complained about this when creating
my first project OR convert illegal characters to
[EMAIL PROTECTED],
Hello hello !
Lors de mes prinations ectroniques, ch'suis tombsur ce site, pour se
recommander des films (entre autres). Vu que j'en recommande et m'en fait
recommander tout le temps, et que j'oublie les titres par apr, je me dis que je
vais faire un essai ...
On verra bien
Dear list,
I've seen a number of threads with this subject in the list's archives
yet none helps me resolve my seemingly stupid issue.
I'm using maven 2.0.7:
==
C:\Source\XMLImportmvn -version
Maven version: 2.0.7
Java version: 1.6.0_03
OS name: windows xp
Is there a way to make a child POM inherit the parent's property
settings, but not the parent's dependecies list?
Thanx!
- Steinar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Haven't succeed too
May be i've miss something in maven lifecycle, but i really don't understand
why it's not possible ...
You must attach your execution to a goal (e.g package) but don't know why
...
EJ Ciramella-2 wrote:
Yeah, I've been trying this:
plugin
I am writing an internal plugin for maven 2 for our company. One of the things I need to do is to get access to the dependency
information that is configured in the pom. Is there a way to do that? I have done several web searches but can not come up
with the correct string to get me an
just a question about wrapper.conf
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=3
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=384m
what is that 'm' doing after the 384? is that causing the default
value for maxmem? I think it should be removed, even if only for
Your article is very helpful but I still miss some pieces. Here I've
followed your article word by word (or at least I think I have :P) but
when I run mvn install in my first binary-plugin, I get the following
error:
[INFO]
Hi There,
I'm an absolute noob to webservices, who is currently trying to compile a
webservice annotated class, with the actual jaxws-maven-plugin.
i already lost 3 days, and still didn't find a way to get it running
properly.
to find the error i stepped back, and simply tried to get the wsgen
I removed it even if it doesn't change the execution
Emmanuel
Francis De Brabandere a écrit :
just a question about wrapper.conf
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=3
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=384m
what is that 'm' doing after the 384? is
Hello all,
Is there a way to configure maven2 so that it loads classes from a
dependency that I specify rather than from the JVM? I guess that I need to
configure the class path so that my library is located in front of the
libraries from the JVM.
Cheers
Brian DePradine
Web Services
On 14/11/2007, Brian De Pradine [EMAIL PROTECTED] wrote:
Hello all,
Is there a way to configure maven2 so that it loads classes from a
dependency that I specify rather than from the JVM?
could you explain which classes you'd want to load from a dependency rather
than
the JVM - and also
Has anyone successfully installed maven erlang-plugin and maven
erlang-archetype?
I have checked out the svn version of maven erlang-plugin and maven
erlang-archetype and I am trying to install. When I perform mvn -e
install for both maven erlang packages, I get the the following error
for both
Hi Olivier,
I wonder why ?
Rémy
Hi,
I finally could fix it.
Do you use the embedded pure java cvs client (it is the default) or the
native cvs client?
According to the logs I thought it is allready using the native client, but it
wasn't.
So I modified the wrapper.conf and added
hi everybody, i`using netbeans 5.5.1 with jdk 1.6. App server is embebed
tomcat 5.5.17 and i `m having some troubles when i build the war file. It
seems that WEB-INF/classes dir is not updated!
i´ll try to explain better!
my workspace is C:\trabajo\ws\AFEL\sources, where i have pom.xml,
Is there a way to have a dependency always use the latest available
SNAPSHOT?
Meaning, some of our projects are released quite fast and versions will
increment fast as well:
3.0.1-SNAPSHOT 3.0.2-SNAPSHOT Etc..
Is there a way to declare 3.0.*-SNAPSHOT in the pom so that developers
will always
Not that I'm aware of. You may want to use dependencyManagement
instead of straight dependencies -- then you can control what deps are
needed in your children.
Wayne
On 11/14/07, Steinar Bang [EMAIL PROTECTED] wrote:
Is there a way to make a child POM inherit the parent's property
settings,
In your mojo, you'll need:
* @requiresDependencyResolution
* @requiresProject
And then:
/**
* iMaven Internal/i: Project to interact with.
*
* @parameter expression=${project}
* @required
* @readonly
*/
private MavenProject project;
Then you can navigate
You should probably also post this request on the jaxws plugin
users/dev list. Since there is a lower chance that someone here is
using jaxws and will respond, but a very high chance that someone on
that list is using jaxws.
Wayne
On 11/14/07, CodingPlayer [EMAIL PROTECTED] wrote:
Hi There,
Wayne:
Thanks That should get me started. I'll do some searching and then post back
any resources I find.
Wayne Fay wrote:
In your mojo, you'll need:
* @requiresDependencyResolution
* @requiresProject
And then:
/**
* iMaven Internal/i: Project to interact with.
*
*
Hi
I need to run a java program from maven. For that m gonna use
exec-maven-plugin. But don't know how to use this. Is it possible that
I will create one new project with folder structure
src/main/java/com/sky/Main.java. N then use plugin like this
build
plugins
plugin
I need to be able to trigger a specific profile WITHOUT executing the
default profile AND without having to use the -P command line option.
Ideally I want to trigger it using some setting in a POM file but any
method where the user who is building the code can still type mvn
clean build is fine.
Just provide those parameters to the maven JVM and jetty will use them.
I usually just set the env variable MAVEN_OPTS with:
MAVEN_OPTS=-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
and then just run:
mvn jetty:run
John Coleman wrote:
Hi,
How do I run the jetty
Hi,
How do I run the jetty goal with jetty configured with a debug socket? I
need to pass -Xdebug and other properties to jetty.
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to
exercise control over the content of information in E-Mails. Any
Hello. I would like to add a plugin to clean my deployed site directory
before creating new sites. Is there a phase I could bind this plugin to
for this purpose as a best practice?
This message (including any attachments) contains confidential information
intended for a specific individual
Check the profile-documentation and use the property-activation.
On Wednesday 14 November 2007 18:02, Aaron Zeckoski wrote:
I need to be able to trigger a specific profile WITHOUT executing the
default profile AND without having to use the -P command line option.
Ideally I want to trigger it
Hello, Im currently evaluating CI tools and the time has come to Continuum.
I decided to try the 1.1-beta4 because when the time comes to implement the
CI into our organization Im sure 1.1 has gone final.
I have installed the standalone version of continuum-1.1-beta-4 on windows
2003 server
what version of jaxws-plugin do you use? Try the released version at java.net
also, you must use jaxws-api-2.1.1
-D
On Nov 14, 2007 7:44 AM, Wayne Fay [EMAIL PROTECTED] wrote:
You should probably also post this request on the jaxws plugin
users/dev list. Since there is a lower chance that
http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why%20doesn't%20the%20links%20between%20parent%20and%20child%20modules%20work%20when%20I%20run%20'mvn%20site'?
Kannan Ekanath wrote:
Hi,
Maven 2.0.4
I am trying to use the mvn site target for generating the site. Before
configuring pmd,
Sorry, my mistake yes.
I suddenly realized this was some UTF-8 related problem because of the
'\xEF\xBF\xBD' string.
I always use the string
jdbc:mysql://localhost:3306/continuum?useUnicode=trueamp;characterEncoding=
UTF-8 for some reasons.
I just got rid of the
hi all,
i am trying to port an app from ant to maven , but it looks like i am
having troubles iwth dependencies.
has anyone ever found the error below?
i attach my dependencies at the end of message, hope someone can sort me out
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0,
Hi,
We are having some build stability issues from time to time when
developers remove local repositories. From time to time, maven fails to
download plugin...
Another difficulty we have is control on plugin versions, some plugins
listed in some files and when one would like to change plugin
Take a look at your applicationContext.xml file, apparently you have
an issue with how you've defined your sessionFactory bean (??).
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in class path
resource [applicationContext.xml]:
Hi,
I have been using Continuum 1.1-beta-3 since more than a month now and it
has been running smoothly. But today I attempted to add some more project
groups to it, and it crashed giving me a primary key constraint violation.
Attached is the stacktrace.
I did migrate my data from 1.1-beta3
I think I've found the problem. When the build definition has the 'Build Fresh
(Run always a clean checkout instead of an SCM update)' checked, the scm
doesn't tell properly tell the build that changes have occurred, so it doesn't
continue with the scheduled build. I think this is because a
Ok you can do it in order to test some new features in a plugin.
But IMHO, you must lock the version in the others plugins.
Because your build can not reproductable then you can have some issues in
some plugins due to the current developement.
Personnality, I have this repo only in a dedicated
Hi Oliver,
Thanks for the reply.
No I have not made any change to the SEQUENCE_TABLE. Should that cause this
error ?
Isnt there any other way to correct this error now? Coz I have already
imported data from beta2 to beta3 long time back..And made quite a few
updates after that...
Regards,
Just made the update on projectGroup table value in SEQUENCE_TABLE
Something like :
update SEQUENCE_TABLE set NEXT_VAL = (select max(id) + 10 from projectGroup)
where SEQUENCE_NAME ='org.apache.maven.continuum.model.project.ProjectGroup'
--
Olivier
2007/11/14, Anshula [EMAIL PROTECTED]:
Hi
Yes... I did that. This is not a newbie question (though I wish it
were). The default profile is still running unless I do something like
mvn install -Pkernel
Here are the poms:
Parent: https://source.sakaiproject.org/contrib/caret/kernel/pom.xml
(this sets a property)
Project:
Hi,
Have a look at
http://maven.apache.org/continuum/documentation/1_1/installation/upgrade.htmlsection
Importing Data to the new version.
Have you made the update in SEQUENCE_TABLE ?
--
Olivier
2007/11/14, Anshula [EMAIL PROTECTED]:
Hi,
I have been using Continuum 1.1-beta-3 since more
I have defined 2 project profiles (below) and the goal is to be able
to run in exclusively in devel or release environment (and not both).
However, when i run mvn help:active-profiles, i got the below message.
It should be just release and NOT both (devel and release). What did
you do wrong, is
I have a series of 3 POMs and I need to be able to control versioning
across them. They are arranged like so:
master POM (parent of) base POM (parent of) project POM
There is one master and one base POM but there are many many project
POMs, roughly 50+ currently with new ones being added
The
Is the 2-way parent/module dependency actually the right way to link
children and parent POMs? This is what we currently have:
The parent includes definition of a module (or group of modules) like so:
...
groupIdorg.sakaiproject/groupId
artifactIdbase/artifactId
packagingpom/packaging
...
modules
I'm a Maven newbie trying to incorporate JUnit tests into the build. Some of
our JUnit test classes make use of shared code in helper classes that live
in the test packages. When I run these tests from Eclipse, the helper
classes are found and compiled. However, when a cmd-line Maven build
Hi Aaron,
Do you use release plugin?
The release plugin should increment the version of the parent pom and the
pom itself for you.
If you have dependencies to sibling pom in your dependencies declaration,
I'd use version${project.version}/version to get around the problem
that the release
You need to create a test-jar artifact out of your helper classes
Put this in the pom of your helper classes
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
executions
execution
Hi Everyone,
The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 4.
Archiva is a build artifact repository manager for use with build tools such
as Maven, Continuum and Ant.
It has features like repository search and browse, securing repositories,
identifying unknown
The central repository http://repo1.maven.org/maven2/ appears to be
up, but the ibiblio mirror seems to be down since this morning.
Is the maven team aware of the issue? Is this going to be fixed some
time soon?
--
Kohsuke Kawaguchi
Sun Microsystems [EMAIL PROTECTED]
So, if I understand correctly, the helper classes need to be in a jar. These
classes now live in the same packages as the JUnit tests so should the jar
exclude the actual test classes?
I then presume that the scope tag tells Maven to only look for the new jar
if tests are being run, correct?
Great job!
Brian
On Nov 14, 2007 7:56 PM, Maria Odea Ching [EMAIL PROTECTED] wrote:
Hi Everyone,
The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta
4.
Archiva is a build artifact repository manager for use with build tools such
as Maven, Continuum and Ant.
It
Try changing the dot . in environment.type to an underscore _.
That may do it. Not sure -- I didn't test it. Dots can sometimes cause
issues.
Wayne
On 11/14/07, dev dev [EMAIL PROTECTED] wrote:
I have defined 2 project profiles (below) and the goal is to be able
to run in exclusively in devel
Parent poms with versions set in their pluginManagement section makes
absolute sense. Of course no list is complete, and it needs to be
maintained, but in most cases you are better off using an old version of a
plugin than using an unknown latest version. Here's what I have in one
parent pom:
Yes the helper classes (in src/test/java) needs to be packaged and
installed to the repository so that another maven project can reference.
By default, maven-jar-plugin doesn't jar up class in src/test/java. By
default, all of the classes in src/test/java as well as src/test/resources
will be
fyi, I just hit this issue as well. Thank you Mark for hitting this
before me ;-P
The research you provided save me hours and helped me understand to
close the project for now,
and probably move the dependency to a different workspace until
resolved.
I also voted for it getting resolved.
Dennis,
I had gone through this FAQ already. I gave the url to be mysite and did a
mvn site:stage it generated a site under mysite folder with all the
links correctly in place. But my problem is mvn site:deploy is still
showing as maven.apache.org and I am not sure why mvn site:stage and mvn
I seem to have got it work with some tweakings (Not sure if that was how it
was supposed to be used). I set the property stagingDirectory to be some
folder and then issued a
mvn site:stage-deploy and it generated a site folder with parents and
children linked together.
I am planning to use this
Wayne Fay [EMAIL PROTECTED]:
Not that I'm aware of. You may want to use dependencyManagement
instead of straight dependencies -- then you can control what deps are
needed in your children.
I found a fairly clear description of dependencyManagement here:
Hello,
Can I configure a dependency to use a particular timestamp version of a
SNAPSHOT ?
For example, the 20070606.164150-5 of maven-surefire-plugin 2.3.1-SNAPSHOT
Using :
plugin
artifactIdmaven-surefire-plugin/artifactId
version2.3.1-20070606.164150-5/version
/plugin
87 matches
Mail list logo