Hi Bryan,
I am asking the obvious, but do you have your hibernate.cfg.xml and
CategoryImpl.hbm.xml in src/main/resources.
Secondly, are you executing mvn clean resources:resources
hibernate3:hbm2java
Thanks
Lakshman
-Original Message-
From: Bryan Woodcox [mailto:[EMAIL PROTECTED]
Hi Marco,
As we don't know what problems you are having, I am taking a stab in the
dark.
Have you included the dependency jars
ie
dependency
groupIdorg.hibernate/groupId
artifactIdhibernate/artifactId
version3.1.2/version
/dependency
dependency
Hi Bob,
End user instructions are definitely something we'll need before putting
up a release. At the moment its basically just start it up, follow the
configuration screens.
- Brett
On 16/8/06 10:05 PM, Allison, Bob wrote:
I have been looking through the Maven web site and the archiva
Hello,
I'd like to add something like this:
Built-Time: 2006-08-19 15:32:04
to the META-INF/MANIFEST.MF file in my war.
Additionally, I would also like to do the same for
each generated jar file.
I know Maven supports properties with the syntax
${property name}, but is there a built-in
Hi all,
I am currently running functional tests with surefire + cargo and IntelliJ
IDEA. I have set both to the same container (tomcat5).
When the tests are executed, I seem to get failures in surefire + cargo that
does not appear on IDEA. Could this be a test environment issue or a bug in
Hello,
I'm trying to use modules in my component project to resolve the
fact that jaxb can't compile multiple xsd in the same project.
But when I launch mvn eclipse:init in the parent project, here's what I get :
...
Project ID: org.codehaus.plexus:plexus-yahoo-search
POM Location:
Hi Tony,
It's not supposed to happen. You need to give us more information so that we
can be of any help. Like the error you're getting, your test case, whether
there are any environment variables required by your tests, etc.
Thanks
-Vincent
-Original Message-
From: Tony Truong
Laurent GRANIE [EMAIL PROTECTED] writes:
[0] Packaging 'jar' is invalid. Aggregator projects require 'pom'
as packaging.
Error message tells you all: a parent pom *must* have its packaging
property set to pom.
regards
--
OQube software engineering \ génie logiciel
Arnaud Bailly, Dr.
This is the test case:
public void testExportPdfWithPng() throws Exception
{
String confDir = getTestProperty(basedir);
File image;
//if statement included for compatability with maven 2 and IDEA
if (confDir == null)
{
image = new
+1 with Arnaud, which means :
?xml version=1.0 encoding=UTF-8?
project
parent
artifactIdplexus-components/artifactId
groupIdorg.codehaus.plexus/groupId
version1.1.5/version
/parent
modelVersion4.0.0/modelVersion
artifactIdplexus-yahoo-search/artifactId
namePlexus Yahoo!
From what you're showing the error is coming from your test as the
stacktrace shows an AssertionFailedError which comes from your assert
statement.
You're showing only a small portion of your test case. Do you have a setup()
method or some statics like a suite() method?
Are you sure you're
Hi All,
Could someone please explain why hibernate is trying to create the
tables in the database when all I want it to do is generate the schema
file only.
Any thought is this matter is greatly appreciated.
When I execute
mvn clean resources:resources hibernate3:schema-export -e I get
See http://jira.codehaus.org/browse/DOXIA-72
Cheers,
Martin
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Samstag, 19. August 2006 01:21
To: Maven Users List
Subject: Re: [m2] Maven site and powered by
On 8/17/06, Alex Schwartz [EMAIL PROTECTED] wrote:
Dear Maven Users,
Does anyone of you have some enlightment for this issue ?
Regards.
-Original Message-
From: Sharma, Jaikumar
Sent: Monday, August 21, 2006 9:51 AM
To: Maven Users List
Subject: Discarding 'pom.properties' 'pm.xml' at the time of JAR
creatio n
Dear Maven Users,
Apologies.This was meant for the cargo list.Please ignore
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
Hi Andrew,
thanks for the release.
I successfully added the maventrac plugin. the first issue i encounted was
releated to the multi-module nature of my project. Although the parent
project website is correctly shown, links on the modules (those added by
menu ref=modules / on the parent site
Your MavenTrac setup seems fine. The extra /trac in the URL must be
caused by either your trac setup or your maven setup. The reason I say
this is that the URLs are all relative, so it is rather difficult to
screw it up - especially as MavenTrac does not rewrite links.
Are the module's sites
On 8/21/06, Andrew Williams [EMAIL PROTECTED] wrote:
Are the module's sites deployed as children of the parent?
from the parent project, i do a mvn site-deploy, so that the parent and and
the modules projects are deployed all togheter.
The behaviour i was expecting is to see the submodule
Valerio Schiavoni wrote:
On 8/21/06, Andrew Williams [EMAIL PROTECTED] wrote:
Are the module's sites deployed as children of the parent?
from the parent project, i do a mvn site-deploy, so that the parent
and and
the modules projects are deployed all togheter.
cool - that is correct.
Hi all,
I want to use a m1 remote repository with m2. I have wars in this
repository but no *.pom for these files.
But it seems that maven need a *.pom for downloading a resource from the
remote repository into my local repository.
My question is: It is possible to use a m1-repo without the
Hi,
i try to check out with
svn co http://svn.codehaus.org/mojo/trunk/mojo/maven-native
and always get a:
svn: PROPFIND von '/mojo/trunk/mojo/maven-native': 302 Moved Temporarily
(http://svn.codehaus.org)
Does anyone know what to do?
Thanks,
Thorsten
Hello guys,
Recent test plugin (1.8) changed to not depend on java:compile if
maven.test.skip = true or no test are present.
This introduced MPWAR-62, that is now solved.
AFAIK this also introduce a bug in jar plugin that will compile two
times the java sources
This also creates a bug when
On 8/21/06, Andrew Williams [EMAIL PROTECTED] wrote:
This should not be needed (and does not make sense) If the children are
correctly deployed they should sit inside the parent project (thus only
one root).
maybe this is the issue comes from. each submodule defines a url element
into its
Normally, it must work for more than one commit (a sample with 2 commit:
http://ci.codehaus.org:8001/continuum/servlet/continuum/target/ProjectBuild.vm?view=ProjectBuildbuildId=50822id=1)
If it doens't work for you with more than one commit, it's a bug.
Emmanuel
Binil Thomas a écrit :
Thanks
Try to put it under apps/continuum/webapp
Emmanuel
Andreas Guther a écrit :
Hi,
Does someone know where to put the favicon.ico on the jetty server that
is used by Continuum?
Thanks in advance,
Andreas
Hello,
I just compiled maven repository manager and try it as a nice
replacement to my maven-proxy.
I've added a proxyed repository for ibiblio and a FileSystem synched
for my private repo.
Now I'd like to use repository manager as a proxy. When I go to browse
it complain about not
I see that you are currently using maven-artifact API.
Are you saying that maven-project-info-reports-plugin needs to be used
to determined the depedency information you mentioned?
And how do you intend to represent the different type of dependencies?
Using just text or can we use different color
Archiva is still a work in progress. The problems you'd be having here:
- browse/indexing will only pick up artifacts already brought down
from the proxy repo, so if you haven't retrieved anything yet it will
be empty
- sync isn't implemented yet
If there is anything that could make this
Thanks !
Synch not beeing available will not be a problem as I can proxy my
private repo (can I use a file:///D:/repo/private URL ?)
What is the URI to use in the maven-repository-webapp to use it as a
proxy ? For current use I only need a maven-proxy replacement. Features
from Archiva will
/proxy/whatever-the-id-of-the-proxy-repo-is
Cheers,
Brett
On 22/08/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
Thanks !
Synch not beeing available will not be a problem as I can proxy my
private repo (can I use a file:///D:/repo/private URL ?)
What is the URI to use in the
hi all,
i'd need to use the jbossnet xdoclet task in maven2...i was not able
tofind any reference to this
topic on the web..
can anyone give me some hints on how to start? i found xdoclet tags for
that, but when i run the task
webserviceejbdoclet
i got error
Embedded error: Could not
Hi
I think I'm missing something, I hope I'm missing something, otherwise
this is a great joke ..
When I have a project and multiple subprojects depending on eachother.
I update all of them and then when I build the master project, each
submodule crashes because it's dependencies are not up to
Great.
Works just as expected.
Using a file:// URL for proxying fails. I'll have to configure an apache
server as a front to my corporate repo.
Is this a known limitation and can I suggest an enhancement for this ?
Brett Porter a écrit :
/proxy/whatever-the-id-of-the-proxy-repo-is
Cheers,
Should work - please file in JIRA.
Though maybe you want to add that directory as a managed repository directly?
- Brett
On 22/08/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
Great.
Works just as expected.
Using a file:// URL for proxying fails. I'll have to configure an apache
server as a
My corporate repository is splited into multiple parts
- restricted (SUN jars)
- private (our libs)
- sources (free libs -sources.jar for debug in eclipse)
- free (free libs not yet on ibilio)
I'd like to merge all them into a single repo. I use maven-proxy for
this, and I'm trying to make the
I've configured my apache server to serve the corporate repo private
(I can browse it under http://localhost/private...)
I've added a proxied repo to my managed repository, poiting to
http://127.0.0.1/private; but I cannot get artifacts from it.
I can get artifacts from ibiblio, so proxying
I believe this feature is added in the 2.1 version of maven-jar-plugin,
which hasn't been released yet. In the meantime, you can check it out of
SVN, build it, and install it to your repository.
Chris
-Original Message-
From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED]
Sent: Sunday,
Valerio Schiavoni wrote:
On 8/21/06, Andrew Williams [EMAIL PROTECTED] wrote:
This should not be needed (and does not make sense) If the children are
correctly deployed they should sit inside the parent project (thus only
one root).
maybe this is the issue comes from. each submodule defines
Glad to see that fixing your pom.xml fixed everything
(http://dev.rectang.com/projects/maventrac/ticket/1)
Andy
Valerio Schiavoni wrote:
On 8/21/06, Andrew Williams [EMAIL PROTECTED] wrote:
This should not be needed (and does not make sense) If the children are
correctly deployed they
You are definitly missing something :)
For the eclipse part, you should run eclipse:eclipse from the root project
to use project dependency instead of binary dependency (ie a module will
directly use another module as its dependency instead of using the produced
jar).
For the reactor part (the
Pardon me asking the obvious, but has the maven nature been added to the
modules?
Chris
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kent Tong
Sent: Saturday, 19 August, 2006 07:37
To: users@maven.apache.org
Subject: Re: Does maven2 eclipse plugin suppor
This was fixed by doing a clean before building the project (we are doing
builds using continuum on Linux).
-Original Message-
From: ABBUHL Richard NL
Sent: Wednesday, August 16, 2006 9:36 AM
To: users@maven.apache.org
Subject: bundleFileName problem on Linux
Any ideas why
Hello,
*all* my generated links (changelog) point to the trunk of my svn module.
For example, for mypage.jsp, the link should be :
http://my.svn.com:/rep/prj/modname/trunk/src/www/modname/jsp/mypage.jsp
but it is :
http://my.svn.com:/rep/prj/modname/trunk/
The same for all my
Unfortunately the preferences page won't even come up, so I can't even
specify the Local Repository Folder location.
Thanks,
Jim
On 8/21/06, Daniel Serodio [EMAIL PROTECTED] wrote:
Jim Bethancourt wrote:
Hi Ryan,
Thanks for the response. Unfortuately that didn't work. When I right
click
Unfortunately it was not. I was able to find JAXP in the JWSDP 2.0,
so I'll just use that Jar instead. I'm a little confused as to which
artifact it should be qualified under, however.
Jim
On 8/19/06, Dave Syer [EMAIL PROTECTED] wrote:
I was able to get the POM for it from ibiblio and
Hello,
I've a requirement for a utility lib to include both Java1.3 and Java5
code. I don't want to split my lib into two jars, but to split the
source three into src/main/java and src/main/tiger. I'm searching for a
way to configure the compiler plugin for this.
I've set two compiler
Hi All,
I am using maven in a continuous integration environment, all is running
well and as expected.
However there is one important feature that i need to get working.
I need to be able to create a project site (using the maven-site-plugin) for
a failed build.
At present when tests fail
Hi all,
I'm in the process of installing the Sun Jars into my repository, and
I'm a little confused about the JAXP / jaxp-api versioning. For the
JWSDP 1.6 2.0, the spec version for JAXP is 1.3, but the jar version
is 1.3.1 I've noticed that there are POMs for both 1.3 and 1.3.1 for
JAXP in
I have the following dependencies
A-1.0.jar --- C-3.0.jar
B-2.0.jar --- C-3.0.jar
Here's some scenarios:
(1) Minor Release - No code/logic change affecting higher level dependency.
C-3.0.jar has a minor code change and released as C-3.1.jar
Question: Inorder not to have to upgrade pom.xml of A
Jim Bethancourt wrote:
Unfortunately the preferences page won't even come up, so I can't even
specify the Local Repository Folder location.
Just to make sure: I mean the Eclipse preferences, not the Project's
preferences, does Eclipse preferences not come up either?
HTH,
Daniel Serodio
On 8/21/06, Pin Ngee Koh [EMAIL PROTECTED] wrote:
I see that you are currently using maven-artifact API.
Are you saying that maven-project-info-reports-plugin needs to be used
to determined the depedency information you mentioned?
I meant project info report has already code to dig into the
Hi there -
It looks like there is no way with maven2 to get the generated javadoc jar or
the sources.jar files. Is this correct?
Been looking for a while for a way and I found this:
http://jira.codehaus.org/browse/MNG-2248
-Pat
Hi Doug,
I have an issue with Site generation and failing builds.
See my post earlier today [Using site:site to create reports on a failed
build]
If you are using this profile when building sites, does that infer that you
are using a separate mvn build to produce the site ?
I want to be able
Hi, I´ve been trying to use maven with VSS and I don't know if I´m doing the
right, after several time I find out and example of how use the scm plugin
with vss, so I tried this way:
mvn
-DconnectionUrl=scm|vss|\\sigmatao_gi\ge04\D-PIGCR07_Vss|/PIGCR07/IPS/IPS-D08
Modelo de
Not by hand from the command line afaik. The eclipse plugin will try to
download both if available when you run eclipse:eclipse.
mike
Patrick Moore [EMAIL PROTECTED] wrote on 08/21/2006 12:46:56 PM:
Hi there -
It looks like there is no way with maven2 to get the generated javadoc
jar or
when i do any mvn command, it shows lot of messages on the conosle. Is there
any option/flag to surpress this.
ex: mvn compile - echo lot of downloading file info...
-Satish
--
View this message in context:
http://www.nabble.com/surpress-all-the-messages-tf2142285.html#a5913554
Sent from the
The maven-dependency-plugin has a sources goal.
http://mojo.codehaus.org/dependency-maven-plugin/introduction.html
mvn dependency:sources
This is not available in the released 1.0 version, but it is in the
1.1-SNAPSHOT. You need to build from source or get from mojo snapshot
repository.
Hi,
As described in this document:
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?
I am trying to substitute some properties. eg.
database login name.
I'm added code similar to that below to my pom.xml:
filters
No. The compiler plugin is not flexible enough to be changed and then reran.
I encountered the same problem. I needed to produce java1.4 and java1.5 code
and did not want to split the code into 2 separate projects.
I had to create my own compiler plugin and bind it to a random phase prior to
Maven complains about a checksum failure for several SLF4J logging jars. I
removed the SLF4J stuff in my local repository and temporarily removed a
reference to a local caching maven mirror, thinking that it was a temporary
glitch. But it's still complaining. For example:
Downloading:
How can I create a jar from the classes compiled into
the war? (for tomcat)
Currently if I run the war package it leaves my
sources in the web-inf/classes dir as compiled
classes. I would like to put them in a jar and have it
included in the web-inf/lib dir. Is that possible?
thanks,
Attila
On 8/21/06, David Smiley [EMAIL PROTECTED] wrote:
By the way... without maven implicitly checking the checksum and reporting a
problem to me, I don't know how to manually check the checksum for myself.
http://docs.codehaus.org/display/MAVENUSER/Maven+Repository+Checksums
HTH,
--
Wendy
On 8/21/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote:
How can I create a jar from the classes compiled into
the war? (for tomcat)
Currently if I run the war package it leaves my
sources in the web-inf/classes dir as compiled
classes. I would like to put them in a jar and have it
included in
On 8/21/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote:
How can I create a jar from the classes compiled into
the war? (for tomcat)
Currently if I run the war package it leaves my
sources in the web-inf/classes dir as compiled
classes. I would like to put them in a jar and have it
included
don't use vss: http://www.codinghorror.com/blog/archives/000660.html
I would be really surprised if it possible to make a release with
mavens release plugin and vss.
2006/8/21, mister5 [EMAIL PROTECTED]:
Hi, I´ve been trying to use maven with VSS and I don't know if I´m doing the
right, after
Is there an api for turning a java.io.File, which represents the path of a
jar into the local repository, into a maven Artifact object? Or do I just
need to reverse the process used in the DefaultRepositoryLayout.pathOf()
method? I'm working on a plugin that will dynamically add dependencies to
The Maven core prints very little, and the rest is up to individual plugins
on what they output. So in short, no, not at the moment. But outputting less
has been discussed, look for future releases, I suppose is the best I can
say.
Thanks;
Eric
On 8/21/06, Satish [EMAIL PROTECTED] wrote:
Hey Jon,
Yes, we have a separate (Cruisecontrol) build to generate the maven site
docs. It runs on a fixed schedule instead of being triggered by scm commits.
For the site build, as you've seen, we do not fail the build if tests fail,
we have separate builds for that.
I do not know of a way to
trust me, I'm NOT Vss fan, I'm really convinced that Vss isn't the best
choice, there's plans to change to CVS or another tool, but meanwhile I have
to deal with it now.
Besides, in the maven's site said that scm support vss connection, rigth?
Mathias Brökelmann wrote:
don't use vss:
Mick Knutson wrote:
Does anyone have any exapmles of configuring maven to allow xdoclet to
generate websphere specific ejb files?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
The AndroMDA team (www.AndroMDA.org)
has suggested that I log this issue with Maven for resolution.
AndroMDA utilizes Maven 2. I am trying to install a
AndroMDA getting started project called Northwind.TimeTracker. I have run
mvn install about 25 times and I am getting maven errors
I've found that when you're first running many on a brand new project
and/or an empty local repository, that you'll have to run it several
times to resolve all of the dependencies, especially those coming from
'central'. The server sometimes just gets busy and starts rejecting
connections.
Are
Hi --
I tried :
mvn dependency:sources
and the plugin does not know about the sources goal (which is also not
reference on the web page given below.)
Is it possible that you are using a snapshot build of this plugin?
-Pat
--- Tomislav Stojcevich [EMAIL PROTECTED] wrote:
The
Nathan,
If you really believe that 'central' (i.e., ibiblio.org) is over loaded (and
it certainly is!) then running maven over and over isn't much of a solution,
nor is it helping the situation. Do yourself a favor and define a mirror[1].
Ted, I think the same advice should help you out.
it's not only getting busy but seems that they think it's a DoS attack
when you try to download several files in a short period of time and
ban you for some minutes.
On 8/21/06, Doug Douglass [EMAIL PROTECTED] wrote:
Nathan,
If you really believe that 'central' (i.e., ibiblio.org) is over
On 8/22/06, Chris Hilton [EMAIL PROTECTED] wrote:
Pardon me asking the obvious, but has the maven nature been added to the
modules?
The maven nature is only needed for the Eclipse IDE Maven Plugin which
allows you to invoke maven from within the IDE.
This is completely different from mvn
Hi,
I'm looking for the LibCopy plugin that gets mentioned on:
http://www.stephan-schwab.com/2006/07/30/1154300365880.html
The link:
http://blogs.unixage.com/blojsom/blog/adam.kruszewski/eclipse/2006/05/02/Maven2-Eclipse-plugin-with-latest-WTP-from-callisto-update-site.html
appears to be
Hi Marco,
No problem.
I had to download hibernate3 plugin from
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3
and compile it locally before I could get it to work.
Besides the command I ran are
mvn clean resources:resources hibernate3:hbm2java
mvn clean
Current SVN (both trunk and branch) have -q, which with a couple of
quirks, is very quiet.
On 22/08/06, Eric Redmond [EMAIL PROTECTED] wrote:
The Maven core prints very little, and the rest is up to individual plugins
on what they output. So in short, no, not at the moment. But outputting less
Hi list,
I'm looking for a way to change the central repository used by m2eclipse
plug-in in order to point to a proxy repository.
I have set the Proximity repository in the settings.xml located in my
home folder. Although it works fine at command line, when I'm at Eclipse
and try to add
pimp
On 8/21/06, Brett Porter [EMAIL PROTECTED] wrote:
Current SVN (both trunk and branch) have -q, which with a couple of
quirks, is very quiet.
On 22/08/06, Eric Redmond [EMAIL PROTECTED] wrote:
The Maven core prints very little, and the rest is up to individual
plugins
on what they
I am trying to exclude dependencies from a dependcySet in an assembly
descriptor, but can't find any examples of how to do it.
From looking at the code it looks like I should be able to exclude
dependencies by groupId/artifactId but I can't seem to get the syntax right
This is what I tried with
When running my unit tests in Maven I get a lot of output in the console from
third parties, like for example Spring's
AbstractTransactionalSpringContextTests transaction messages. Does anyone now
how I can set Mavens output logging level?
/Peter
83 matches
Mail list logo