Hey will b of grt help..:)
Can u plz send the contents
Thanx
Cheers!
Renu
-Original Message-
From: Vikramaditya Garg [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 11:09 AM
To: Maven Users List
Subject: RE: how maven run its plugin goals through java API
I
I wish to execute the maven plugin goals with the help of a java class. If
anyoune could help me out with how to use the maven API classes and
functions PLEASE HELP...
--
View this message in context:
Hi,
While using hibernate3 maven2 plugin. I m getting this error:
[INFO] [hibernate3:hbm2ddl]
[DEBUG] Setting context classloader for plugin to:
/plugins/org.codehaus.mojo:hibernate3-maven-plugin:[EMAIL
PROTECTED]/thread:main (instance is:
A few months back I asked if there was a Maven plugin for validating PGP
signatures, like those created by the gpg plugin, of downloaded
artifacts. The answer seemed to be no, so I'd like to try to write
such a plugin. However, this will be my first mojo so I have quite a
few (probably
Whether you use assembly or dependency, you will still need to list
the version of the artifact. If you put the version in
dependencyManagement, you can skip the version in the plugin config
for dependency
Sent from my iPhone
On Jul 18, 2008, at 5:48 PM, Kathryn Huxtable [EMAIL PROTECTED]
Caused by: java.sql.SQLException: No suitable driver
Set Driver_class in hibernate.properties ?
hibernate.connection.driver_class com.mysql.jdbc.Driver
- Original Message -
From: Renu Gupta [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Monday, July 21, 2008 9:41
Hi Ilya,
Ilya Ermolov wrote:
Hello, I have the following problem.
My web-project have a great number of subprojects which have complex
dependencies with each other. I want pack all .class files in
JAR and then
pack my web-app in WAR file. But how to do it having the only pom.xml?
we do
Hi Chad,
You might be interested in the work linked from this page:
http://docs.codehaus.org/display/MAVEN/Repository+Security
It would certainly be a useful addition to add a preliminary check
mojo to the existing gpg plugin as well.
The code you are referring to is the DefaultWagonManager in
I am trying to get my hands around how to reconcile the multi-module
setup maven seems to suggest for basic webapps with a subversion
repository. All the examples seem to show a parent pom with 2 or more
child poms.
I have a requirement that two separate webapps be built using a common
when I execute maven, it will download all project dependencies to the
local repository, including the required plugins:
e.g. the
org.codehouse..mojo:findbugs-maven-plugin:maven-plugin:2.0-SNAPSHOT will
be copied to my local repository.
but this plugin itself depends on junit 3.8.2
when I
The structure your propose is not wrong... depending on your lifecycle, it
may not be optimal.
Remember that the remote maven repository that you deploy your binary
artifacts to will always have commons-1.0
The structure you're suggesting may be easier to work with when you
regularly need to go
I have a java project built with Java5. Today as I rebuild the project with
maven1 I got error. It doesn't recognize the generics. I doubt the maven1
doesn't work with Java5. Is it right?
Regards
Thomas
--
View this message in context:
make sure you set the compiler version correctly. The compiler plugin
defaults to java 1.3
Martijn
On Mon, Jul 21, 2008 at 11:35 AM, thomas2004 [EMAIL PROTECTED] wrote:
I have a java project built with Java5. Today as I rebuild the project with
maven1 I got error. It doesn't recognize the
How and where can I set the compiler version?
Martijn Dashorst wrote:
make sure you set the compiler version correctly. The compiler plugin
defaults to java 1.3
Martijn
On Mon, Jul 21, 2008 at 11:35 AM, thomas2004 [EMAIL PROTECTED]
wrote:
I have a java project built with Java5.
The Maven Repository Browser web site provides accurate and detailed
information about the contents of the public Maven Repositories found on the
net. The site is a valuable tool to find the artifacts for your Maven
project.
http://www.mavenbrowser.com http://www.mavenbrowser.com
The Maven
http://maven.apache.org/maven-1.x/plugins/java/properties.html
On Mon, Jul 21, 2008 at 11:46 AM, thomas2004 [EMAIL PROTECTED] wrote:
How and where can I set the compiler version?
Martijn Dashorst wrote:
make sure you set the compiler version correctly. The compiler plugin
defaults to
Ed Hillmann wrote:
On Sat, Jul 19, 2008 at 2:39 AM, Dennis Lundberg [EMAIL PROTECTED] wrote:
This sounds a lot like one of the bugs that was fixed in version 2.0-beta-7
of Maven Site Plugin. Make sure you are using that version of the plugin.
Hi Dennis. I've just updated my POMs so that they
In case anybody interested, a sample pom.xml that worked:
start server using mvn -Pserver and client -Pclient
?xml version=1.0?
project
modelVersion4.0.0/modelVersion
groupIdorg.apache.cxf.samples/groupId
artifactIdwsdl_first/artifactId
version1.0/version
properties
Hello Renu
That stills looks that is looking for the JDBC driver. Refer to the bottom
of this page:
http://mojo.codehaus.org/hibernate3/hibernate3-maven-plugin/usage.html
Johann Reyes
-Original Message-
From: Renu Gupta [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 6:48 AM
Hey Johann,
Thanx for ur help :)
It worked out.But, for ur knowledge I didn't had to add any extension tag in my
pom.
Just had to add mysql java connector dependency in plugin.
Here is my pom:
project xmlns=http://maven.apache.org/POM/4.0.0;
Yes i know that, but I saw people using it for a while for there own project
and so I assumed it was an option that can be used (and it has a different
behaviour than any other listed in the page you've linked). Why maven doesn't
display an error or a warning when using an incorrect scope?
And
Hello,
I'd like to force a dependency to be used with a classifier.
Here is my use case :
My business domain model (project-domain) creates a second artifact with
classifier instrumented based on Hibernate InstrumentTask.
All my project modules depends on domain
In my webapp, I'd like to
I've found a (not so ugly) solution :
dependencyManagement is used to force domain jar scope to provided, so
that it is excluded from the war, and a dependency is added to
domain-instrumented.jar with scope runtime.
Nicolas
2008/7/21 nicolas de loof [EMAIL PROTECTED]:
Hello,
I'd like to
Hi all,
I have the following short question:
should be possibile define a pom with two or more parent pom?
A practical utilization:
It would be useful having a pom which specifies db specific dependencies and
a pom which specifies web specific dependencies, and my app could be child
of both
Can you explain in more details what you are trying to achieve ? I don't think
a pom can have multiple parents.
Regards,
-Guillaume
From: Raffaele [mailto:[EMAIL PROTECTED]
Sent: Mon 21/07/2008 11:42 AM
To: users@maven.apache.org
Subject: Multi Inheritance
You would have to serialize these, so that your project calls, lets say
the Web one, as it's parent which in turn has the DB one as it's parent.
==
Curtis Yanko
Application Developer Infrastructure Services
Source-Build-Deploy
W: 860.702.9059
M: 860.881.2050
This e-mail, including
Hello Renu
Yes, that's correct. That's another way, I just posted the form that was
documented in the site.
Regards
Johann
-Original Message-
From: Renu Gupta [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 9:32 AM
To: Maven Users List
Subject: RE: hibernate3 maven2 plugin
I've noticed that when i execute release:prepare on one my projects that
generates sources it performs the generation. I don't see why it would do
this, as it does it again during release:perform.
The plugin config in that artifact's POM looks like the following. Is there
a way to prevent
Hi, when I run a clean, I get the following error...Is there a
restriction on path length for windows/m2.0.5, and if so, how do I go
about solving it? Thanks.
Embedded error:
E:\development\workspace\ci\platform\deloitte-maven-platform\..\deloitte
I'm a bit confused on the best practice for working with maven projects
within a version control system.
For example assuming we have a company repository setup and we are working
on EJB project (ear) with your standard components (war and a few jars).
Do people typically set up a FooBar ear
Morgovsky, Alexander (US - Glen Mills) wrote:
Hi, when I run a clean, I get the following error...Is there a
restriction on path length for windows/m2.0.5, and if so, how do I go
about solving it? Thanks.
Windows has a 255 (or is it 256?) character limit on a full path name.
You can try
Thanks, good point...Is there a way I could bind the call cmd /c rmdir
/s /q ${project.build.directory} to the clean phase so this is done on
every clean?
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected
Only JDK versions since 1.6 have the limit removed. It deals with the
underlying operating system call. Previous versions (= 1.5) used ASCII-only
version of the Windows API which limit the size to around 250-260. Since
1.6, the JDK uses the wide-version (Unicode) of the Windows API which does
not
The Mojo team is pleased to announce the release of the Maven Clirr Plugin,
version 2.2.2
This plugin is used to check Java libraries for binary and source
compatibility with older releases.
http://mojo.codehaus.org/clirr-maven-plugin/
You can run mvn -up to get the latest version of the
Does any one know,
when releasing a multi-module project from the project parent..
I have two modules: core and webapp
core module is version 1.0.0-SNAPSHOT
webapp has a dependency on core:1.0.0-SNAPSHOT
When running release:prepare...
webapp pom is transformed and dependency
Can anyone please enlighten me how to use the EAR plugin?
The documentation is (as usual) a bit cryptic...
In the documentation it almost seems like the EAR project packaging can
contain sub-modules, but if I try to declare modules inside t I just get
errors?!? (aggregator projects require 'pom'
Hi All,
I checkout our Subversion source code using the maven scm:checkout
command. For a normal checkout, it works fine. However if I want to
checkout the Subversion source code using a specific revision, I get the
latest source code instead from the specified revision. The command I
Please do
http://jira.codehaus.org/browse/MSITE
Thanks.
http://jira.codehaus.org/browse/MSITE-345
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Could you please let me know how to use an archetype that I deploy? I
seem to have deployed successfully an archetype but I'm unable to use
it, namely the goal mvn archetype:generate is unable to find my
archetype.
In more details, I created an archetype which I was able to install
locally
Hi,
We are having Multi module maven project in our application. One of the modules
in our application is hibernate based. When I try to import this project from
the SVN repository META-INF directory is auto created in hibernate module. We
have no plans of having any specific information in
I have a plugin which needs to instantiate test classes within the
project the plugin is being used in. In a default scenario, maven
complains with ClassNotFoundException. IS there any way to
configure maven such that plugins being used by a project can see thet
test classes used by that
41 matches
Mail list logo