I have two tasks defined inside the antrun plugin:
sql
driver=oracle.jdbc.OracleDriver autocommit=false
I'm trying to run the archetype:generate based on a archetype generated using
archetype:create-from-project.
The new project is generated, but the directories and files are not restored
from the jar file that is sitting in the repository.
All that is created is the pom.xml file.
Any advice?
OK, I ran it with the -U option and realized that there is a newer version of
the Archetype plugin than the one that I had. I had to go back and recreate
the archetype from the project again, but it works GREAT!
Brian
bkbonner wrote:
I'm trying to run the archetype:generate based
if this is not a user error.
Brian
bkbonner wrote:
OK, I ran it with the -U option and realized that there is a newer version
of the Archetype plugin than the one that I had. I had to go back and
recreate the archetype from the project again, but it works GREAT!
Brian
bkbonner wrote:
I'm trying
history and accidentally pressing enter).
Harlan Iverson-2 wrote:
I'm no Maven expert, but in the case of passwords, I can see some merit to
this desire. What is the accepted way of storing passwords for builds,
anyway?
In any other case (responding to bkbonner), wouldn't something like
Maven guys, I think this is a valid request. I'm using maven on one project
to make it easier for non-developers to run builds. I'd like to have it
prompt for environment variables, too.
I'd like to make a maven-prompt-plugin that will take the configuration and
prompt the user for variable
I have a project setup that includes xml schemas from 3rd parties that I want
to create jar files for using XMLBeans. This works fine.
The xmlbeans plugin generates:
generated-sources
generated-classes
I would also like to include test cases in the project to verify that the
sample xml files
So, one of my guys is taking a look at sonatype's mavenbook example
http://www.sonatype.com/book/simple-project.html where it says to run mvn
install on the killerapp project.
We're seeing this error msg. Has anyone else seen this problem and how did
they solve it. I googled a bit and
configuration
forkModealways/forkMode
/configuration
/plugin
/plugins
/build
to the pom.xml in the killlerapp-store-xstream project.
bkbonner wrote
the killerapp back to its original state
3. run the example again
4. Tell me what's in $localRepository/org/apache/maven/plugins/
maven-surefire-plugin
Then I know what version of Maven and the Surefire plugin and I can
help you.
On 7 Jun 07, at 6:47 PM 7 Jun 07, bkbonner wrote:
So
state
3. run the example again
4. Tell me what's in $localRepository/org/apache/maven/plugins/maven-
surefire-plugin
Then I know what version of Maven and the Surefire plugin and I can
help you.
On 7 Jun 07, at 6:47 PM 7 Jun 07, bkbonner wrote:
So, one of my guys is taking a look
I have a question about the best practice for dealing with a flat layout
project in conjunction with a common directory structure for subversion
namely:
foo/trunk/...
foo/tags/...
foo/branches/...
If I have multiple modules that are part of foo, I'll end up with:
foo/trunk/...
foo/tags/...
a pom.xml -- and it's correct, it's not visible from the
directory. I guess I can add a pom.xml to see what happens.
Any ideas are appreciated.
Brian
bkbonner wrote:
I have a question about the best practice for dealing with a flat layout
project in conjunction with a common directory
Hi, I've added the Cobertura plugin to my pom.xml build, using the examples
at:
http://mojo.codehaus.org/cobertura-maven-plugin/usage.html
However, when I run 'mvn clean site', it shows that I have 100% line
coverage. I know for certain that all of the methods in our DAOs are not
exercised.
btw, my plugin definition in reporting is:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
/plugin
Brian
--
View this message in context:
On Fri, 2007-02-23 at 11:45 -0800, bkbonner wrote:
btw, my plugin definition in reporting is:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
/plugin
Brian
OK, I'll revert back to 2.0, thanks for the tip.
dan tran wrote:
use version2.0/version
latest 2.1 is bad, and it should be taken out of repo1
-D
On 2/23/07, Arnaud Bailly [EMAIL PROTECTED] wrote:
Hello,
You may want to try the following configuration
build
!-- indique les
PROTECTED] wrote:
It sounds like your test case does not try to recreate database again.
-D
On 2/20/07, bkbonner [EMAIL PROTECTED] wrote:
I'm trying to use the sql-maven-plugin with derby.
My pom is as follows:
plugin
Including the jdbc:derby:;shutdown with the
skipOnConnectionErrortrue/skipOnConnectionError parameter in the
1.1-SNAPSHOT did the trick. Thanks for the help.
For the benefit of others, I've added the following execution:
execution
I just tried to create a new issue out on Jira:
The URL was: http://jira.codehaus.org/secure/CreateIssue!default.jspa
and received:
500 Servlet Exception
java.lang.NullPointerException
at
I tried running the following POM using:
mvn generate-sources
POM:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
:) Just wanted to make sure folks were aware. I looked at the prior posts
and didn't see it, or I wouldn't have posted it. Sorry.
--
View this message in context:
http://www.nabble.com/500-Error-on-Jira-website-tf3268878s177.html#a9088001
Sent from the Maven - Users mailing list archive at
Related to my earlier post about the spaces. I moved my project to
C:\pim-biz
Here's the fragment of my POM:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem.
Is there any chance of a 1.1 release for this exec-maven-plugin?
Brian
--
View this message in context:
http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9088232
Sent from the
I'm trying to use the sql-maven-plugin with derby.
My pom is as follows:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
I meant to include this link to the Maven-hibernate3 mojo:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/howto.html
Thanks.
--
View this message in context:
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018707
Sent from the Maven - Users
Out at the maven-hibernate3 plugin (for maven2), it indicates that an
extension needs to be defined. I believe Extension is generated by Modello
from the maven.mdo file, but I can't say for certain.
What should this extension contain. I tried included the groupId,
artifactId and version of a
Max, I did do this, which is why I posted my original msg. Thanks for
replying, just the same.
I realized what was happening. The driver URL syntax had changed in the new
driver version.
I wanted to rule out that there wasn't anything special about the artifact.
Lo and behold, it's just a
It looks like MVNECLIPSE 0.7 resolves this problem.
In Eclipse choose:
Help - Software - Manage Configuration - Maven 2.0 integration and then
click scan for updates :)
--
View this message in context:
http://www.nabble.com/Project-build-error-Duplicate-project-ID-t1445476.html#a4172291
Sent
One of the test cases in my project blows an exception. As a result the
surefire-report plugin doesn't seem to run. 'site' goal does not complete
and consequently.
Is there a parameter I can set in the plugin that will at least allow the
report to run so I can see what the error was? Or is
Thorsten, thanks for the help. I'm sure this will do the trick.
I just found this bug http://jira.codehaus.org/browse/MSUREFIREREP-2 in
Jira. It figures it was the second to the last one for me to find.
--
View this message in context:
31 matches
Mail list logo