Or, just generate and use a manifest file in META-INF. The manifest is meant
to be used exactly for that purpose (to hold the version etc. information).
Kalle
On 7/22/07, Dirk Olmes [EMAIL PROTECTED] wrote:
Francois Fernandes wrote:
Hi list,
for some time now I've been looking for a easy
This might prove helpful
http://maven.apache.org/plugins/maven-dependency-plugin/ especially the
copy-dependencies goal.
HTH,
Henry
On 7/23/07, Dmitry [EMAIL PROTECTED] wrote:
My application is a jar file and when I run mvn package it generates my
jar
ok.
But I need to distribute my app with
Henry,
I will take a look..
thanks,
dt
www.ejinz.com
Search Progress
- Original Message -
From: Henry Isidro [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Monday, July 23, 2007 1:36 AM
Subject: Re: Maven dependencies issues
This might prove helpful
Hello,
is it possible to load a non-java resource from the classpath with:
if (!new File(pResource).exists()
ClassLoader.getSystemResource(pResource) == null){
System.out.println (pResource + not found!);
throw new
Hi Kiran,
I'm not sure what you are trying to do here but I guess you want to put
your ejb-jar.xml somewhere else aside from src/main/resources/META-INF..
and be copied to the right path in the war file.
You can put it anywhere you want to and just add it under the resource
tag. It will be
I'm creating customized sites for our projects and I was wondering:
Is there an XML schema for site.xml?
If so where can I find it?
William
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In the section Dependency Scope of
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
it is indicated that a transitive dependency C declared with 'runtime'
scope (4th column) will be set to scope 'provided' if transitively
retrieved through an explicit
Hello everyone,
I'm trying to build an EAR with multiple skinny WARs that look to the
EAR for their common libraries. The maven-war-plugin site has some good
examples on how to do this, but there is one use case that I need, that
apparently is not supported. The manifest guide says:
Note
Hi,
Is there a simple way to get all dependencies required for a project
into the local repository? Something like rsync.
In a networked multi-user environment, what is the best way of managing
a common project repository? I think we all still need a local repo so
that people can run while
Martin Testrot [EMAIL PROTECTED] writes:
Hello,
is it possible to load a non-java resource from the classpath with:
if (!new File(pResource).exists()
ClassLoader.getSystemResource(pResource) == null){
System.out.println (pResource + not found!);
Hi,
The ideal way is probably to setup repositories that is available in
your local network. You can set up a local mirror of the central in
which you could get your jars instead. Try looking at Archiva (available
here http://maven.apache.org/archiva/), its a repository manager that is
aimed
2007/7/23, John Coleman [EMAIL PROTECTED]:
In a networked multi-user environment, what is the best way of managing
a common project repository? I think we all still need a local repo so
that people can run while roaming, but we also need a sort of common
central repository, should we just use
Hi Frederick,
Try looking at Selenium, maybe you could use it for UI testing a
portlet. Also, there is also a maven plugin available for it.
For examples on how to use it, see Continuum's continuum-webapp-test
module which you could checkout here:
On 7/23/07, John Coleman [EMAIL PROTECTED] wrote:
Hi,
Is there a simple way to get all dependencies required for a project
into the local repository? Something like rsync.
The dependency:go-offline goal can be used for that:
Yes, you're right. But the problem is that our jar is not the only one
on the classpath. That means that it is hard to ensure that we're
loading the right manifest file to read the version. (btw. we're placing
version information already inside this jar.)
Loading resources even inside files
http://jira.codehaus.org/browse/MSITE-118
-Lukas
William Ferguson wrote:
I'm creating customized sites for our projects and I was wondering:
Is there an XML schema for site.xml?
If so where can I find it?
William
-
To
Hi
In my pom.xml file I have the following scm url:
scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project
The properties cvs.username and cvs.password are defined in my
settings.xml file. After executing mvn release:prepare my scm url looks
like this:
Francois Fernandes wrote:
Yes, you're right. But the problem is that our jar is not the only one
on the classpath. That means that it is hard to ensure that we're
loading the right manifest file to read the version. (btw. we're placing
version information already inside this jar.)
Loading
Kiran Kodlady wrote:
Hello,
can anyone tell me - is there any tag for customized path for ejb-jar.xml??
Default value is - src/main/resources/META-INF..
Thanks in advance,
Kiran Kodlady
What are you trying to do?
Which plugin do you need to configure?
--
Dennis Lundberg
2007/7/23, Michael Meyer [EMAIL PROTECTED]:
Hi
In my pom.xml file I have the following scm url:
scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project
The properties cvs.username and cvs.password are defined in my
settings.xml file. After executing mvn release:prepare my scm url
Dennis.. thanks for replying back..
i am using ejb plugin.. and when i keep ejb-jar.xml in other than
src/main/resources/META-INF path it fails to build. I want to know is there
any specific tag for ejb-jar.xml, so that i can keep wherever i can..
Hope u got my query??
looking forward to get
I haven't used that plugin myself, so I'm afraid I can't help you
Did you check the documentation:
http://maven.apache.org/plugins/maven-ejb-plugin/
If it's not there please file a request for it in JIRA, unless there's
one already in there:
http://jira.codehaus.org/browse/MEJB
Kiran
Hi Antonio,
works great. Thanks a lot. Like this I can even use my properties in the
maven-release-plugin configuration section.
Cheers, michael
Antonio Petrelli wrote:
2007/7/23, Michael Meyer [EMAIL PROTECTED]:
Hi
In my pom.xml file I have the following scm url:
Hello.
I have problem to run Maven Archiva 1.0 Alpha 2 on Apache Tomcat
(5.5.23). I can not deploy artifact to Archiva by webdav.
I followed instructions at
http://maven.apache.org/archiva/guides/getting-started.html and
http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat.
But when I
What manifest classpath are you referring to?
The war plugin does not add a classpath to the manifest - it only adds
dependencies to WEB-INF/lib. It's the jar plugin that will add
classpaths to manifests. Then the ear plugin will copy any jars in the
manifest classpaths of each of its modules
Hi
I'm configuring a new workstation and installed maven
a few minutes ago
I'm trying to compile a project of mine in this new
workstation
It downloaded all deps from repostories except
common-io 1.3.2
I tryied to install manually but I get an error :
[0] inside the definition for plugin:
Hello Jens,
Maybe you can provide us with some more information. Steps on how you
encountered it, and the output (a stacktrace would be very helpful) will
give us a clue. :)
Cheers!
Nap
On 7/23/07, Mac-Systems [EMAIL PROTECTED] wrote:
Hello,
i test Continuum. If i remove an Projekt is
I'm soory
I already installed in my local repository
[]s
--- Érico Teixeira [EMAIL PROTECTED] wrote:
Hi
I'm configuring a new workstation and installed
maven
a few minutes ago
I'm trying to compile a project of mine in this new
workstation
It downloaded all deps from repostories
I made some small changes to my project and removed an unwanted
repository and now get errors. My settings points to a local repository
that looks like it contains all the dependencies, and the hosting server
has no internet access, so I manage them manually.
Online report :
Mac-Systems a écrit :
That means i have to remove any subproject so far by hand ?
Actually, yes if you don't want subprojects
Bye the way: What about an Checkbox which selects any project i want to
remove. Actually i have 15 Subprojects
removing all by hand is stupid work ..
It will
Hello,
Continuum seems to be very unstable :(
i changed the Parameter for Build Definitions from :
--batch-mode --non-recursive
into :
--batch-mode --non-recursive -e
which caused by following error:
ognl.MethodFailedException: Method buildProject failed for object [EMAIL
PROTECTED]
Sorry it me agaqin :)
I have another issue:
On my linux box i have tomcat maven and continuum running
under same user. Also my POM contains a site section :
distributionManagement
site
idsomeurl.org/id
Specify your transport protocol as in: url - The url of the location where
website is deployed, in the form protocol://hostname/path.
cf. http://maven.apache.org/ref/2.0.6/maven-model/maven.html#class_site
On 7/23/07, Mac-Systems [EMAIL PROTECTED] wrote:
Sorry it me agaqin :)
I have another
Hello,
I tried to generate a website for my project. All the reports work fine
except cobertura: report result is generated into target/site/cobertura but
not copied in the stage directory
the command I use is: site:stage -DstagingDirectory=C:\work\site
Here is the statement in my superpom:
Hi Francois,
Francois Fernandes wrote:
for some time now I've been looking for a easy way to generate a simple
class containing version information of our artifact. I know that it is
possible to filter resources. But to avoid any resource loading issues I
would like maven to generate such a
Rodolphe Beck wrote:
Hello,
I tried to generate a website for my project. All the reports work fine
except cobertura: report result is generated into target/site/cobertura but
not copied in the stage directory
the command I use is: site:stage -DstagingDirectory=C:\work\site
Here is the
Hi Dmitry,
Dmitry wrote:
My application is a jar file and when I run mvn package it generates my
jar ok.
But I need to distribute my app with all the related jar dependencies so
I wonder how could I do it with maven2..
Actually, I did an ant task that at package cycle copy my project
Hi Dmitry,
Dmitry wrote:
I want to be able to interpolate ${pom.version} in Java source code
before compilation. How can I do this (Eclipse IDE)?
I see that there is a simple way to turn on resource filtering, but that
does not appear to be applicable to source code.
I also see that the
hello all,
can somebody tell me how can we just configure projets using Maven2?? Like
while doing development of a jar module i want all jars should be referred
from my local repository. So that compile time errors will be avoided..
In maven1, we do have a goal like configure . Once we run
Hi,
I'm curious if it would be possible/feasible/in-line with maven
philosophy to be able to specify in the parent/ tag ONLY
relativePath/ tag or at least, if the relativePath/ is present be
able to skip the version/ tag?
That is, in the multi-module project, all the modules have to refer to
the
Plotnicki, Grzegorz wrote:
Hi,
I'm curious if it would be possible/feasible/in-line with maven
philosophy to be able to specify in the parent/ tag ONLY
relativePath/ tag or at least, if the relativePath/ is present be
able to skip the version/ tag?
It would be impossible, because the
Hi,
I have set up ScanTargets and scanTargetPatterns for Jetty in the maven
config file. However, this is not working for me. If I change the sources in
any of these scantarget directories, it does not automatically compile or
reflect it in the web page display. Any ideas on what else needs to
Tim, thanks for providing the detailed explanation. I am aware of the things
that you explained.
What I wanted to put across was that there are two use-cases that are not
met by current support of inheritance and aggregation:
1) implicit or explicit inheritance of the container (aggregating
Perfect ! I applied the patch, it works now.
2007/7/23, Dennis Lundberg [EMAIL PROTECTED]:
Rodolphe Beck wrote:
Hello,
I tried to generate a website for my project. All the reports work fine
except cobertura: report result is generated into target/site/cobertura
but
not copied in the
Good day all,
I am having an issue with a project failing, because a dependant project isn't
using properties defined in my settings.xml file.
I have my settings.xml file in ~/.m2/setttings.xml and also symlinked it to /usr/local/maven/conf/settings.xml just so the default locations are
Stupid question but is the profile activated? What is the result of: 'mvn
help:active-profiles'
and 'mvn help:effective-pom'? In the output of 'mvn help:effective-pom' your
properties should be replaced with the version number.
Cheers, michael
Aaron Morand schrieb:
Good day all,
I am
I would like to know the best way to create a release artifact such as a zip
which contains my jar file along with all it's dependency jars in a bin
directory of the zip. I have used the assembly plugin to create wars with
external configs files and docs. But have not found any easy examples of
Hi:
This is very strange...
I have the following (legacy!) project structure:
src
|
|
main
|
|
config
spring
java
com
my
package
web
|
I fixed this by changing my 'web' directory to 'webapp' - just the name.
Why is this necessary though? Or did I miss something?!?!
From: Vaidya, Supriya A (US - Chicago)
Sent: Monday, July 23, 2007 3:16 PM
To: users@maven.apache.org
Subject: Maven: Unable to
See the default for the warSourceDirectory option in maven-war-plugin:
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webappDirectory
'webapp' is the default.
Patrick
On 7/23/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED]
wrote:
I fixed this by changing my 'web'
Thanks Patrick!
I included the following in my pom.xml, and now I can work with the
'web' directory -
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration
Hi,
Just a short note to say thanks to everyone who takes time out to
reply to others on this list (whether it's 1 message or 500 messages,
it's all valuable!)
I recently had cause to take a closer look at what makes this list so
successful, and realised there are a bunch of people doing more
Thanks for that Andrew, looks like what I was thinking I would have to do,
thanks once again for saving me a couple of hours of trying to work it.
Cheers
Paul
Andrew Boyer wrote:
Paul,
I used the dependency and assembly plugins. Something like:
plugin
We have many reports of issues with Tomcat (especially the combo of
Tomcat + Windows)
Please provide some details on your environment to help us reproduce
these problems.
See http://jira.codehaus.org/browse/MRM-333
- Joakim
Libor Kramoliš wrote:
Hello.
I have problem to run Maven Archiva
Hi,
I am having a problem where a dependent jar(the jar is called nlsorm
and is in the ipeservice jar) is being added to the manifest classpath
of one ejb(the mdb in this case) and not the other...the ejb in this
case: I am a bit puzzled as I have the ejb plugin configured the same
way in both..
We have been getting many reports of issues with Tomcat and Archiva.
We need your help to track down what is causing these issues.
Please goto http://jira.codehaus.org/browse/MRM-333 and file your details.
When reporting details, please include the following
1. Java version? (specifics
How is it possible to get the value of the current date and time within maven
so i can use it in the jar name of a build?
Cheers
Paul
--
View this message in context:
http://www.nabble.com/Accessing-current-date-time-during-build-tf4132633s177.html#a11753414
Sent from the Maven - Users
Joakim Erdfelt wrote:
We have been getting many reports of issues with Tomcat and Archiva.
We need your help to track down what is causing these issues.
Please goto http://jira.codehaus.org/browse/MRM-333 and file your
details.
When reporting details, please include the following
1.
Hi,
I want ot subscribe to this mailing list
Thanks
Barun
See http://maven.apache.org/mail-lists.html
More specifically, send an email to [EMAIL PROTECTED]
to subscribe.
Wayne
On 7/23/07, Barun Yadav [EMAIL PROTECTED] wrote:
Hi,
I want ot subscribe to this mailing list
Thanks
Barun
Has anyone else noticed that
maven-dependency-plugin:copy-dependencies:2.0-alpha-4 checks for
updates (at least daily) for new versions of released artifacts?
I haven't taken the step to see if this is the problem. I wanted to
find out if anyone else had noticed the problem first?
Cheers
Paul G wrote:
How is it possible to get the value of the current date and time within maven
so i can use it in the jar name of a build?
The buildnumber plugin
(http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html)
would help here.
-dirk
--
A: Maybe because some people are
That goal relies on Maven to do the resolution
(@requiresDependencyResolution test). If you're seeing some new
behavior, have you updated Maven itself recently?
-Original Message-
From: Barrie Treloar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 7:20 PM
To: Maven Users List
If you are just interested in dependencies, you can also use the
dependency:resolve goal. The go-offline also attempts to resolve named
plugins and their dependencies. It currently doesn't get the standard
plugins unless they are mentioned in your pom (or parents).
-Original Message-
Can you file a jira so this can be investigated further?
-Original Message-
From: Davy Toch [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 22, 2007 2:01 PM
To: users@maven.apache.org
Subject: Type in documentation on Dependency scope?
In the section Dependency Scope of
On 7/24/07, Brian E. Fox [EMAIL PROTECTED] wrote:
That goal relies on Maven to do the resolution
(@requiresDependencyResolution test). If you're seeing some new
behavior, have you updated Maven itself recently?
I don't know if it is new behaviour.
We are using 2.0.7, its just something I have
hey.. u can also this also ..
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration
webXmlrelative path for web.xml starting from root of war
module/webXml
/configuration
I've been working on several log4j related projects with Maven recently and
I've started having errors during site generation start occurring on
projects that had been working. The symptom is: Error loading report
org.apache.maven.plugin.jxr.JxrReport - AbstractMethodError:
canGenerateReport()
I will be out of the office starting 16.05.2007 and will not return until
08.01.2008.
I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.
No :) I don't try to create a new line in the db to get another user. I
used the web page ! But I can set (within the derby db) the admin
permission for this new user as the db schema evolves and I can't found
the right table to update the user permission.
Is there someone who know how to set
Hello,
this is a Test.
Did you check the link I sent - I think what you want is done in the steps
mentioned in the link. A normal user is converted into an admin user.
Anoop
On 7/23/07, B. De Mezzo [EMAIL PROTECTED] wrote:
No :) I don't try to create a new line in the db to get another user. I
used the web page !
Hello Jens,
When you add a project in Continuum, a Notifiers tab can be seen in the
Project Group Summary page. You can add notifiers there. The notifier may
be a Mail Notifer (continuum sends emails), IRC (continuum posts a message
to a channel), MSN, Jabber (continuum sends a private
Ok.
How to Notify on the Developers that need to be notified ?
Lets say: if several users committed into our SVN it will be nice that only
the Developers get notification that commited something since last
sucessfull Build.
Is it possible the Continuum ?
regards,
Jens
Hello Jens,
When you
Hello,
i test Continuum. If i remove an Projekt is seems Continuum hangs.
The java process uses 100% CPU and nothing happen after some minutes.
Any hints for that too ?
regards,
Jens
You can set the notifier to send on successful builds, then only what's
specified in the notifier will be notified. If you're referring to a
post-commit SVN notification, it's another story. :)
On 7/23/07, Mac-Systems [EMAIL PROTECTED] wrote:
Ok.
How to Notify on the Developers that need to
Hello :)
If i add an Projekt to Continuum via URL (it is an maven 2 Multiproject)
i get listed
all subproject in the Project list. I read about the non-recursive parameter
but is seems not to work as all Projects were listed.
How to setup an Multi project an prevent any subproject to be
It's a feature of 1.1-beta-1 that we'll be released this week. You'll can
choose to add all projects in Continuum or only the parent with a non-recursive
mode.
Emmanuel
Mac-Systems a écrit :
Hello :)
If i add an Projekt to Continuum via URL (it is an maven 2 Multiproject)
i get listed
all
yes I looked at your link, but it is explained for an older db schema
and it is not usable with the current db shema. The current db seems to
be quite different than the old one. And I can't find how to set
permission with the current db schema.
Anoop kumar V a écrit :
Did you check the
I made some small changes to my project and removed an unwanted
repository and now get errors. My settings points to a local repository
that looks like it contains all the dependencies, and the hosting server
has no internet access, so I manage them manually.
Online report :
That means i have to remove any subproject so far by hand ?
Bye the way: What about an Checkbox which selects any project i want to
remove. Actually i have 15 Subprojects
removing all by hand is stupid work ..
regards,
Jens
Emmanuel Venisse schrieb:
It's a feature of 1.1-beta-1 that we'll
81 matches
Mail list logo