Configure you release plugin to make install to you local repository
first, then release:prepare success.
plugin
artifactIdmaven-release-plugin/artifactId
inheritedtrue/inherited
configuration
preparationGoalsclean install/preparationGoals
Franz Garsombke wrote:
I know that most of the time people post to ask questions or report problems. I
would like to give thanks to the Maven team for producing some much needed
forward-thinking software that really does revolutionize how we build
componentized software. I know that working
Thanks for the help - Maruf
Niels Gylling wrote:
Have both the war and the ejb depend on the common code, it will then
be bundled in WEB-INF/lib in the war.
Aleo ensure that the ejb has a classpath entry to the commmon code like
plugin
groupIdorg.apache.maven.plugins/groupId
parent pom:
modules
module..\child1/module
/modules
child pom:
parent
groupIdparent/groupId
artifactIdparent-pom/artifactId
version1/version
relativePath../parent/pom.xml/relativePath
/parent
artifactIdchild1/artifactId
groupIdparent/groupId
On 1/27/07, Marco Mistroni [EMAIL PROTECTED] wrote:
child pom:
parent
groupIdparent/groupId
artifactIdparent-pom/artifactId
version1/version
relativePath../parent/pom.xml/relativePath
/parent
there you go!!
thanx a lot Alexander...
this was what i was missing..
thanx
Just curious, but why is
http://docs.codehaus.org/display/CONTINUUMUSER/Home
password-protected but MAVENUSER and ARCHIVAUSER are not?
It would be much easier for the casual continuum user to browse the info
there if the restriction was removed.
--
Robert Dale
I personally use a completely different approach when the parent + child
modules are really a self-contained project (and you always want to work on
all of them).
* I open the parent project in Eclipse. All the child modules show up as
sub-folders
* I add each main and test source and resource
I'm running the latest svn as of today - 500580.
If I try to retrieve a file from the local repository I get this error:
exception
javax.servlet.ServletException: Unable to lookup role [null] hint [basic]
root cause
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
None that I'm aware of currently exist for M2 (in any formally
released fashion, at least) but I know there was a Dashboard plugin
for M1 and there has been some recent disussion of a similar nature
for M2 on this list.
Keep your eyes peeled. I imagine this is on its way.
Wayne
On 1/26/07,
I am looking for a Maven 2.0 plugin that would help me prepare a ZIP archive.
From Maven 2.0.4 documentation, it appears that .zip archives are not
supported.
Regards,
/U
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 1/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am looking for a Maven 2.0 plugin that would help me prepare a ZIP archive.
maven-assembly-plugin
--
How fast can a year go? As fast as your childs first year.
-
To
I want to turn off all tests for a project but still be able to force a run
for all tests in a single class file by using a param on the mvn command
line but can not figure out how to do this.
I edited the pom.xml and specified to turn off all tests, however when I
type:
mvn
I am not too experienced with Maven yet but I have created a simple JAR
project POM.XML and I would like to build a zip file as follows;
../
../plugin.xml
../classes
../classes/*.class
This directory structure can be explained in more detail here;
http://jpf.sourceforge.net/
Does Maven support
Have you tried -Dmaven.test.skip=false? Not sure it will work, but
there's a good chance it will. But then I think it will run all tests.
Probably you shouldn't use config-skip if you actually want to run
some test(s)... Instead I'd use profiles to specify the exact test or
set of tests you want
On 1/27/07, Lisa [EMAIL PROTECTED] wrote:
I want to turn off all tests for a project but still be able to force a run
for all tests in a single class file by using a param on the mvn command
line but can not figure out how to do this.
Try putting the skip config in a profile that is activated
Maven does not support this JPF file format specifically that I'm
aware of -- someone might have made a plugin -- but there's nothing
stopping you from creating a zip file in this format using the
assembly plugin.
http://maven.apache.org/plugins/maven-assembly-plugin/
Wayne
On 1/27/07, [EMAIL
Thanks, I am new to Maven and not sure I understand profiles completely yet,
but will do some research on exactly how to do this.
Lisa
Wendy Smoak-3 wrote:
On 1/27/07, Lisa [EMAIL PROTECTED] wrote:
I want to turn off all tests for a project but still be able to force a
run
for all
yes, I am familiar with this, but what I want is:
1. a pom file that excludes all tests by default
2. the ability to force all tests with a specific class by using -D
switch
Currently I have not figured out how to do this. I know how to use the skip
tag and exclude by pattern but then if
so I have this in my pom.xml to skip all tests:
!-- skip running all tests in this project. Do not change this --
!-- run tests explicitely --
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
If you have examples of how to create a profile (inside the pom itself) and
specify this profile on the command line, it would be greatly appreciated.
I am pouring over the documentation and looking for something that is
applicable.
Thanks
Lisa
Wayne Fay wrote:
Have you tried
20 matches
Mail list logo