yes you can like you do it with maven. Put a mirror in your ~/.m2/settings.xml
Emmanuel
Tamás Cservenák a écrit :
Hi all,
is it possible to setup continuum to use some maven proxy (Proximity or
Maven-proxy) for builds?
How to inject binary dependencies not on repo1.maven.org? (for maven i
Hi,
I have a build that has completed in failure, but Continuum
still thinks that the build is running.
The tail of the build logs is
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0 sec[INFO]
Hi ,
I need a sample to test my EJB3.0 using JUnit.i can't find a solution to
support CDT for EJB3.0.
Any clue can be very helpful to me.
thx,
srikant
--
View this message in context:
http://www.nabble.com/%2B-JBoss-Embedded-EJB3-and-Surefire-Plugin-Maven-2-PROBLEM%2B-t1726891.html#a4788216
On Friday, June 9, 2006 04:04, Doug Douglass wrote:
Thanks for feedback Chris. I like your versioning convention.
deploy:deploy-file does work, with the caveat and work-around noted in my
original item #2.
Your item was fixed in svn a while back. If you checkout, build and install
I fixed it in continuum 1.0.3 :-)
Emmanuel
Chris Wall a écrit :
Continuum version: 1.0.2
Os: Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
SVN version: 1.3.0
Language: Java
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: June 08, 2006 3:12 PM
To:
Hello,
i have done a sample project that uses EJB3 and maven..
i have sent it to many people... what id' like woul dbe to find a public
place where i can put it so i don't need to send it privately to anyone
i will mail the code to you privately it uses embeddable-alpha--5...
i have anohter
Sounds like there's something wrong inside your POM's, since I use a structure
like this and can change versions
whenever I like...
Please post some snippets from your POM, this might help answering your
question a little easier!
Roland
On Friday 09 June 2006 03:11, Mike Perham wrote:
You
And you could try sending along a small part of the output (the errors) for us
to work with...
Roland
On Friday 09 June 2006 01:57, Lee Meador wrote:
I'm only answering some questions. You can search the user list here
http://www.nabble.com/Maven---Users-f178.html as well as the normal
Hi,
Once again I need your advices and support for a problem I'm locked in :)
This time it relates to transtitive dependencies in an EJB+CLIENT+EAR
context.
I have 3 projects:
- Project A -- EJB JAR project which generates 2 artifacts : the ejb JAR
and the ejb-client JAR
- Project B -- EAR
Marco Mistroni schrieb:
Hello,
i have done a sample project that uses EJB3 and maven..
i have sent it to many people... what id' like woul dbe to find a public
place where i can put it so i don't need to send it privately to anyone
I think the Maven-User wiki over at codehaus.org would be an
Try to force a new build. If it doesn't work, restart your Continuum.
Emmanuel
Jonathan Tilley a écrit :
Hi,
I have a build that has completed in failure, but Continuum still thinks
that the build is running.
The tail of the build logs is
[surefire] Tests run: 1, Failures: 0,
From the plugins documentation, the configuration of the
maven-changes-plugin should be:
...
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-changes-plugin/artifactId
...
This is not found in (deployed to ) any respository.
Could anyone please update the documentation with the right
Title: Message
Is
there anybody who could help me on this issue?
In
particular, I would expect a mean to tell the maven release plugin
to"locally" perform a release on my own copy of the source tree. Is this
possible as a general rule?
Rgds,
-Xavier
-Original Message-From:
Hi,
I have a setup similar to yours. I have split the ejb project in two projects
my_ejb_client (jar) and my_ejb_impl (ejb) And then just declare the ejb_client as a
dependency in both, ejb_impl and the client project. So the client is totaly decoupled
from the ejb implementation.
That
Hi,
Indeed I use Xdoclet to generate EJB interfaces and hibernate mapping files.
thanks for your time
--
View this message in context:
http://www.nabble.com/-M2--EJB-JAR-%2B-client-JAR-%2B-EAR-transitive-dependencies-problem-t1760618.html#a4789953
Sent from the Maven - Users forum at
Its in maven sandbox... probably not yet released so it should be in
http://svn.apache.org/maven-snapshot-repository/
Henrik Mejlgaard wrote:
From the plugins documentation, the configuration of the
maven-changes-plugin should be:
...
groupIdorg.apache.maven.plugins/groupId
Hi,
I have tried 1)forced a build 2)restart Contiunnm 3) Reboot server, but
still Continuum thinks the build is alive.
Jun 8, 2006 3:00:04 PM Started since : 19 h 27 min 35 sec Result
3 Jun 9, 2006 10:00:04 AM Jun 9, 2006 10:02:58 AM Duration : 2 min 54
sec Result
2 Jun 9,
Hello,
I was wondering if it is possible to generate a J2EE project structure with
Maven2.
Or are the source code and project structure of the DayTrader sample from
Better builds with Maven2 available somewhere?
I really need to have an idea on how to migrate our J2EE project structure
to the
Hi,
Could you please help me with this problem? I have started to study
Maven a few weeks ago and I have found what I think it is a bug in
generating the xml test reports: if I have 2 test classes A and B, in
the xml test report for class A all the test methods from both class A
and B are
There is a j2ee archetype that could get you started.
http://maven.sateh.com/repository/org/apache/maven/archetypes/maven-archetype-j2ee-simple/
Ben
On 6/9/06, Lucas Opara [EMAIL PROTECTED] wrote:
Hello,
I was wondering if it is possible to generate a J2EE project structure with
Maven2.
Or
Can somebody please tell me how to add maven-findbugs-plugin in
pom.xml of maven 2.0 and the required changes to do that? I am getting
the following error:
mvn findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'findbugs'.
[INFO]
And keep in mind that the plugin is only in version 0.0.5.
On 6/9/06, Roland Asmann [EMAIL PROTECTED] wrote:
And you could try sending along a small part of the output (the errors) for us
to work with...
Roland
On Friday 09 June 2006 01:57, Lee Meador wrote:
I'm only answering some
Whoops I mean 0.0.9
On 6/9/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
And keep in mind that the plugin is only in version 0.0.5.
On 6/9/06, Roland Asmann [EMAIL PROTECTED] wrote:
And you could try sending along a small part of the output (the errors) for
us to work with...
Roland
-Original Message-
From: Lucas Opara [mailto:[EMAIL PROTECTED]
Sent: vendredi 9 juin 2006 12:06
To: users@maven.apache.org
Subject: Generate J2EE project structure with M2?
Hello,
I was wondering if it is possible to generate a J2EE project structure
with
Maven2.
Or are the
Hi,
Mike, it's certainly the main reason why (IMHO)
http://jira.codehaus.org/browse/MRELEASE-91 can be considered as a bug
;-)
WDYT ?
--
Olivier
-Message d'origine-
De : Mike Perham [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 9 juin 2006 03:11
À : Maven Users List
Objet : RE:
Isn't the directory .m2 suppose to be located in
C:\Documents and Settings\mutonhj if m2 is running on XP?
Is it not suppose to be created upon running mvn --version ?
--
Jeff
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
It's created when you start a build, when m2 download dependencies.
Emmanuel
Jeff Mutonho a écrit :
Isn't the directory .m2 suppose to be located in
C:\Documents and Settings\mutonhj if m2 is running on XP?
Is it not suppose to be created upon running mvn --version ?
Back with the test reports question.
None of you ever had Maven run more than 1 test class?
If you ran multiple test classes did the test reports look OK? Did the
reports only display the methods of the current class?
-
To
But then the manual (section 2.1 under Preparing to Use Maven) says I
should configure my home directory/.m2/settings.xml file first.
If this is the first step , then how can I do a build before doing
what 2.1 is saying.Who creates the .m2 directory?
On 6/9/06, Emmanuel Venisse [EMAIL
Hello Roland Edwin
I think I found the problem!
We have an empty super project with several modules/sub-projects. Now I
configured the antrun-plugin with inheritedfalse/inherited and
phasetest-compile/phase and expected it to run after all
sub-projects have compiled their test-sources. But
If you want to configure settings.xml, you need to create .m2 directory
manually.
Jeff Mutonho a écrit :
But then the manual (section 2.1 under Preparing to Use Maven) says I
should configure my home directory/.m2/settings.xml file first.
If this is the first step , then how can I do a build
Maybe that should be pointed out in the manual.
Thanks Emmanuel
On 6/9/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
If you want to configure settings.xml, you need to create .m2 directory
manually.
Jeff Mutonho a écrit :
But then the manual (section 2.1 under Preparing to Use Maven) says I
Doesn't seem possible to create a directory called .m2 on XP.
On 6/9/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
If you want to configure settings.xml, you need to create .m2 directory
manually.
Jeff Mutonho a écrit :
But then the manual (section 2.1 under Preparing to Use Maven) says I
That directory gets created automatically...you don't have to create it
manually. Try to run mvn install command and see whether .m2 directory gets
created or not
Regards,
Janhavi Phirke
Accenture - Mumbai Delivery Center,
Direct Dial: +91-22-6600 7046
AIM: janhaviphirke
Im running it on XP SP2 and it works fine. But I have my settings.conf
in my maven directory.
Maybe try running the mvn.bat and set the environment variables as it
asks. thats all i did.
Ben
On 6/9/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Doesn't seem possible to create a directory called
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
I didn't get the meaning of SCM provider and connection. Can you kindly
elaborate a bit. It will be very helpful for me.
I have seen this when I was trying to use the buildnumber plugin:
Without a scm.../scm entry in my pom.xml I got errors
you can do it only in a dos console
Jeff Mutonho a écrit :
Doesn't seem possible to create a directory called .m2 on XP.
On 6/9/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
If you want to configure settings.xml, you need to create .m2
directory manually.
Jeff Mutonho a écrit :
But then
Hi Iulia,
Checked it now and in the XML reports yes there is duplication (but not in
the text versions), looks like a bug!
Kieran
- Original Message -
From: Iulia Andreescu [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, June 09, 2006 12:41 PM
Subject:
I suggest that the manual be edited to make these steps clear.How can
we have a section 2.1 called Preparing to use Maven , that talks about
settting up your-home-directory/.m2/settings.xml without explaing
how the flip .m2 comes into life.
On 6/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
Thanks for your response.Finally .m2 has come to life
On 6/9/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
I suggest that the manual be edited to make these steps clear.How can
we have a section 2.1 called Preparing to use Maven , that talks about
settting up your-home-directory/.m2/settings.xml
Thanks Ben.
Merci Vincent! C'est exactement ce que je cherchais ;-)
-Lucas
On 6/9/06, Vincent Massol [EMAIL PROTECTED] wrote:
-Original Message-
From: Lucas Opara [mailto:[EMAIL PROTECTED]
Sent: vendredi 9 juin 2006 12:06
To: users@maven.apache.org
Subject: Generate J2EE
Hi
Thanks a lot for your mail. I tried the same by giving blank values but it
didn't work out.
I have pasted the POM.xml here for your reference :
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
Janhavi,
This should do the trick! Your version was incorrect and the
pluginsrepository needs to point to codehaus...
*mvn findbugs:findbugs*
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
AFAIK there isn't jcoverage maven2 plugin.
Try cobertura with this in your reporting section :
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
/plugin
--
Olivier
-Message d'origine-
De : shinjan sen [mailto:[EMAIL
Certainly not. The bugs have no relation at all. I can increment the version
in my poms by hand and get the same behavior - this has nothing to do with the
release plugin.
-Original Message-
From: Olivier Lamy [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 6:06 AM
To: 'Maven
Thanks for the excludes and provided suggestion, but I'm not sure they'll
help. The jars I want excluded aren't part of the EJB,they're dependencies
and transitive dependencies of the EJB, not classes in the EJB project.
Roland, I'm not sure I understand your 'provided' method, can you
For reference:
Added it as an issue:
http://jira.codehaus.org/browse/MVERIFIER-1
Geoffrey De Smet wrote:
One problem I 've encountered a few times now
is that everything builds locally
but team mates can't build
because my local repository differs from theirs.
For example, I am working on 2
Thanks Henry. I was searching the archives, but couldn't find the right
combination of terms.
On 6/9/06, Henry S. Isidro [EMAIL PROTECTED] wrote:
On Friday, June 9, 2006 04:04, Doug Douglass wrote:
Thanks for feedback Chris. I like your versioning convention.
deploy:deploy-file does work,
Hi Todd,
we use a common parent pom where we define both artifacts in a
dependencySection. For the ejb-client we use additional excludes to drop all
the unwanted dependencies. Looks good in first place, but triggers another bug:
http://jira.codehaus.org/browse/MNG-1797
- Jörg
Todd Nine wrote
Jörg Schaible wrote on Friday, June 09, 2006 4:13 PM:
Hi Todd,
we use a common parent pom where we define both artifacts in
a dependencySection.
dependencyManagement section
For the ejb-client we use additional
excludes to drop all the unwanted dependencies. Looks good in
first place,
Hi all,
I posted this on the glassfish user mailing list and they suggested
adding a jar file that contains the log4j.properties to the ear.
This solution works, although the log file is created in the config
directory for the domain. Im awating an answer on this problem.
Thanks for your help.
Well, I believe in your EJB you only need dependencies to compile your code,
the JARs will not be included in your EJB, are they?
In that case you define, in the dependencies of your EJB, the
scopeprovided/scope, which makes these objects non-transitive
for your webapp...
ejb:
dependency
Thinking about it some more (and especially about what I meant when I wrote
that reply!), you could also do the following:
webapp:
...
dependency
groupIdejb.groupId/groupId
artifactIdejb-nameartifactId
typeejb-client/type
/dependency
dependency
groupIdsomething.group/groupId
I have a project that I run install on to install the project and all of its sub
project's main artifacts in the local repository. However, I would also like to
automatically install the sources and the javadocs as well. I can generate
these using sources:jar and javadoc:jar commands, however, I
Hello,
I've been trying to get the cobertura plugin running on our project, but
I'm having the same problems Daun DeFrance was having (March 28:
Continued Cobertura Plugin Issues). That is, if I run the site goal
after the clean goal, I end up with a report that shows 0% test
coverage for every
On 6/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I know I'd find this useful as well, for several reasons:
-If you simply let continuum build every 5 mins, there could potentially be
more than 1 commit during that time, and you would be building multiple
revisions worth of changes.
FYI the issue is MNG-1245 and I have developed a patch for it if anyone else if
having this problem.
-Original Message-
From: Mike Perham [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 8:42 AM
To: Maven Users List
Subject: RE: RE : multi-module build overriding dependency
Never mind my last email. I moved the plugin under build outside of profiles and added a package phase, and it works now.
Matt W.
--
On 6/9/06, Arnaud Bailly [EMAIL PROTECTED] wrote:
Hello,
I am looking for a way to integrate my reports into the standard maven
site layut which I believe is controlled by doxia. Before delving
into the code of some other plugin, I tried digging into the mailing
list archives but could not find
Hi All
Is that possible to filter and modify the xml file using any plugin???
Like i have the following code snippet in my ant build.xml, which i will
run from command line as ant -Denv=sit target_name
1. copy my.xml as data.xml into /tmp dir
2. then using filter token, i will
You can replace tokens using filters in Maven2. It will replace
${your-token-here} in your source files with properties defined in
your pom or profile.
This is covered in detail in the Maven book mentioned numerous times
on this mailing list. Review section 2.6.2 Filtering Classpath
Resources.
Read the documentation...this is discussed in one of the questions in
the first section of the Getting Started Guide:
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%2
0filter%20resource%20files?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
David,
We've had cobertura reporting working for quite some time. My pom is very
similar except we don't have the phase element.
Note that we're still using version 2.0-SNAPSHOT. Maybe that's a clue?
Doug
On 6/9/06, David Hay [EMAIL PROTECTED] wrote:
Hello,
I've been trying to get the
I can't download the example maven proxy properties files from codehaus.
Looks like they are still having serious issues.
Would anyone be able to send me a copy of the sample maven proxy
properties files?
thanks
Carlos
-
To
Ignore that plea.
I was able to get a good link to it from JIRA.
In case anyone else cares:
https://svn.codehaus.org/maven-proxy/tags/maven-proxy-0_2/maven-proxy/we
bapp/maven-proxy.properties
carlos
-Original Message-
From: Fernandez, Carlos
Sent: Friday, June 09, 2006 5:09 PM
To:
Hi!
We have a plan to migrate from Ant to Maven in the future. Until then,
we would like to start our project using Ant but following the Maven's
standard directory layout (see
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html).
However, we still
Hi All
I don't know what'm doing wrong here , can any one please advise
1. When i had 2 profiles in profiles.xml, profile-1 is activated by
default, Profile-2 is activated when build.env=dev this is working fine,
no problem at all
2. But when i moved these 2 profiles into parent pom.xml, at a
Here are my suggestions, but YMMV:
You want these to load via a classloader...
src/main/resources/log4j.properties
src/main/resources/hibernate.cfg.xml
These are just webapp content...
src/main/webapp/wherever-you-want-js-files-in-your-webapp/*.js
I'm working on creating a new webapp project using maven and the
archetype:create with the maven-archetype-webapp archetype. I may not
understand things correctly, but I don't see some directories that I would
assume would be in there. There is nothing for Java src files or anything
like that
Mike,
You can just create the directorys you need from the link ..
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Or you can create a seperate project that has the java source and add
it as a dependacy of your webapp.
Ben
On 6/10/06, Mike
The src/main/resources directory contains only the configurations
which will be loaded by the classloader? So we really need to study
the 3rd party library configurations to see if they are loaded via the
classloader...
What should the src/main/config contains?
Typicaly we have the scripts to
wolverine my wrote:
The src/main/resources directory contains only the configurations
which will be loaded by the classloader? So we really need to study
the 3rd party library configurations to see if they are loaded via the
classloader...
Do you want the files to end up in WEB-INF/classes
Ben,
I was assuming that there was an archetype out there that would generate
that structure for me. Is that not the case?
Mike
On 6/9/06, ben short [EMAIL PROTECTED] wrote:
Mike,
You can just create the directorys you need from the link ..
You can simply run mvn -DperformRelease=true install
This will build source javadoc jars install them. No configuration option.
-Stephen
On 6/9/06, Matt Wheeler [EMAIL PROTECTED] wrote:
Never mind my last email. I moved the plugin under build outside of
profiles and added a package
Because the eclipse plugin doesn't properly set up intra project
relationships it would be nice to have an explicit build step that could
generate and deploy javadoc and source jars, even for snapshot releases.
Brad
- Original Message -
From: Stephen Duncan [EMAIL PROTECTED]
To:
75 matches
Mail list logo