Hi Steven,
My guess is there is a required jar in the eclipse classpath that is not
in the Maven dependency section. You will just need to determine which
jar this class is in. I'll bet that if you add this as a dependency
inside the pom itself, these tests will work. You might need to compare
.
As far as I know, the maven-ejb-plugin has no ability to create the
ejb-jar.xml file for you. If you want this kind of functionality, then
you will need to look at using XDoclet or perhaps Hibernate plugins.
Wayne
On 1/23/08, Mark Eramo [EMAIL PROTECTED] wrote:
Hello,
I have migrated our build
Hi Jeff,
Thanks for the info. I have done some work on this with ant inside
maven and will look at it further as well as looking at the Hibernate
plugin.
Regards,
Mark
Jeff Mutonho wrote:
On Jan 23, 2008 5:12 PM, Mark Eramo [EMAIL PROTECTED] wrote:
Hello,
I have migrated our
Hello,
I have migrated our build process from Ant to Maven for all of our
projects except a few that generate EJB's. The current system we are
running in Production means that I have to build EJB's based on the 2.0
format thus they require an ejb-jar.xml and since we use JBOSS as our
Rex,
Have a look at the Maven build number plugin. It may be able to do
what you need.
*http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html*
Regards,
Mark
Rex Huang wrote:
Does maven has build time property, which I can use in pom files
my-property${build
Hi Thomas,
Do you have the compiler plugin defined in your pom? At a minimum,
you need to have this defined.
* plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
compilerArgument-verbose /compilerArgument
source1.5/source
Dirk,
I define the repositories in the *settings.xml *file, which lives in
the */.m2 *folder and it seems to work fine.
I also have a parent pom that lives in the repository and is referenced
in all my child poms. When I build a single child project, it finds the
parent pom in the
Hi Brian,
I do this for one of my projects, although I am just using the jar-plugin
but this should work for any plugin.
In your pom.xml you sould have a build tag. At the start of the build tag,
add the following:
sourceDirectoryyour src path/sourceDirectory
Regards,
Mark
There was a bug in the jar-plugin that prevented this from working. In order to
get it working for the jar, I had to downlaod a 2.2-SNAPSHOT version of the jar
that contained the fix. My guess is that it is also broken in the war-plugin
and may need to be fixed there, I have the same problem
need.
Multiple branches of will be maintained by version. For example, 1.1,
1.2, 1.3, etc so I wanted to simply name the directory foo versus foo-1.1
Thanks for the info.
Regards,
Mark
Emmanuel Venisse wrote:
Mark Eramo a écrit :
Hello,
I was wondering, does anyone know if there is a way
Hello,
I was wondering, does anyone know if there is a way to set the names
of the folders that hold the build output?
For example, in the Configuration section, I set the Working Directory
to: */home/build/builds*
If I build project *foo*, the output of this directory goes into:
I have been trying to exclude certain files from the jar however it does
not seem to be working. I am trying to do this with the include and
exclude switches. I searched the mailing list and some posts say this
should work, others say no so I am trying to find out if anyone has
accomplished
://www.nabble.com/forum/Search.jtp?forum=178local=yquery=MJAR-30
(previous discussion)
http://jira.codehaus.org/browse/MJAR-30 (patch)
Mark Eramo [EMAIL PROTECTED] wrote on 09/21/2007 01:44:57 PM:
I have been trying to exclude certain files from the jar however it does
not seem
Hello,
Anyone using Subcommander 1.2.2.1 that experiences intermittent
locking issues (Windows Version). I have a user running subcommander in
Windows that runs into locks on the repository that I do not have
running subcommander under Linux.
I figured I would post here as I am not sure if
Sorry everyone, I meant to post this to the Subversion Users List!
Regards,
Mark
Thorsten Heit wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mark,
I figured I would post here as I am not sure if this is a subcommander
issue or a subversion issue or just normal.
I guess
Control. I'm not sure there's any other way to do that directly with
the POM or not...
On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote:
Hello,
Can anyone point me to detailed information and maybe some
examples on how to integrate maven and subversion. Ideally I would
like to be able
Hello,
Can anyone point me to detailed information and maybe some examples
on how to integrate maven and subversion. Ideally I would like to be
able to have the build fetch the latest code from subversion before I do
the build. I have looked at the documentation on the Maven site but I am
I am trying to do automated and semi automated builds so I will look at
Continum as it seems to add a lot of value with Maven/Subversion
integration.
Regards,
Mark
Graham Leggett wrote:
On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote:
Can anyone point me to detailed information
://maven.apache.org/ref/current/maven-model/maven.html
[2] http://maven.apache.org/ref/current/maven-settings/settings.html
Mark Eramo schrieb:
Hello,
I am currently using Maven 2 and today I noticed that all the jars
are built 1 hour earlier then the current time.I see that in the
Maven documentation
Hello,
I am currently using Maven 2 and today I noticed that all the jars are
built 1 hour earlier then the current time.I see that in the Maven
documentation that there is a timezone tag that you can use to set
your timezone. I want to set this in my settings.xml so that when we
switch to
Hello,
I have a question. A few of the jars I currently build with Any also
produce mdb's (message driven beans). I did not see a plugin for this
but was wondering
if anyone has accomplished this with Maven.
If not, I might just end up calling an Ant script from the Maven build
to do it.
Great! This is what I needed to know and it helps me out. Thanks for
this info.
Regards,
Mark
Alan D. Salewski wrote:
On Thu, Aug 16, 2007 at 03:05:56PM -0400, Mark Eramo spake thus:
Hello,
I have a question. A few of the jars I currently build with Any also
produce mdb's (message
Hello,
I have setup a Parent POM / Child POM relationship and now I am
having a problem accessing my local repository.
I have defined in my Parent POM, the local repository only. In my Child
POM, I reference the parent POM but no repository. I assume it will use
the repository setting in
Hello,
I am new to Maven and trying to setup some projects. What I want to do
is create a parent POM that has all the different project dependencies
included. Then for each project, I will have a project POM that will
contain the individual dependencies needed to build the project.
However,
24 matches
Mail list logo