Hi,
I have developed a very simple plugin that does nothing. (code included
below).
The problem is that I cannot seem to pass in a parameter either on the
command line or via a POM (in another project that defines this plugin in
the build section):
mvn cleartrust:extract
Hi!
Are we taking about the same thing? I am taking about Java System Properties
and not System Properties. It was not replaced when I first tried (perhaps I
was doing something wrong). the documentation only mentions Java System
Properties with filtering.
Does the Java System Properties have a
Ha!
Yet again. Everytime I email this list for some help, I then solve the
problem... sorry all.
The answer to the problem seems to be that one must provide the 'expression'
to the annotation:
/**
* @parameter expression=${verbose}
*/
private String verbose;
Hi All,
In maven 1.x I could execute maven once on a project and build my local
repository. I could then copy it on to my company's central server and
get all the developers to refer to this for updates.
When I needed a new plugin or dependency, I could run maven 1.x against
ibiblio and follow
Thanks, but I still can't get this feature working
I have a organisation pom and site.xml from which I would like to inherit
one of the menus.
I have specified the menu in the parent site.xml as
menu name=Applications inherit=top or menu name=Applications
item name=Phoenix
To allow your parameter to be specified from the command line yoour
parameter specification needs to define the name of the commandline
parameter that it will accept. Eg
/**
* @parameter expression=${foo.bar}
*/
private String verbose;
Should work with a commandline of
mvn
Hi.
We started using mvn deploy:deploy-file, but then realised that if we did a
full build on the box that hosts our internal repo - this would do the job -
and it does.
However, I would like to know if there is a better or 'proper' solution to
this.
Kind regards,
--
Marc
-Original
Many thanks.
This is the answer just worked it out - appreciate your time and willingness
to help.
Kind regards,
--
Marc
-Original Message-
From: William Ferguson
[mailto:[EMAIL PROTECTED]
Sent: 25 August 2006 08:32
To: Maven Users List
Subject: RE: Plugin Development Issue
To allow
Yes, but i've encountered some issues on compiling the whole, it using some old
groovy distribution.
So i'm trying to contact the plugin author, and can anyone told me if the
codehaus mojo mailing list is working cause' i've send several emails for
registering, ain't got no answers...
Ben
Putting up a maven proxy might solve your problem:
the first time a jar is needed it downloads it from the central repo and
caches it.
There are 3 free implementations I know of:
maven-proxy (from the maven guys): beta?, abandoned in favor of Archiva
Archiva (from the maven guys): beta, needs
Hello Max,
Max Cooper wrote:
If you have a structure like this:
root
|--module1
|--module2
|--submodule2-1
my structure is a bit simpler, without nested submodules.
Max Cooper wrote:
... you would have to make sure that you hide/delete/rename the .project
file in both the
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: vendredi 25 août 2006 09:48
To: Lakshman Srilakshmanan
Cc: Maven Users List
Subject: RE: How to write groovy plugins/mojos?
Yes, but i've encountered some issues on compiling the whole, it using
some old
On 8/25/06, Valerio Schiavoni [EMAIL PROTECTED] wrote:
Eclipse does not support hierarchical project structures.
i thought eclipse 3.2 just introduced this new feature ...
Yes it does.
Hence my original post wondering how to get it to work.
The notes I posted worked for me.
Try to get it
Hi!
Thanks for answering!
No. I don't have any pojos yet.
I have a database and want to generate hbm.xml files for the tables owned by
the given databaseuser in this database, and then generate pojos from these
hbm.xml files.
-Kaj :)
Johann Reyes-2 wrote:
Kaj
Question, do you have
I've setup my archiva as a maven proxy and can get artifacts as expected
using legacy path when using a browser.
I've set maven.repo.remote =
http://localhost:8080/maven-repository-webapp/proxy/vasn/
Now, when I run maven (1.1-beta-3) to build my project, artifacts are
downloaded in my
Hi,
I am trying to create site and deploy it for a multi-project
package. In the coo (parent) pom, I define various reports to
generate. The root also contains src/site/... tree with
documentation. The site.xml does not contains reports sections. The
pom is:
reporting
plugins
plugin
Arnaud Bailly a écrit :
Hi,
I am trying to create site and deploy it for a multi-project
package. In the coo (parent) pom, I define various reports to
generate. The root also contains src/site/... tree with
documentation. The site.xml does not contains reports sections. The
pom is:
reporting
Hi Marc,
I did a full build on the box that hosts our internal repo, but as
explained, it did not work for me. I have also explained, below, my
finding why it did not work. Could you please confirm the name of the
following files in your repository.
a) maven-metadata*.xml
b)
Hi
We can't do this because from time to time we may need to download files
manually and install it.
Thanks
Lakshman
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: Friday, 25 August 2006 5:57 PM
To: users@maven.apache.org
Subject: Re:
Hi All,
I think the answer lies in Maven Repository Manager. Pg 200 in the book
Better Builds with Maven.
Could someone please verify my understanding and whether a download is
available ?
Thanks
Lakshman
-Original Message-
From: Lakshman Srilakshmanan
Sent: Friday, 25 August 2006
hi everyone
i want to upload a repository on to the apache httpd server, the one way is
to map the source location in httpd.conf file,i want to know if there is any
way to place it directly in any module pf httpd server similar to place our
source in webaap folder of tomcat server.
thanks in
Hi Lakshman,
We have a number of these files some are *-local.xml, some are
*-ibiblio.xml, some are the name of the repo from setting.xml on dev
machines.
I'm not an expert at this, and please excuse if I am stating the obvious,
but did you try using -U switch?
Kind regards,
--
Marc
Does anybody has a simple pom.xml with an example of configuration ? (Maven2
changelog plugin)
I do not see anything on the website.
Thanks
Rob
--
View this message in context:
http://www.nabble.com/displayFileDetailUrl-with-ViewVC---SVN-tf2163677.html#a5980186
Sent from the Maven - Users
Hello,
I have a maven1 project and I want to migrate it to maven2.
In maven2 doesn´t exist maven.xml and I have to do all the things that did
maven.xml using plugins.
My maven.xml did a war of the project but It did several things more. For
doing the same things as maven.xml I have to create a
Hi folks,
we encounter a problem with the version(s) of the antrun plugin. We configured
this plugin for a module successfully and it works as expected. The problem is
that the build breaks in multi-module mode i.e. if the module is not build
locally. After looking though the debug output for
Maven1 is sending an If-Modified-Since header. Sounds like Archiva
doesn't send the file. As it just downloaded it, I supose file in
managed repo has lastchanged date to now. So this sounds like an
Archiva bug.
Nicolas De Loof a écrit :
I've setup my archiva as a maven proxy and can get
For all ejb-client type depencies in multiproject system fails to
resolve artifacts:
dependency
groupIdvarma.yrpro.income/groupId
artifactIddbserviceejb/artifactId
version1.0-SNAPSHOT/version
typeejb-client/type
/dependency
produces error like this:
[INFO] Failed to
Hi all,
I made a modification to the surefire plugin for use in our project
(to modify the classloading order). I installed the plugin to our
company Maven repository. The surprise: when running Maven, Maven
recognises the new version of the plugin, the JAR file of the patched
plugin is
I was wrong in this diagnostic.
Sounds like a Wagon bug : When artifact doesn't exists, maven ask for
last-modified = 0
Archiva response has no last-modified header, so wagon uses lastModified=0
The response content is extracted from HTTP response only if (timestamp
lastModified).
- This
I don't find support for Last-Modified header in webwork StreamResult. I
never used webwork before, so I don't knwo where to search...
I'd like to add this to ProxyAction :
private Date lastModified;
public String execute()
throws ProxyException
{
...
lastModified =
Anyone knows if it is possible of preventing archetype resources being
subject to parsing.
I have developed an archetypeArtifact for creating a web application
skeleton based on an inhouse pattern. The project contains several .java
files, - and also graphics. The problem is that all files
Hi Gergely,
Have you tried executing mvn install with -U to update the plugins for
the project?
e.g. mvn install -U
Hope this helps :-)
Thanks,
Odea
Gergely Szakály wrote:
Hi all,
I made a modification to the surefire plugin for use in our project
(to modify the classloading order). I
There's a guide on using maven when you can't use the conventions or
something that explains one way to do this:
basically create a different pom.xml for each jar and let them use
common directory's.
chua wrote, On 2006-08-25 11:32 AM:
Hello,
I have a maven1 project and I want to migrate it
Hi,
Maria, -U did not help and it seems that ther problem is that in case
of this praticular plugin and only in case its POM file Maven tries
to download it only from the Central Maven directory and not from our
one. (The configuration is good because other plugins of ours are
working perfectly.)
That's fine, these products allow manual installation as well (in fact, they
expect you to). This handles the use cases of using commercial artifacts
(Oracle, MQ Series, and Java itself, etc.) and installing artifacts from
your own company's products.
By your statement, I wonder if you
Jörg Schaible wrote on Friday, August 25, 2006 11:35 AM:
Hi folks,
we encounter a problem with the version(s) of the antrun
plugin. We configured this plugin for a module successfully
and it works as expected. The problem is that the build
breaks in multi-module mode i.e. if the module is
Hi folks,
is there any chance of a new release of the XDocelt plugin with actualized
versions? Especially the dep to the antrun plugin 1.0 does major grief, since
it breaks any multi-module builds that usilize both plugins.
- Jörg
Scott Ryan wrote:
We actually use the same application context but use the test resources
construct to pull it out of the main build path for use during testing. You
just need to include the xml files from the main tree in your resources
during testing and it works very nice. We use a
I also am using hierarchial projects. I got 3 levels deep and it works fine. It
only creates project files for the leaf nodes. The parent poms (packaging=pom)
will not get project files.
I am having 1 problem with eclipse:eclipse. I have a parent pom that isn't
intended to be portable. It uses
On 8/18/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
The xref reports generated for my project are broken.I can see the
packages frame(on the top left hand corner) and the list of packages in the
module.Underneath the packages frame there also is classes frame with a
list of all the classes(as
Jimisola:
The parameter that is getting its slashes altered, is it a String or
File in the the Mojo? If it is just a String, try a File, I've seen
your problem before and I believe that handled it.
On 8/25/06, Jimisola Laursen [EMAIL PROTECTED] wrote:
Hi!
Are we taking about the same thing?
What version did you give your modified maven-surefire-plugin?
When creating locally modified versions of plugins, it's a very good idea
(best practice???) to give them a very clear/specific version that
differentiates them from the main versions. For example, if your surefire
modifications were
Hi Emmanuel,
Even after adding my target directory in the cvsignore file, continuum is still
building the project when there is no source code change.
The build report shows that there is change in target folder.
Regadrs,
Kapil
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL
Hello All,
I have a beginner's question. And I know nothing about Maven :)
What I am trying to do is to use the maven-abbot-plugin from within
Abbot to conduct end user testing of an arbitrary Java webstart application.
Does anyone have any experience with this ? I have looked at the
you can try to remove it manually in your working directory and force a build
Emmanuel
Kapil Gupta a écrit :
Hi Emmanuel,
Even after adding my target directory in the cvsignore file, continuum is still
building the project when there is no source code change.
The build report shows that
Christoph,
Have you resolved this problem yet?
I think you may find that maven deployed your artifact into a local
directory. Look for a directory in the root of your local filesystem with
the same name as the remote host. I say this because your file url doesn't
appear to be correct for a
you can use http://username:[EMAIL PROTECTED]/path.pom.xml
Emmanuel
[EMAIL PROTECTED] a écrit :
Hello,
I am trying to add a maven2 project to continuum from a subversion
repository that has a username/password authentication required for read
access. Is there a configuration file that I can
If I define a repository in distribution management so that it deploys
to an internal repository.
Do I also have to define it as a repository a profile if I want team
mates to resolve dependences from that internal repository rather than
building source, or does having the distribution
Hi all,
I'd like to use a snapshot version of the assembly plugin, but I can't found
out a snapshot repository.
Can someone tell me if such a repo is available or should I build a snapshot
by myself?
Thanks in advance,
Alexis
Hello Matt
The dependencies issue its fixed in the hibernate tools dependency that's in
queue to be uploaded (http://jira.codehaus.org/browse/MAVENUPLOAD-1053). These
dependencies would depend on jars that are in the maven repo like the
Geronimo's JTA implementation. So as soon these
hello,
i need to render nested tables. i tried the following apt code, but the
nested table is displayed as verbatim code:
*--*---:
| flat | nested|
| attribute| |
| | *-*-: |
| | | _B_ | _C_ | |
| | *-*-: |
Has anybody found the solution?
I have the clearcase-setting.xml file but where shall I put it to be taken
into account by Continuum-1.0.3
Thanks
Benoit
--
View this message in context:
http://www.nabble.com/ClearCase-configuration-tf2026205.html#a5985271
Sent from the Continuum - Users
I'm fairly new to maven and wonder whether there is a process/place to
request a new artifact version be placed on ibiblio or other Maven repos
site. The specific artifact of interest is Jetty 6.0.0rc1 (rc0 is
already present).
Please excuse if this is not the appropriate mailing list - and
Hi All
I know it *could* be a question for Continuum but:
Scm Clearcase is using \\mymachine\viewstore which of course is no good for me
I have followed http://maven.apache.org/scm/clearcase.html
Which specifies to create a clearcase-setting.xml in a directory .scm under my
home directory.
Is there really no way to do this folks? This would really nuke our
maven progress at this point.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 6:48 PM
To: Maven Users List
Subject: probs with profiles
I have a question about profiles
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
-Original Message-
From: Rob Walker [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 10:13 AM
To: users@maven.apache.org
Subject: Question on process to request new artefact's to be uploaded to
ibiblio or other Maven
Add this:
pluginRepositories
pluginRepository
idapache.snapshots/id
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
!-- NOTE: omit releases section here! --
/pluginRepository
/pluginRepositories
Then, when you run the build, use the -U option to refresh your plugins.
If
Doug,
thanks for your reply... I was a bit surprised to get none up to now ;o) So
thanks a lot.
Well, you are right, the file was put into a local directory. So I changed
the URL to the file://host/share/some/path style:
snapshotRepository
idcentral/id
nameFJA Internal
http://www.mvnregistry.com/search/version/77734
On 8/25/06, Rob Walker [EMAIL PROTECTED] wrote:
I'm fairly new to maven and wonder whether there is a process/place to
request a new artifact version be placed on ibiblio or other Maven repos
site. The specific artifact of interest is Jetty
Hi,
It's a String:
/**
* @parameter expression=${outputFile}
*/
String outputFile;
I'll change it to File and see if that does the works..
Thank you for your information.
This might be something for the FAQ or Wiki?
Regards,
Jimisola
Nick Veys wrote:
Jimisola:
The
If two profiles are loaded and both have a property set in it, which one
takes precedence?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 11:42 AM
To: Maven Users List
Subject: RE: probs with profiles - really stuck...
Is there really no
Even more fun - if I specify a profile that only exists in my
settings.xml file, some of the resources don't even get processed.
What gives?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 1:47 PM
To: Maven Users List
Subject: RE: probs
Hi there,
I am using maven 1 and using the jnlp goal to generate a jnlp file and sign
the associated jar files. The problem I have is that one of the jar files is
generated by the build as well as the normal project generated jar. Because
the jar is generated it isn't in the dependancy list so
I just starting trying to do an SCP based deploy and for some reason it
is attempting to use my current user rather than the user I have set in
the settings.xml under server.
settings
servers
server
idinternal/id
usernameuser/username
Hmmm, the deploy succeeds but the artifact is neither local (like before)
nor on the specified remote host?
Perhaps running maven with -X will give some more detail on where the deploy
is actually going. You might also try running the deploy manually via the
deploy:deploy-file goal with the same
how to configure the maven emma plugin and where to get this from.
Any body got success integrating this in Maven2
emma.jar
emma-ant.jar
maven-emma-plugin.jar
Thanks,
Satish
--
View this message in context:
http://www.nabble.com/maven-emma-plugin-tf2166530.html#a5989608
Sent from the Maven -
Is/are there some variable that allows something like ${basedir} type
usage in pom.xml? Is there some variable for the current working
directory of the pom.xml that's getting used?
Hi,
On 8/25/06, swebb [EMAIL PROTECTED] wrote:
I am using maven 1 and using the jnlp goal to generate a jnlp file and sign
the associated jar files. The problem I have is that one of the jar files is
generated by the build as well as the normal project generated jar. Because
the jar is
I've been following the Better Builds with Maven ant plugin creation
example (found on 5.4.2) to create an ant plugin which will leverage the
java task by adding the ant library to the maven-plugin-plugin. I've
forked the JVM, specified a classpath, and made the appropriate java
calls.The plugin
I was able to configure the maven-changes plugin for JIRA, but how to
generate a report.
my baisc question is: how does maven/svn knows what issues got fixes as part
of checkin? Does the developer needs to mention this data in some xml file.
I have read some where that if you configure the JIRA
Valerio Schiavoni wrote:
Hello Max,
Max Cooper wrote:
If you have a structure like this:
root
|--module1
|--module2
|--submodule2-1
my structure is a bit simpler, without nested submodules.
Okay, like this:
root
|--module1
|--module2
Max Cooper wrote:
... you would have to make
We have a Flex application that communicates with a J2EE back end that
we are using Maven to build the project with. I am looking for any
information that may be available on using Maven to include the Flex
files in my build also.
Keith A. Marshall, B.Sc.
Lead Developer
Order and Account
I have personally found the profile mechanism to be tricky to setup, but
you can generally achieve your goals by applying various activation
techniques, etc.
Profiles can be activated by properties. You could use a property to
activate your dev-crimson profile, specified like 'mvn
I have a few questsion about m2eclipse:
1) When configuring the external tool how do you specify a profile?
2) What settings.xml will get read? I am not sure that either my
maven_install_dir/settings.xml or ~/.m2/settings.xml are getting read.
3) Can someone explain what update source directies
While the war-overlay feature appears to work pretty well, it doesn't
work at all with the jetty6 plugin. Is this a known issue? Are there
any plans to fix this, or should I talk to someone on a different
(jetty) mailing list?
Without this feature, it doesn't seem that AppFuse can be a war
To deploy packages to remote repository through scp, I created the
settings.xml under continuum_install_dir/bin/linux/conf/ where
username(different from current user of os), privateKey of distribution
server and a non-default localRepository path are defined. From the log file
it seems the
what's the problem? jetty:run? you can use war:inplace jetty:run
On 8/25/06, Matt Raible [EMAIL PROTECTED] wrote:
While the war-overlay feature appears to work pretty well, it doesn't
work at all with the jetty6 plugin. Is this a known issue? Are there
any plans to fix this, or should I talk
On 8/25/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
what's the problem? jetty:run? you can use war:inplace jetty:run
Yeah, jetty6:run doesn't work. jetty6:run-war and jetty6:run-exploded
both seem to work fine, but don't pick up changes that I make/save in
my IDE.
Note: I say jetty6 vs.
On 8/25/06, Matt Raible [EMAIL PROTECTED] wrote:
On 8/25/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
what's the problem? jetty:run? you can use war:inplace jetty:run
Yeah, jetty6:run doesn't work. jetty6:run-war and jetty6:run-exploded
both seem to work fine, but don't pick up changes that I
On 8/25/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
On 8/25/06, Matt Raible [EMAIL PROTECTED] wrote:
On 8/25/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
what's the problem? jetty:run? you can use war:inplace jetty:run
Yeah, jetty6:run doesn't work. jetty6:run-war and jetty6:run-exploded
I am packaging my web application as an ear file because it uses EJBs. I
am using Acegi for security. However if I add Acegi as a dependency in
the war subproject then it pulls in bunch of other jars that are also
needed in my ejb subproject (such as spring) and I run into classloader
issues at
81 matches
Mail list logo