You tried using xdoc2?
http://xdoclet.codehaus.org/
As powerful if not more than JET and doesn't need Eclipse.
Eric.
- Message d'origine -
De: nicolas de loof [EMAIL PROTECTED]
Date: Mardi, 27 Mai 2008, 11:36
Objet: Re: Maven JET
À: Maven Users List users@maven.apache.org
I made some
Hi DavidThose are all already available in the Java environment running Maven.
If the property your are looking for is not in the system default, you pass
them in the command line using the -D option.Hope it helps.Eric.- Message
d'origine -De: David Williams [EMAIL PROTECTED]Date:
Try running: changelog:create-cvspass
Hope it helps
Eric.
Mick Knutson wrote:
I am trying to setup scm in maven, and I am using wincvs to access my
cvs server. I have searched, and do not find a .cvspass file and maven
is also complaining about this.
How do I fix this issue? Create a
Hello Chriss
Chris Rose wrote:
First, we're making a home-user sort of application. Ideally, we want
os-native executables to be launching this app. We can generate the
executables using ant tasks, for the most part, but I'm not sure how
to integrate this into our build.
Using a custom
Hello guys
I would have a suggestion concerning this.
Right now, my uber-dist plugin allows that. In fact, its implemented the
other way around. You specify using dependencies properties if this
dependency must be deployed or not. If it is, you can override the
deployment directory (so that it
That's excellent!
You're right, I didn't got the answer, there seems to be a small problem
with the list today. Got a failed delivery message.
Great, impressive work Brett!
Eric.
Brett Porter wrote:
On 5/20/05, Eric Giguere [EMAIL PROTECTED] wrote:
Hey guys!
So here is the question
Hey guys!
How convenient... I just wanted to ask a question for Maven 2.0
concerning this topic: configuration management.
It's not only a matter of corporate procedures. but rather a general
configuration mangement issue. When you release a software product, if
you want to have a reproducible
Hello
How did you build your Maven project for it? Do you have 5 projects (one
per component) or 1 project that does it all?
There is no universal way of deploying a multi-component system. It all
depends first if these components can be deployed stand-alone or not. If
not, I fail to see why
Yes it is
Take a look at the jar plugin properties:
http://maven.apache.org/reference/plugins/jar/properties.html
In short, you must set the property:
maven.jar.manifest.classpath.add=true
And in your project.xml, in each dependency, add the following property:
properties
Hello
Took a long time to answer but had to try it first :).
You have to modify the navigation.jelly file from the plugin-resources
of the xdoc plugin. Near the end of the file, you will see the code that
acutally add the Development process item. Add your item there. But of
course, this
report if OS is Linux):
goal name=regReports
j:when test=${systemScope['os.name'].startsWith('Linux')}
[register checkstyle report here]
/j:when
/goal
Thanks so much,
Alex
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 5:55 AM
Hi
No, cannot.
But I would suggest to version all your jars and maybe remove the
versions at deployment if it is an issue.
We are using this technique and the jar compatibility nightmare (jars in
cvs, versions clashing, etc) ended and never came back!
HTH.
Eric.
[EMAIL PROTECTED] wrote:
What
Eric Giguere
[EMAIL PROTECTED]
eotron.ca To
Maven
Hi there
Not that I know of but if you tried to run site:generate with all known
reports generated in your project, you will get a lot of jars that could
suite your needs for many project types.
Hope it helps
Eric.
Treviño De la Garza, Isidoro wrote:
Hi,
Is there a goal in
Hi
No, and yes, explanations. No, you cannot add anything in the classpath
of java:compile goal unless its a dependency declared in the project.xml
and it does not support directories. But I have a solution that involved
modifying (a single line) in the java plugin.
If you are not afraid of
Hi
You also need to add an attribute in each dependency you want to see in
your class-path entry in the jar:
Here's an exemple:
dependency
groupIdlog4j/groupId
artifactIdlog4j/artifactId
version1.1.3/version
properties
Hi Randy
Yes, got an idea. I have personnaly been playing with the multiproject
plugin and got tired of trying to control it from a maven script.
If you want to do that kind of processing, you better call the reactor
yourself instead of going through the multiproject. From what I
understand of
to that is sync'd to ibiblio, it might be worth moving this to
maven-plugins.sf.net, and you could participate in the other plugins
there too.
Regards,
Brett
On Wed, 05 Jan 2005 16:21:40 -0500, Eric Giguere
[EMAIL PROTECTED] wrote:
The maven team is pleased to announce the Maven Uberdist plugin
Hi all
I have a small issue. I'm building some Eclipse plugins but the PDE
environment build fails so I'm now writing a maven to fix the problem.
To acheive the build, I need to reference some external directories in
the classpath when I compile. Is there a way to do this using jelly code
in a
Hi Doug
Add this in your project.xml
build
...
sourceDirectory${basedir}/src/sourceDirectory
unitTestSourceDirectory${basedir}/test/unitTestSourceDirectory
...
/build
Hope it helps
Eric.
Doug Knesek wrote:
I want to override where maven looks for project
,
Brett
On Wed, 05 Jan 2005 16:21:40 -0500, Eric Giguere
[EMAIL PROTECTED] wrote:
The maven team is pleased to announce the Maven Uberdist plugin 1.0.10
release!
Although it is now version 1.0.10, this is the first public release of the
plugin.
More info can be found at:
http://sourceforge.net
The maven team is pleased to announce the Maven Uberdist plugin 1.0.10
release!
Although it is now version 1.0.10, this is the first public release of the
plugin.
More info can be found at:
http://sourceforge.net/projects/uber-dist/
This plugin provides a mechanism to build what we may call a
Hi
If your newly published jar can be refered by another maven project
(with a dependency entry in project.xml) and that the developpers build
this project, the file will get automatically downloaded from the remote
repo.
Eric.
Haile, Mussie wrote:
I am not aware of doing this using Maven but
Hello
Sure, take a look at the XML taglib of jelly, could help you do it in
jelly, so in a maven goal.
Otherwise, there is always the possibility of calling a custom written
Java class using again jelly tags like new, invoke, and so on.
Hope it helps.
Eric
Michael Niemaz wrote:
Could someone
Hello
Yes, edit your own starting from the sun_check.xml.
For your config tweaks to be effective, try first locating the most
common errors (and least significant in your case) and remove them from
the checks that Checkstyle does.
Then, make the checkstyle plugin use that new config file by
Ah, thx for the info. Didn't knew that :)
Eric.
Ryan Sonnek wrote:
you actually don't have to put your custom checks in the plugin
resources directory. I place my checks directly in the project root and
everything works fine for me.
-Original Message-
From: Eric Giguere [mailto:[EMAIL
Hello
I think that the support for the include property in the jar plugin was
lost during a merge for version 1.6 of the plugin, its a feature I've
submitted earlier and it got lost.
Check in the plugin.jelly file around the use of the jar tag, you
should see in the jar:jar goal:
ant:jar
Hi
I also had to cope with the same number of foreign jars and a legacy
Ant script to build everything.
In my case, there was also a number of known jars like log4j,
commons-beanutils and other like that but unknown version.
Instead of having them all under an internal group id, this is what I
Sure it is, but not wihout some extra jelly code.
Do it with the Ant Jar tag in your maven.xml or you can make one project
as a subproject of the other using the reactor component.
But be aware that if you do, you will loose the maven.artifact. The
artifact of a maven project is, by default,
?
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 3:56 PM
To: Maven Users List
Subject: Re: Create 2 jars for a project
Sure it is, but not wihout some extra jelly code.
Do it with the Ant Jar tag in your maven.xml or you can make one project
Hello guys
I've created a plugin to handle building complex distributions. I called
it uber-dist.
My setup on source forge is almost complete. I'll send a message in the
list as the download is ready.
In a nutshell, my plugin calls a goal you write in your maven.xml file.
It also offers a
Hey Feilpe
Yes, you can, as long as they are ant 1.5 compatible, no problem.
I personnaly migrated a lot of Ant legacy code to a new maven.xml and it
did workout nicely.
Hope it helps.
Eric.
Feilpe Vieira Silva wrote:
Dear members,
I have an ANT build.xml files, with several well tested tasks
Hi Stéphane
I've develop a completely new distribution plugin that I called
uber-dist. Its goal is to allow maven users to build complex
distributions. At work here, we build a server application based on a
commercial framework. Distribution mechanism currently in maven are not
suited for that
Hello Ben
Yep, try this:
j:set var=color value=red/
j:set var=colorKey value=${color}/
ant:echo
${colorKey}
/ant:echo
Hope it helps
Eric.
Ben Anderson wrote:
Hi,
I want to dynamically set which property I access. Is this possible?
Obviously the below code won't work, but you
tofile=${build.dir}/WEB-INF/web.xml
overwrite=true
ant:filterset
ant:filter token=servername value=${servername.${env}}/
actually, this is probably a bit much. Is there a way to solve the original
example w/out modifying the j:set tags?
Thanks,
Ben
Quoting Eric Giguere
Hi
The Ant copy tag can be used with its built in filtering mechanism. You
put in tokens that get replaced by values you specify in tag itself.
When this is done in a maven.xml file, you can vitually replace these
tokens with anything, including artifact ids, complete jar names version
included
Hello
You have to create a build.properties files that you put in your home
directory (/home/whatever under unix, Document And Settings/whatever under
Window$).
That will become the default for you only but for ALL your Maven projects.
Otherwise, if you want to share a common set of properties
Or some code like this in your project.properties?
#
# maven jar plugins configuration properties
#
maven.jar.includes=com/nhc/cms/client/MappingPortClient.class\
,port_mapping_strings*.properties\
,com/nhc/cms/i18n/I18nUtil.class\
,com/nhc/cms/business/data/PortMappingTO.class\
Hi all
Anybody knows if there is a way to print out on the console the active
version of a plugin?
Could usefull when environment checks are required. Ex.: one of my team
members have a problem building, first check to do the version of the
plugin used to see if its up to date.
thx
Eric.
:)
How nice.
thx Brett!
Eric.
Brett Porter wrote:
maven --info
On Tue, 14 Sep 2004 09:17:20 -0400, Eric Giguere
[EMAIL PROTECTED] wrote:
Hi all
Anybody knows if there is a way to print out on the console the active
version of a plugin?
Could usefull when environment checks are required. Ex
Hi
Presented this way, no, its not.
But, to get around this, we're using here ssh-rsa keys (ssh2). From the
client computer (deployment platform), you supply you private key to
some ssh agent. On the server, you add your key footprint in the
authorized_keys file. Using this scheme, you can log
Hi all
Anybody knows where to get the goal name (the one to attain.. usually
supplied in the command line) that maven is currently trying to attain?
thx.
Eric.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Paul
Check out the Ant task called PropertyFile. Its an optionnal task.
With this one, you can create new property files or modify existing ones.
So with a clever mix of jelly code, the pom object and this tag you
should be able to do it.
Hope it helps.
Eric.
Paul Spencer wrote:
I would like
Excellent!!!
Good work all.
A question, what's the CVS tag to check out?
Eric.
Brett Porter wrote:
The Apache Maven team is pleased to announce the release of Maven 1.0.
http://maven.apache.org/start/download.html
(please be patient as the release may not have propogated to all mirrors yet)
Maven
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 22 June 2004 6:35 AM
To: Maven User List
Subject: deploying plugin jars
Hi
Got a small problem. I'm trying to deploy a custom plugin jar in our
internal remote repository.
I've tried using the jar:deploy command but I
Hi
It is compatible but, before using ant tags, you should add in your
maven xml these lines:
project default=whatevergoal...
* xmlns:ant=jelly:ant*
xmlns:license=license
xmlns:maven=jelly:maven
And then, if you want to call ant on a file, you would do it like this:
ant:ant antfile=build.xml
Hello
No clear idea on how to make the report work, never tried that one.
For night build, check the Cruise Control engine, accessed in maven
through its plugin (maven-cruisecontrol-plugin).
Hope it helps
Eric.
Bent Andre Solheim wrote:
Hello Maven users,
I have been working with Maven the last
Hi
Got a small problem. I'm trying to deploy a custom plugin jar in our
internal remote repository.
I've tried using the jar:deploy command but I couldn't get the guy to
put my jar in the right place (maven/plugins/).
No matter how I play with directories (using the propeties), I never
could
properties and variables get new values (new contexts) for every single
project, even if its built in one shot.
Quite powerfull indeed.
Eric.
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 7:22 AM
To: Maven Users List
Subject: Re: Jelly
. Deprecation should live for at least one version, so I think we
may be ok for a while.
Eric.
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 2:03 PM
To: Maven Users List
Subject: Re: Jelly variables
Hi Jon
I'll give a try to explain
Hi all
I have here a pretty strange error that has been bugging me for a while
and would really appreciate some hints, if any.
It concerns CVS and the plugins...
Right now, I'm trying to use the cvsstat plugin on my project but
everytime I try to generate the report, it complains about an error
Hi all
A very good friend of mine pointed me out the problem... the CVS client
itself.
Was using the CVS client supplied with WinCVS...ERROR!
With the one from CVSNT, it works perfectly.
Eric.
Eric Giguere wrote:
Hi all
I have here a pretty strange error that has been bugging me for a
while
Hi
Try the ant buildnumber tag.
It doesn't provide support for full version number but appending a build
value to your version number does the trick in many circumstances.
An example :
buildnumber file=mybuild.number/
This tag will locate the specified file, read the value in it and
rewrite
?
Eric.
Arnaud Heritier wrote:
You must checkout the MAVEN-1_0-BRANCH for maven and the HEAD for
maven-plugins.
Arnaud.
-Message d'origine-
De : Eric Giguere [mailto:[EMAIL PROTECTED]
Envoyé : mardi 18 mai 2004 15:28
À : Maven Users List
Objet : Re: Source for new Plugin release
Thx guys
I
Thx guys
I had some problem with HEAD but on the maven project.. Didn't even
check if there were branches in the plugins.
Eric.
Arnaud Heritier wrote:
There's no branch in maven-plugins.
You must get the HEAD one.
Arnaud
-Message d'origine-
De : Eric Giguere [mailto:[EMAIL PROTECTED
Hi
In which branch can we get the sources of all the newly released plugins
from the apache CVS?
thx
Eric.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
Just wondering... Is there such a thing as a night-built plugin for
maven or any other code base that is ready to be used?
I mean by that some scheduled mechanism that could execute a maven build
but that will also trap all outputs and make a nice HTML report out of this?
thx
Eric.
Hi
The plugin properties in can be seen as variable declaration. In order
to get the values during execution, you must get it from the plugin's
context.
You can do this with such a line in your maven.xml (anywhere... not
required to be in a goal):
j:set var=aVariable
prereqs questions
Re-hi,
Thank's for the answer, but my variable is initialize in a the goal
scm:parse-connection on the scm plugin.
Have you any idea ?
Thank's..
-Message d'origine-
De : Eric Giguere [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 7 avril 2004 15:23
À : Maven Users List
and that we can use in our code?
Eric.
Eric Giguere wrote:
Hi all
A quick one, is there a way using jelly scripting to check for the
existance of a goal in a project or a plugin?
Some context information... Lets say I'm building a plugin that acts a
little like the xdoc plugin, that is based
Hi David
From your message, I'm not sure if this solution may apply but I'll
give it a try. You can, if you can use the Ant classpath element in your
plugin. If you need to refer to the classpath of the project
(dependencies for instance), you still can access it and insert those
entries in
Hi
xmlns:ant=jelly:ant
But basically, I'm not even sure that you need this to call ant task in
your maven.xml...just safer to use the namespace to prevent possibl name
clashes with plugins.
Eric.
[EMAIL PROTECTED] wrote:
Hi, could someone tell me which namespace to add to call ANT tasks?
Hi all
I've got a small problem. I can run the goal : checkstyle:report from
the command line. Using this command, I get the checkstyle report in xml
format and in text format generated correctly.
But, if I add the reportmaven-checkstyle-plugin/report in
the reports section of my
Sorry
Not maven checkstyle:generate command... but maven checkstyle:report.
Eric.
Eric Giguere wrote:
Hi all
I've got a small problem. I can run the goal : checkstyle:report from
the command line. Using this command, I get the checkstyle report in
xml format and in text format generated
Hi all
Been browsing through the list history and found some entries concerning
CVS passwords and the changelog plugin. I'm not sure I understand well
though :(.
To make this work, we need to define a pregoal in maven.xml for the
maven-changelog-plugin:report.
That pregoal will use ant:cvspass
.
Emmanuel
- Original Message -
From: Eric Giguere [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:03 PM
Subject: Re: file activity plugin problem on windows
Hi again.
Positive, my connect string is ok.
But, if I run the same exact command from
...???
You think so?
And a note, the maven-changelog-plugin gives me the exact same error
that the file-activity... cannot find CVS executable :(
thx
Eric.
[EMAIL PROTECTED] wrote:
Eric Giguere [EMAIL PROTECTED] wrote on 30/01/2004 07:21:23 AM:
Hi Emmanuel
Thx for the advice, but still my
plugin in cvs head. We use a java cvs client
and
not the cvs command line.
Emmanuel
- Original Message - From: Eric Giguere [EMAIL PROTECTED]
To: Maven User List [EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:34 PM
Subject: file activity plugin problem on windows
Hi all
Got a small
Hi Alex
Did you try using this call : pom.getDependencyClasspath() ?
By embedding this in an ant tag, you can pass it classpath info.
...
ant:path id=project.class.path
pathelement location=${maven.build.dest}/
pathelement path=${pom.getDependencyClasspath()}/
/ant:path
() if you're within a plugin. Or you
can include a single dependency at a time:
plugin:getDependencyPath(groupId:artifactId).
Chad
- Original Message -
From: Eric Giguere [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 1:26 PM
Subject: Re: Classpath within
as a file output redirection.
Am I doing something wrong? Any workaround?
Eric.
Eric Giguere, ing.
Software Team Leader
NHC Communications Inc. http://www.nhc.com/
5450 Cote de Liesse
Mont-Royal (Quebec)
Canada H4P 1A5
Tel.: Direct (514) 735-2741
Hi all
A small prob, wonder if I'm doing something wrong.
I'm migrating from an Ant based build system to maven.
I've define a sub projects to build all our jars (one projet, multiple
jars in the distribution).
By defining some overrides in the build.properties, I've manage to build
the jar
of the shell itself.
IMHO
Eric.
Jason van Zyl wrote:
On Fri, 2004-01-16 at 15:24, Eric Giguere wrote:
Hi all
A simple modification proposed for the pluggin.jelly for the jar plugin.
As it is now, it calls ant:jar but only with the exclusions. Listing
exclusions is sometime longer than inclusions
want to look at MavenProxy. Ive never used it but it seems
you can specify proxy policies per repository.
http://wiki.codehaus.org/maven/MavenProxy
-- gd
Eric Giguere wrote:
Hi all
A quick one. We're behind a firewall and use a proxy server to
go on the Net.
And we have a remote
Hi all
Is there a property somewhere in the projet that can be set to tell a
sub project to use the parents directories? I'm trying to build multiple
jars using multiple maven projects but each uses its own sources and
targets. The class files are in the parent's target.
thx for any advice
change the child's sourceDirectory to point to the
parent?
sourceDirectory${basedir}/../src/java/sourceDirectory
-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 2:58 PM
To: Maven Users List
Subject: Child project using parent sources
Hi
because of our proxy
server.
Is there a work around?
thx for any help
Eric.
Eric Giguere, ing.
Software Team Leader
NHC Communications Inc. http://www.nhc.com/
5450 Cote de Liesse
Mont-Royal (Quebec)
Canada H4P 1A5
because of our proxy
server.
Is there a work around?
thx for any help
Eric.
Eric Giguere, ing.
Software Team Leader
NHC Communications Inc. http://www.nhc.com/
5450 Cote de Liesse
Mont-Royal (Quebec)
Canada H4P 1A5
Hi Steven
Yep. I had an issue with the javadoc plugin that wouldn't work with jdk 1.4 unless you
specify its parameter (in the plugin.properties file in the javadoc plugin directory)
:
maven.javadoc.useexternalfile = true
Hope it helps
Eric.
-Original Message-
From: Ebersole,
Hi Jonathan
Sure, using a web browser ;)
http://www.ibiblio.org/maven/
Or by adding your jar description and version in your project file. By
calling maven java:compile, you'll get the error message if the desired jar
is missing.
Eric.
-Original Message-
From: Jonathan Hawkes
Hi Amnon
I'm a Maven newbie (but also a fast learner ;) ), but have also setup a
repository on a LAN. Used Apache to make the doc public and accessible
easily by the download engine. Works perfectly and Apache is quite easy
to install / configure both on Windows and Linux boxes.
file protocol
81 matches
Mail list logo