--
View this message in context:
http://www.nabble.com/Problem-running-Cruisecontrol-tf3062780s177.html#a8517088
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I have a problem running Cruiscontrol with Maven 1.0
When I enter maven cruisecontrol:run
I've got the Problem:
Attempting to download jaxen-1.0-FCS-full.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/jaxen/jars/jaxen-1.0-FCS-full.jar]:
java.net.ConnectException:
Hey,
On 1/22/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi All
I have multi module projcte like
Project
|_ ejb_project
|_pom.xml
|_ java_project
|_pom.xml
|_ web_project
Hi,
On 1/22/07, Alok Jindal [EMAIL PROTECTED] wrote:
Hi,
I'm http://www.nabble.com/file/5835/TraceLogEar.txt TraceLogEar.txt
http://www.nabble.com/file/5836/pom.xml pom.xml
I working on a project, having ejb, web and java project. I want to package
then as a ear but i'm facing the given in
Hi
I'm trying to create a web services project (JAX-RPC with Axis 1.3) and want
to do it with maven 2.
I've read Better Builds with Maven and searched googled about this matter
but couldn't found info. BBWM talks about how to make a client ws
application.
I wonder how should I make a
Hi
there is a jar named http.jar in jax-ws 2.0 libs,but i can't find it in
maven rep,help me! Thanks!
Try to extract the pom first inside the jar then execute your
command including the -DpomFile parameter
mvn install:install-file -Dfile=custom-plugin-1.0-SNAPSHOT.jar
-DgroupId=com.foo.mojo -DartifactId=custom-maven-plugin
-Dpackaging=maven-plugin -Dversion=1.0-SNAPSHOT -DpomFile=path of pom
Hi,
how to generate hibernate .hbm.xml file from xdoclet tag using maven while
mvn compile or deploy
I achive this using ant but maven how can i proceed ?
Any help appriciated.
Alauddin
--
View this message in context:
Hi Jeff,
Not really. You can either create an artifact that contains your checkstyle
config file and add it to your project as a dependency or you could specify its
URL.
Personally I would recommend the second one. Here's a snippet of my pom.xml.
...
configuration
plugin
artifactIdxdoclet-maven-plugin/artifactId
groupIdorg.codehaus.mojo/groupId
executions
execution
idxdoclet/id
phasegenerate-resources/phase
goals
you could read this issue : http://jira.codehaus.org/browse/MSITE-189
which coordinate the efforts of several users to write a Dashboard Plugin
for Maven 2
and i have release a snapshot version of my dashboard plugin :
http://mojo.codehaus.org/dashboard-maven-plugin/
a newer version will be
Hello,
I have a use case where I want to use public repositories, like central, and
internal repositories. All in the same maven project.. nothing new this far.
Some of the artifacts I store in the internal repository, like customer
specific material, are for sure never going to be found in
Hi,
I'm writing a plugin to prepare my build phase.
I want to execute it from a top level directory.
So I already figures out I need to set the requiresProject tag in
plugin.xml to false.
But now my question .. how can I do this?
Can't find the answer on google or the maven site.
Kind
Hi,
is it possible to trigger profile activation by activating another
profile?
I have several profiles defined that can be divided to few sets that
have some parts in common. I would like to place these common parts in
different profiles. For example I would have profiles profile1,
profile2,
Hi,
I have WebStart project, where I have two modules:
root
+-- client-jar
| +-- pom.xml
+-- server-war
|+-- pom.xml
+--pom.xml
How can I specify that I want to pack client-jar.jar into
server-war.war as resource not as library? i.e. I don't want to be
included in server classpath but
Ok. Thanks for your help.
2007/1/22, Wayne Fay [EMAIL PROTECTED]:
In short, no, that is not right. In your example, you have not
eliminated the circular dependency. You still have A {B} and B {A}.
This is not acceptable.
In short, decide if A builds upon B or if B builds upon A; you cannot
We use maven-dependency-plugin to load and copy/unpack to a staging
directory and later on package this directory as a war file.
See http://maven.apache.org/plugins/maven-dependency-plugin/usage.html
Erez.
Muntis Grube wrote:
Hi,
I have WebStart project, where I have two modules:
root
+--
Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to
copy this jar to local repository and specify in pom.xml, Is there anyway I
can specify the local path(c:\test) instead of repository.
thanks a lot for your help.
Ram.
--
View this message in context:
Hi all! I'm trying to include artifact's version (variable versao.sis) into
manifest.mf file in a jar, war and ear, but I didn't manager to do this.
I tried to include the lines below, but it didn't work:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
Hi,
Use system scope:
dependency
groupIdjboss/groupId
artifactIdjboss-ejb3x/artifactId
version4.0.3/version
scopesystem/scope
Hi Roberto,
this is a bug in the assembly plugin
http://jira.codehaus.org/browse/MASSEMBLY-121
The bug is fixed now but the fix does not work for me.
Let me know if it works for you.
Bernd
Hi all! I'm trying to include artifact's version (variable versao.sis) into
manifest.mf file in a
Hi Muntis
In fact I did this still it cant find the jar,
This is my sample pom.xml, looks like the path is wrong?
dependency
groupIdjsf/groupId
artifactIdjsf-api/artifactId
version1.2/version
scopesystem/scope
You could try backslashes instead of forward slashes.
I'm writing some batch scripts at the moment and having some problems
with path names due to the slashes.
Good luck
-Original Message-
From: vojjala [mailto:[EMAIL PROTECTED]
Sent: dinsdag 23 januari 2007 15:07
To:
Hello Graham,
Try to use release plugin
mvn release:prepare
mvn release:perform
It releases file, creates tag and updates SCM url and version.
Graham Berks píše v Po 22. 01. 2007 v 16:27 +:
If I put in the url for the repository location into the pom.xml it
appears to tie it to one
Thanks a lot. It is working now.
jelle.volckaert wrote:
You could try backslashes instead of forward slashes.
I'm writing some batch scripts at the moment and having some problems
with path names due to the slashes.
Good luck
-Original Message-
From: vojjala [mailto:[EMAIL
Hi all,
I have created a project using the command:
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DgroupId=fr.tge.test -DartifactId=Test
Witch goal should I execute to generate a web app implementing the
framework Spring and how to download the plugin.
Sun does not release this file to maven repo, so you need to deploy it
internally to your internal repo or your local repo
-D
On 1/23/07, Java Santa [EMAIL PROTECTED] wrote:
Hi
there is a jar named http.jar in jax-ws 2.0 libs,but i can't find it in
maven rep,help me! Thanks!
Zakaria,
I have created a Maven archetype which creates JSF web projects with Spring
integration. I also have one that creates JPA projects, also using Spring.
If you're interested in these you can find more information about at:
http://wiki.rodcoffin.com/index.php?title=Maven_Home
Much of
Hi,
The command you used generate a simple project. You should use another
archetype for Spring.
AFAIK there is no Spring archetype in the maven repository, but you can use the
one provided by Webtide:
http://www.webtide.com/resources.jsp
I don't know if Webtide archetypes are available on a
Hello lexi
Are you trying to document your hibernate classes?? Have you tried hbm2doc?
Regards
Johann Reyes
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 11:22 AM
To: Maven Users List
Subject: Re: Hibernate3 export where *.hbm.cfg
Hello
I've defined in my pom:
--
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdaxistools-maven-plugin/artifactId
version1.0/version
executions
execution
Thanks for your help,
I want to generate a project with a webapp folder using Struts.
Wich artifact have I to use instide og DarchetypeArtifactId=jsf-maven-archetype
Tks
--
-Message d'origine-
De : Rod Coffin
The assumption is that you are using Maven in a large/corporate
environment for many projects, and sharing things like Checkstyle
configs etc in all of them.
Some people construct a simple Maven project, in their own company
groupId with an artifactId of say project-standards, and then bundle
I've run into precisely the same issue.
On 1/22/07 5:18 PM, Henri Tremblay [EMAIL PROTECTED] wrote:
Hi,
It seems that assembly plugin version 2.1 has issues with includes /
excludes for module sets. Specifically, unless I'm mistaken, includes
seems to be ignored and excludes are only
If you want to generate Struts projects consider another archetype. The
webtide link sent earlier by Julien included a Struts archetype. It wasn't
built with Spring integration in mind so you'll need to enhance the project
accordingly.
Rod
On 1/23/07, Khabot, Zakaria [EMAIL PROTECTED] wrote:
Hi Maven Users, I am wondering how can I call the sub level pom.xml from the
top level directory
My folder structure like this
c:\test\testapp\pom.xml
c:\test\test1app\pom.xml
c:\test\test2app\pom.xml
What I want is, in single execution of top level
pom(c:\test\testapp\pom.xml) should able to run
This works automatically if you set modules in the parent pom, and
parent tag in the children poms.
However, you have a directory structure which is not normal, so you
really need to change it before this will work. You need to use:
c:\test\testapp\pom.xml
c:\test\testapp\test1app\pom.xml
Define each of them as modules in your parent pom.
moduletestapp/module
moduletest1app/module
moduletest2app/module
Regards,
Rohit Sharma
GDC Contractor - Infosys Tech Ltd.
London, UK
Desk: (+44) 207 174 5352
mailto: [EMAIL PROTECTED]
-Original Message-
From: vojjala
Thanks a lot, I can able to call the sub level pom using pom as packaging
in parent pom.xml. But I could not create ear, this is my sample code in
parent pom.xml for ear.
build
defaultGoalpackage/defaultGoal
plugins
plugin
Hi
On the 'introduction-to-profiles' page it is stated that ' one of the goals in
maven 2 is to consolidate all the information needed to run a build into a
single file, or file hierarchy which is the POM. To my surprise however, it is
rather difficult to configure a specific JDK (i.e.
So I tried to create different archetupes (sipmple project, web) and these
seem to work, only portlet archetype is out of order. What would be the best
way to proceed with trying to build portlets with Maven? Should I create a
simple web project and add some needed files and folders manually?
Evi
Hi,
We're also looking at adopting Maven and would like to propose some
additions to the SCM support, including the CVS SSPI protocol. Daniel, is
this something you intend to start actively looking at? Just want to make
sure we don't duplicate work.
dan tran wrote:
Daniel, I'd like suggest
Hi,
actually what i was doing was trying to generate schema export file, but
then i
figured out that i might let the hibernate session create tables for me..
regards
marco
On 1/23/07, Johann Reyes [EMAIL PROTECTED] wrote:
Hello lexi
Are you trying to document your hibernate classes?? Have
Does any body have an idea of setting up an auto detect with continuum...goal
is for continuum to build projects upon commit of code by developer to CVS.
Basically Continuum monitors cvs projects and triggers build upon commit of
new code to project.
Thanks
--
View this message in context:
Can you provide a general overview of what you changed to do your custom
authentication please?
On 1/22/07, Martin van den Bemt [EMAIL PROTECTED] wrote:
A couple of things :
- Authentication is left to another system (our portal)
- Implemented group security (so a member of group x only see
Hi.
Are you trying to document your hibernate classes?? Have you tried hbm2doc?
No, we really need the database schema (DDL) for project documentation.
Bye.
/lexi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have a fairly large maven build with approx 30-40 different projects
grouped into different submodules. My layout is as follows.
pom.xml (includes modules common, app1, app2, etc... no plugins define,
just lists build order)
---common
--pom.xml (type=pom, build projects in common)
Hello lexi
K, so you need to use hbm2ddl with the jdbcconfiguration implementation with
the component property outputfilename set to a sql filename.
Regards
Johann Reyes
-Original Message-
From: Aleksei Valikov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 12:45 PM
To:
First version of Maven 2 repository index was just released. If you need
to search in the central repository or find matching artifact for a JAR
file you may be interested. Do not hesitate to run it from
http://m2-repoindex.sourceforge.net/
Cheers,
Lukas
I have a directory structure:
sql/src/test/java/com/presence/sql/bootstrap/LoadBootStrap.java
LoadBootStrap.java looks like this:
public class LoadBootStrap extends DBTestCase
{
test cases / setup / teardown etc
}
When I run mvn test
nothing happens.
However if I put a .java file
Is there a way to create a pom.xml file that will run only tests in one class
from the command line?
I want to type:
mvn target
Where target can be any word I choose and have it execute all tests in a
specific class only. there may be many, many classes in the test
directories, I only want
We do something similar here with a profile:
profile
idtest-name/id
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
includes
There are two ways actually to tell surefire which tests to run. Chris
already provided one: using includes/excudes which requires that you
edit your pom.xml.
Another way, which I use when I am editing a single test class is using
-Dtest=class name in cli.
Please see:
Maven runs all test classes that match a pattern. The default is *Test.java
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
2007/1/23, Lisa [EMAIL PROTECTED]:
I have a directory structure:
sql/src/test/java/com/presence/sql/bootstrap/LoadBootStrap.java
I plan to implement sspi support, hopefully this week (I have received
approval to spend up to four hours). If I am successful I will make my patch
available.
Of course, if you'd rather do the work, I wouldn't complain. ;)
~Daniel
-Original Message-
From: MarkC [mailto:[EMAIL PROTECTED]
We have about a dozen projects that run this plugin fine. Unfortunatly, one is
failing with a java heap space error. Our suspicion is because there are 1399
classes and 3522 tests, we may have simply overwhelmed the plugin. Many of
these classes are inner classes (this is a swing project).
If I am running mvn test from the command line and I have a log4j.xml file
that has an appender and a logger that sends log.debug(msg) and
log.info(msg) out to a file,
how do I tell Maven first of all to use log4j as the logger and to point to
the log4j.xml file that I have in my directory (same
This goal is now deprecated :
http://maven.apache.org/maven-1.x/plugins/cruisecontrol/goals.html
You have to launch it manuallly
Arnaud
On 1/23/07, mathapfahl [EMAIL PROTECTED] wrote:
Hi,
I have a problem running Cruiscontrol with Maven 1.0
When I enter maven cruisecontrol:run
I've got the
when running maven (from within eclipse) I get the following at the start of
the build
[DEBUG] Building Maven user-level plugin registry from:
'home\.m2\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO]
[INFO]
When doing a maven build, I get errors where maven is looking at
maven-surefire-plugin.
I tried to disable the tests in my pom.xml but it did not help.
(I have attached the pom and output below.)
Thoughts?
Cheers,
Andy
==
pom.xml
==
... doesn't work, as I expected.
Is there any hope that a JIRA request for enabling a locking mechanism
for the local repo to allow multiple instances of maven to run has a
chance of getting implemented?
Are there any plans to make maven itself multithreaded or capable of
parallel builds?
Hello,
I am using junit TestSetup to set up a common selenium connection among my
different tests. The TestSetup runs a global setup and Teardown once before
any of the tests are run. I wrapped a TestSuite in a subclass of TestSetup
and it works perfectly fine when the TestSuite is run from
Hi there,
I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven
plugin, please see
Caused by: java.lang.LinkageError: loader constraint violation: when
resolving field DATETIME the class loader (instance of
org/codehaus/mojo/exec/ExecJavaMoj
o$IsolatedClassLoader) of the
Hi
Is it possible to have a common build section that is only executed for
certain profiles.
For example if I have in total 3 profiles in my pom, and out of 3, 2 have
absolutely same build section. I don't want to duplicate the same build
markup in my pom. Can I declare that 'common' build
Please explain why some of my Maven 2 dependencies are downloaded from
my remote Maven repository to my local Maven repository with Maven 1
POM's packaged inside of them? I looked on my Maven Repository, and I
saw that my artifacts had only v4.0.0 Maven 2 POM's, but when they were
downloaded to
You could try to give it a name with something like name. Thanks.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message.
Any
While I agree with that, I'm not sure how to give it a name (thuis the
reason for the post) :)
where do you define the project name?
amorgovsky wrote:
You could try to give it a name with something like name. Thanks.
This message (including any attachments) contains confidential
Put your log4j.properties (or xml) under src/test/resources. Make sure you
have log4j as a dependency.
On 1/23/07 1:36 PM, Lisa [EMAIL PROTECTED] wrote:
If I am running mvn test from the command line and I have a log4j.xml file
that has an appender and a logger that sends log.debug(msg)
You can define this in the name tag of your pom.xml.
Dawn
adingfelder wrote:
While I agree with that, I'm not sure how to give it a name (thuis the
reason for the post) :)
where do you define the project name?
amorgovsky wrote:
You could try to give it a name with something
Thanks
2007/1/23, Dan Tran [EMAIL PROTECTED]:
Sun does not release this file to maven repo, so you need to deploy it
internally to your internal repo or your local repo
-D
On 1/23/07, Java Santa [EMAIL PROTECTED] wrote:
Hi
there is a jar named http.jar in jax-ws 2.0 libs,but i can't
http://maven.apache.org/proposals/incubator/nmaven.html
Thanks
Lakshman
-Original Message-
From: Neeraj Bisht [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 January 2007 4:02 PM
To: Maven Users List
Subject: Fwd: Maven in .NET
-- Forwarded message --
From: Neeraj
Great, that works like a charm. :)
How about the project tag?
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-resources-plugin:maven-plugin:2.2 from the repository.
Cheers,
Andy
--
View this message in context:
You have not specify the name in the project
nameMaven Quick Start Archetype/name
On 1/24/07, adingfelder [EMAIL PROTECTED] wrote:
when running maven (from within eclipse) I get the following at the start
of
the build
[DEBUG] Building Maven user-level plugin registry from:
Try adding -cpu (check plugin updates) when building your project.
Hope this helps.
Dawn
adingfelder wrote:
When doing a maven build, I get errors where maven is looking at
maven-surefire-plugin.
I tried to disable the tests in my pom.xml but it did not help.
(I have attached the pom
Hi Jelle,
Add @requiresProject annotation in your mojo
/**
* @requiresProject false
*/
public class MyMojo
{
}
Please look on the deploy file mojo for your reference
Hi,
Have a look at www.appfuse.org There latest release (2.0 M2) uses Maven
archetypes to easily set up new projects.
Hope this is what you were looking for.
Regards,
Minto
-Oorspronkelijk bericht-
Van: Khabot, Zakaria [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 23 januari 2007
On 1/23/07, Wayne Fay [EMAIL PROTECTED] wrote:
The assumption is that you are using Maven in a large/corporate
environment for many projects, and sharing things like Checkstyle
configs etc in all of them.
Some people construct a simple Maven project, in their own company
groupId with an
Hi All,
am trying to deploy my site from windowsXP to my RedHat box .
Everything works fine except for the fact that each time that the mvn
site:deploy command is executed on each of my modules the following message
prompts me to validate the authenticity of my host
---START DOS
Hi,
I want to use yGuard as obfuscator in my project.
Can anyone help me, please.
regards,
gautam
-
Want to start your own business? Learn how on Yahoo! Small Business.
79 matches
Mail list logo