I need some help in setting the JAVA_HOME environment variable to run when
the server is restarted? I use JAVA_HOME for several programs and I can not
figure out how to set this for continuum.
I can get this set in every app except apache/maven continuum. I have tried
the following in the
Hi,
Building mvn 2 projects with continuum 1.0.3 i get the same exception on all
my multi-project projects:
java.lang.NullPointerException
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1078)
I read somewhere that this is a bug in
This is a maven issue, see CONTINUUM-1000
Emmanuel
takai a écrit :
Hi,
Building mvn 2 projects with continuum 1.0.3 i get the same exception on all
my multi-project projects:
java.lang.NullPointerException
at
Hi,
Thanks for your reply. I already tried this but I got the raw static pages on
the resulting website, not integrated maven-look pages (with left side menu,
CSS...) or did I make something wrong ?
Bertrand Florat
Bertrand Florat wrote:
Hi,
Having my doc in HTML (cannot change to APT,
Normally, we'll release a first alpha this month. We have always some little
bugs but it's generally stable.
Emmanuel
Artamonov, Juri a écrit :
Emmanuel,
What state now for 1.1? As I saw from e-mail somebody already tried to build it
from the trunk and even deploy for Tomcat. It's solid
Java plugin question:
When writing a Java plugin, how do I obtain the currently executed
plugins's dependency list?
I tried project.getBuild().getPlugins() but the plugin models here seems
to be without dependencies.
Do I have to perform a lookup of the plugin as an artifact and get the
Hi Shinjan,
I haven't tried doing this, but maybe you'd like to send me your build logs
so I can help you debug. For now, all I'm sure is that executing a single
phase is not possible without executing the preceeding phases.
Dawn
I hav
shinjan sen wrote:
Hi Dawn,
Thanks for the input.
/**
* @parameter expression=${plugin.artifacts}
* @required
* @readonly
*/
private List pluginArtifacts;
On 1/8/07, Niels Gylling [EMAIL PROTECTED] wrote:
Java plugin question:
When writing a Java plugin, how do I obtain the currently
Hi All ,
I was sucessfully build the project in MaVAEN.But i am using
maven with in the scarab
mvn java:compile
it will through an Exception or Build Error like this
'org.apache.maven.plugins:maven-java-plugin' missing. so what to do. cani i
download plugin
Hi,
I have a webapp project,and I have two files in src/main/config ,now I want
package these files into ejb.jar/META-INF when I execute mvn jar:jar .
This is my pom.xml :
plugin
artifactIdmaven-jar-plugin/artifactId
configuration
Thanks for the response Dan.
It did not work using either JDK 1.4.2_13, 1.5.0_10, or 1.6.0. I did get
it to run though, by removing the environment factory and running Maven
from the VS.NET 2003 command prompt.
So, I think the problem lies in that a TEMP variable is never specified
in the
2.3 needs to be marked as released in JIRA.
Mark
On 30/12/06, Jason van Zyl [EMAIL PROTECTED] wrote:
The Maven team is pleased to annonunce the release of the Maven
Deploy Plugin, version 2.3.
http://maven.apache.org/plugins/maven-deploy-plugin/
You can run mvn -U to get the latest version
The snapshots have been deployed (maven-surefire-plugin version 2.3-SNAPSHOT).
Read
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html
for information on how to use them.
On 1/8/07, berndq [EMAIL PROTECTED] wrote:
David J. M. Karlsen wrote:
...
Buildig a
Done - thanks
On 08/01/07, Mark Hobson [EMAIL PROTECTED] wrote:
2.3 needs to be marked as released in JIRA.
Mark
On 30/12/06, Jason van Zyl [EMAIL PROTECTED] wrote:
The Maven team is pleased to annonunce the release of the Maven
Deploy Plugin, version 2.3.
Add the required directory as a resource in your pom.xml file.
Eg:
build
resources
resource
directorysrc/main/config/directory
/resource
/resources
:
:
:
/build
-Original Message-
From: fy [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007
-Original Message-
From: drekka [mailto:[EMAIL PROTECTED]
Sent: 08 January 2007 06:31
To: archiva-users@maven.apache.org
Subject: Re: Giving up on Archiva
Thanks Michael, that worked. How silly of me ;-) I've added
my experiences to the wiki as per my other post. It would be
Hi Peter,
I'm just about to get into deploying to the local repository. All things
being equal I'm hoping it should be more straight forward. I'll cerrtainly
amend the guide with a basic example of doing it once I've got it working in
the next day or so.
As for Jetty and Tomcat. Jetty was the
On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
-Original Message-
From: drekka [mailto:[EMAIL PROTECTED]
Sent: 08 January 2007 06:31
To: archiva-users@maven.apache.org
Subject: Re: Giving up on Archiva
Thanks Michael, that worked. How silly of me ;-) I've added
my
Great post. Your right, maven is a great tool, but still has a way to go to
make if perfect for most people.
Part of the problem is that release processes are shaped by forces outside
of the development team, such as legacy systems, existing team structures,
and other sorts of company history.
Good day to you, takai,
What phases do you think are lacking?
If you want, you can file for a request for phase or lifecycle in [1] under
the Plugins and Lifecycle component.
Also, aside from the reference Rahul gave, you can also try and take a look
at [2] for more info regarding
Hello all,
I seem to be running into the same problem: I can't configure the
cobertura datafile.
When running cobertura:cobertura I am getting:
Cobertura: Coverage data file C:\projects\myproject\cobertura.ser
either does not exist or is not readable. Creating a new data file.
Followed by
Hello,
When I run my JUnut test suit from Maven using mvn test some tests
fail because setUp() and tearDown() are never called. Surley these
should be called automatically when the test is run?
The tests work fine when run from Eclipse.
Is there something stupidly obvious that I'm missing?
please post your pom and test code.
On 1/8/07, Andrew Birchall [EMAIL PROTECTED] wrote:
Hello,
When I run my JUnut test suit from Maven using mvn test some tests
fail because setUp() and tearDown() are never called. Surley these
should be called automatically when the test is run?
The tests
Don´t know about IntelliJ, but with Eclipse WTP you can debug
applications not deployed by the IDE. You only have do start the
server within the IDE, but not deploy through it.
On 1/6/07, Mikael Andersson [EMAIL PROTECTED] wrote:
Hi
I have a little webapp which has some resources filtered I
Christian Goetze-3 wrote:
... get screwed by one guy outside accidentally including a dependency
with encumbering licensing. That's the big drawback of the automatic
inclusion of transitive dependencies.
But maven is powerful enough to allow you to report on the licenses of all
Jason van Zyl wrote:
The Maven team is pleased to annonunce the release of the Maven EAR
Plugin, version 2.3.
http://maven.apache.org/plugins/maven-ear-plugin/
You can run mvn -U to get the latest version of the plugin.
- The Maven Team
I've configured the maven-source-plugin as such:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
version2.0.1/version
executions
execution
!-- To deploy the sources automatically --
Bump - I could really use some feed back here people, this has me
completely wedged...
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 3:56 PM
To: Maven Users List
Subject: RE: maven version management in ant
I made it a bit further:
Hey,
I don't really know the answer to your question but you can also use the
property -DperformRelease=true.
Then javadoc sourcejar are generated for you. It saves you the trouble of
declaring the plugin's in every pom and it only generates the jars when you
ask it to. Not on every build.
There is no java plugin with a compile goal, so its failing.
You should run mvn compile instead. And you should read the Better
Builds with Maven PDF book to learn more about how Maven works, what
plugins/phases/goals are available etc.
Wayne
On 1/7/07, Murugan [EMAIL PROTECTED] wrote:
Hi
As discussed on #maven, it sounds like a setup issue on your side. If
you are able to reproduce please raise an issue with your project.
On 1/8/07, David J. M. Karlsen [EMAIL PROTECTED] wrote:
Jason van Zyl wrote:
The Maven team is pleased to annonunce the release of the Maven EAR
Plugin,
You meant you are not allowed to set your own environment variable?
If you are in such a environment, using env factory would not work.
Please see if you can reproduce the problem and file a JIRA
thanks
-Dan
On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks for the response
Hi,
Is there a way to create a zip file contains all the dependencies
(transitively) specified in a pom.xml file (both source and classes)
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Ok,
was just about to check if eclipse is better (but the site with the sysdeo
plugin was down ;) ).
I guess there is no way for me to somehow keep src/main/webapp/ as web root
to be able to change jsp's/xhtml files is there?
- Mike
On 08/01/07, Fabricio Lemos [EMAIL PROTECTED] wrote:
Don´t
Hi,
Have you tried Remote Debugging in IDEA?
Essentially you choose whether to connect over a socket or shared
memory, and then put some extra parameters on the Java runtime (e.g.
into the container's startup command). IDEA then connects and debugs it
remotely - works over the network as
Hi all,
i was wondering how to avoid maven2 uploading latest jars from
repositories
. question came after i was working on an hibernate/spring app last
weekend
i read somewhere that someone has changed hibernate DTD last weekend, so i
changed my code accordingly, andthis morning when i
OK I think I found out how to do this. I wouldn't be using different
scopes, but I would be using different assemblies. Correct or not?
On 1/5/07, Thierry Lach [EMAIL PROTECTED] wrote:
I'm putting together a build process in which I want to be able to
customize the war build to optionally
You should be able to set the TEMP/TMP paths to something your user
has access to.
set TEMP=...
set TMP=...
Also C:\Windows\Temp is a strange place for your TEMP folder. On my
system, it defaults to:
TEMP=C:\DOCUME~1\WFay\LOCALS~1\Temp
TMP=C:\DOCUME~1\WFay\LOCALS~1\Temp
I've never seen Windows
I would just solve this with 2 profiles and a shared variable ie
${myscope} which is set in the profiles to be provided or compile.
Then in the various poms, I'd specify the dependency as
scope${myscope}/scope.
Alternatively you can specify the dependencies themselves in the profiles [0].
[0]
If you're working with a snapshot, then I only know of -o to suppress
the update. But there's probably a way to do it, perhaps by specifying
the complete snapshot version number and locking it down.
If they're releases, then you can lock down the version in your pom ie
version[1.2.3]/version and
I have multiple war modules. To have files of all these modules in single
war file, I some war modules have dependency on others.
dependency
groupIdashish.prgcal/groupId
artifactIdcoreWeb/artifactId
version1.0-SNAPSHOT/version
typewar/type
/dependency
Dear Maven Users,
Does anyone know a good way to set up the site generation on a parent level?
I would like to have all reports of the individual modules changed moved to
the target directory of the parent project so that all information together
will be together and not on a module level.
Any
I replied to your other thread. The maven java:compile stuff is from
Maven1 and it sounds like you're running Maven2.
You will need to use mvn compile in M2.
Wayne
On 1/8/07, Murugan [EMAIL PROTECTED] wrote:
Hi All ,
I was sucessfully build the project in MaVAEN.But i am using
EJ:
Unsure if it's the same in maven2, but maven.dependency.classpath contained
dependencies in m1.
I have a feeling you'll have to splice maven.compile.classpath in with it,
though.
http://wiki.astrogrid.org/bin/view/Astrogrid/UsefulMavenNotes#How_to_find_out_what_is_actually
HTH
In which snapshot repository can I find it?
I supposed it to be in
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/surefire/
Tom Huybrechts wrote:
The snapshots have been deployed (maven-surefire-plugin version
2.3-SNAPSHOT).
Read
Rahamim, Zvi (Zvi) wrote:
Hi,
Is there a way to create a zip file contains all the dependencies
(transitively) specified in a pom.xml file (both source and classes)
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello,
I am using maven 2.0 and filtering. I am facing the following issue:
I have the following entry in my log4j.properties:
log4j.appender.spproll.File=${spp_log_path}/${weblogic.Name}_spp-web.log
There are 2 variables:
1/ ${spp_log_path} has to be replaced by maven
I looked over the lists for a while, but found nothing to address this so I
thought I'd ask.
Some projects have a url defined at the project level, but I can't seem
to see what it means.
That is:
project
blahblahblah
urlhttp://20.20.20.20/Someurl /url
distributionManagement
site
It is. But you are pointing to the surefire directory inside that repository.
You need to use http://people.apache.org/repo/m2-snapshot-repository/
as repo url.
On 1/8/07, Zaphod [EMAIL PROTECTED] wrote:
In which snapshot repository can I find it?
I supposed it to be in
Hi,
The way I like to do this is as follows:
PARENT:
Specify a report output directory for the parent.
reporting
outputDirectoryc:/myreports/myproject/site/outputDirectory
plugins
... Specify all report plugins ..
/plugins
/reporting
CHILD:
Use pom
My guess would be that your tests were working with Ant's junit task
which uses a forkmode of 'pertest' by default, but they are now failing
because Maven's surefire plugin uses a default of 'once' by default. You
can change the setting for the surefire plugin by adding a configuration
something
I'm experimenting with deploying snapshots to an internal snapshot
repository, using the scpexe URL scheme for now. I noticed that each
time I deploy, maven generates a fresh version¹ and places a new set
of files in the repository.
Is there any automated way to clean up old snapshots, or control
Thanks, Dawn! I filed it already: http://jira.codehaus.org/browse/MNG-2742
I sure hope it's not me using a bad configuration! Anyone see anything
wrong with it?
--matthew
dawn.angelito wrote:
Hi,
Not sure if this one's a bug because it should be working. However, you
may file an
On 1/8/07, Mikael Andersson [EMAIL PROTECTED] wrote:
Ok,
was just about to check if eclipse is better (but the site with the sysdeo
plugin was down ;) ).
With WTP (http://www.eclipse.org/webtools/), you don´t need sysdeo.
I guess there is no way for me to somehow keep src/main/webapp/ as
Hi all,
NB: this is mostly a sanity checking message.
I want to create a custom remote Maven repository to host our software that
uses versions in the format
major.minor.revision build buildNumber
For example, for version 1.2.3 build 456, is the correctly Maven2-formatted
version string
-Original Message-
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: 08 January 2007 12:05
To: archiva-users@maven.apache.org
Subject: Re: Giving up on Archiva
On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
-Original Message-
From: drekka
-Original Message-
From: drekka [mailto:[EMAIL PROTECTED]
Sent: 08 January 2007 12:01
To: archiva-users@maven.apache.org
Subject: RE: Giving up on Archiva
Hi Peter,
I'm just about to get into deploying to the local repository.
All things being equal I'm hoping it should be
Perhaps your problem do not come from your Maven configuration.
Did you try to check your log4j configuration file ?
http://www.google.com/search?hl=enq=log4j%3AWARN+No+appenders+could+be+found+for+logger
Remy
FWIW
snippet of working maven pom.xml and ant build.xml
# pom.xml partial
[snip]
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasepre-site/phase
configuration
tasks
typedef
On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
-Original Message-
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: 08 January 2007 12:05
To: archiva-users@maven.apache.org
Subject: Re: Giving up on Archiva
On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
That did not work, ${plugin.artifacts} og ${plugin.artifactMap} did
resolved when the plugin was executed - I had to use the 'brute force'
method of resolving the plugin artifact dependencies manually.
Tom Huybrechts wrote:
/**
* @parameter expression=${plugin.artifacts}
*
There's a bug logged on JIRA about 'uniqueVersion' property. I think its
fixed for release 2.0.5 (not out yet).
So until 2.0.5 is out its a manual process, I guess :-)
cheers,
Rahul
- Original Message -
From: Steven E. Harris [EMAIL PROTECTED]
To: users@maven.apache.org
Sent:
I am not sure how those properties you are setting affect the build.
You can set properties within a profile, so theoretically (and I have
not tried this) you can try:
profile
idrelease/id
properties
you props here...
/properties
/properties
and then from command line
Ah, i figured it out it was Eclipse being clever and running setUp()
and tearDown() when it shouldn't have been. Maven was behaving
correctly. Thanks for your help guys.
Andy
On 08/01/07, Chris Hilton [EMAIL PROTECTED] wrote:
My guess would be that your tests were working with Ant's junit task
Bertrand Florat wrote:
Hi,
Thanks for your reply. I already tried this but I got the raw static pages on
the resulting website, not integrated maven-look pages (with left side menu,
CSS...) or did I make something wrong ?
No, you did it right. I didn't understand that you wanted the
Hello,
Is it possible to install a whole multi module project and do a
cargo:deploy on the ear sub-module with only one maven command?
thanks in advance,
Fabrício Lemos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Since I was interested in the same thing, I did a little source code
archaeology, and it appears that one way to accomplish this is to have a
file META-INF/maven/lifecycle.xml in the jar. I found an example in
maven-2.0.x/integration-tests/maven-core-it-plugin/src/main/resources/...
Disclaimer:
Rahul Thakur [EMAIL PROTECTED] writes:
There's a bug logged on JIRA about 'uniqueVersion' property. I think
its fixed for release 2.0.5 (not out yet).
Do you happen to know the JIRA key, or perhaps its title? I've been
searching on http://jira.codehaus.org under the Maven 2.x Deploy
Plugin
Here:
http://jira.codehaus.org/browse/MNG-1908
Rahul
Steven E. Harris wrote:
Rahul Thakur [EMAIL PROTECTED] writes:
There's a bug logged on JIRA about 'uniqueVersion' property. I think
its fixed for release 2.0.5 (not out yet).
Do you happen to know the JIRA key, or perhaps its
Rahul Thakur [EMAIL PROTECTED] writes:
http://jira.codehaus.org/browse/MNG-1908
Thanks, but I don't see any content in that issue or any of its
duplicates that mentions cleaning up old snapshot versions from a
deployed repository.
--
Steven E. Harris
Here is my current settings.xml:
mirror
idmirror/id
urlhttp://fawkes-dev01.ofoto.com:/repository/url
mirrorOfcentral/mirrorOf
/mirror
As you can see, I funnel all requests through our corporate maven proxy
mirror.
However, there is a SPOF. When fawkes-dev01 goes
Please see http://jira.codehaus.org/browse/MNG-714
This enhancement is scheduled for 2.1.
Wayne
On 1/8/07, Don Steffy [EMAIL PROTECTED] wrote:
Here is my current settings.xml:
mirror
idmirror/id
urlhttp://fawkes-dev01.ofoto.com:/repository/url
mirrorOfcentral/mirrorOf
I have gotten around this problem by specifying version 2.0 of the cobertura
plugin. This causes Maven to use version 1.7 of Cobertura which does not
exhibit this problem.
- Original Message -
From: Hans L'Hoest [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent:
hi
Thx Wayne. When i am create torque obje mvn war it throw a buid error.
plz reply me
With regards
Murugan
Wayne Fay wrote:
I replied to your other thread. The maven java:compile stuff is from
Maven1 and it sounds like you're running Maven2.
You will need to use mvn compile
You need to provide a lot more details if you seriously expect me or
anyone else to be able to help you with your problem(s)...
You should probably read Eric S. Raymond's How to Ask Questions the
Smart Way and then reply back with more information:
http://catb.org/~esr/faqs/smart-questions.html
Ah I was talking about 'uniqueVersion' issue, setting it to 'false'
wouldn't work.
Sorry about the confusion. I am not sure about anyway to clean up old
snapshot version except for manual purge. But note that would render the
metadata.xml out of sync.
Cheers,
Rahul
- Original
Hi Wany
Sorry for your inconvieneance. I am using Maven [M2] . I used
maven.com to try to find how to build maven ,but maven site only focus m1.
I am new to maven.I was sucessfully build my project in Mvaen .Now i want
integrate maven project in to scarab Bug Tracking tool.so i need
See http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin
For steps on how to:
* Build an internal repository containing the plugins from an Eclipse
installation
* Add the Eclipse RCP artifacts to your internal repository
* Create an Eclipse RCP Target
And links to pde-maven-plugin if you
Hello every one,
There seem to have a number of interests, including me, in a maven plugin
version of ascii2native task,
so I cooked up one and deployed a snapshot of
native2ascii-maven-plugin-beta-1.
The site is at http://mojo.codehaus.org/native2ascii-maven-plugin/
Feedbacks are every
Murugan,
Or read the guides in maven site http://maven.apache.org/guides/index.html.
The docs are alot better now compared before :)
Wayne Fay wrote:
There is no java plugin with a compile goal, so its failing.
You should run mvn compile instead. And you should read the Better
Builds
Hey,
Im finding a stange problem with maven when running the junits
I get the following exception, on googling found a bug already reported
http://issues.apache.org/jira/browse/TUSCANY-574?page=all
Is there a work around for this problem?
to make the things bad, this happens only for one the
I'm using maven 2.0.4
Cheers
On 1/9/07, Ravi Nallakukkala [EMAIL PROTECTED] wrote:
Hey,
Im finding a stange problem with maven when running the junits
I get the following exception, on googling found a bug already reported
http://issues.apache.org/jira/browse/TUSCANY-574?page=all
Is
Could I suggest:
To have this resource linked from the eclipse plugin website as well;
would be nice for users looking for Maven-Eclipse integration info.
Cheers,
Rahul
- Original Message -
From: Barrie Treloar [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent:
Hi All,
I am using maven-cobertura-plugin-1.2 cobertura-1.8.
We have extended the org.apache.log4j.AppenderSkeleton class.
When cobertura tries to instrument the class a
java.lang.NoClassDefFoundError is thrown.
I have searched the mail archive and found mails referring to older
versions,
Thank you Bob. This worked.
On 1/9/07, Bob Allison [EMAIL PROTECTED] wrote:
I have gotten around this problem by specifying version 2.0 of the cobertura
plugin. This causes Maven to use version 1.7 of Cobertura which does not
exhibit this problem.
- Original Message -
From: Hans
Hi,
maybe related to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4466485
Path to your maven repo (and therefore to your jar) has spaces
included, this might brake some things.
Maybe try to move your repo to some location without spaces?
Bernd
Hey,
Im finding a stange problem with
Hi Andy,
Ah, i figured it out it was Eclipse being clever and running setUp()
and tearDown() when it shouldn't have been.
just curious: where did eclipse behave incorrectly?
(Hope this is not too much off topic for a maven list)
Bernd
Maven was behaving
correctly. Thanks for your help
I am trying to create an upload bundle for a new project (http://
innig.net/software/sweetxml/), and am running into this bug:
http://jira.codehaus.org/browse/MREPOSITORY-3
I have some build configuration (stuff like source path) that's
shared by several subprojects, so I've factored it
88 matches
Mail list logo