The section 5.5.1. "Accessing Project Dependencies" of "Better builds
with Maven" (http://www.mergere.com/m2book_download.jsp) probably
explains what you need to do in your mojo:
...
Injecting the project dependency set
As described above, if the mojo works with a project's dependencies, it
mu
I had this issue when I migrated from intellij idea 4 to 5.
Maven 2 is actually doing the best thing ... it can.
4 calls its jdk by default "java version1.5.0_08" and 5 calls it by
default "1.5". So maven2 takes (if you don't override it with
"...") "java version1.5.0_08" in 4 and "1.5" in 5.
Hello,
I've got the following question.
I want to create a companywide Parent-pom.xml with all of those
parameters and settings I will need in each project.
e.g.:
...
How can I inherit from my CompanyPOM?
Regards
Sebastian Krebs
---
I have a set of tests that I only want to run in the integration-test
phase. These are all in in the .../integration/.. package
I have the following in my pom, but the plugin still insists on running
the integration tests in the test phase.
What is wrong with this configuration ?
mav
Put Maven distribution somewhere on a network drive so all developers can
get it from there instead from maven site. Then modify settings.xml in conf
directory something like:
alwaysActiveProfile
central
your-company-maven-proxy
Hi Sebastian,
Sebastian Krebs wrote on Thursday, October 12, 2006 9:22 AM:
> Hello,
>
> I've got the following question.
> I want to create a companywide Parent-pom.xml with all of those
> parameters and settings I will need in each project.
>
> e.g.:
>
>
> ...
>
>
>
> Ho
Arnaud HERITIER wrote:
Thanks James for your feedback.
We'll add a note about plugin dependencies in projects.
Nobody else is interested by maven 1.1 ?
Should we continue to try to release a final version 1.1 ?
Everybody moved to maven 2 or your existing maven 1.x satisfy you ?
We are indeed
Hey,
This is very simple.
Just create a top or company pom where you declare the packaging to pom as
value. The pom value means you just add the pom to your repository and
don't create a jar, ejb or ear. In your project pom you declare the parent
element.
Project Pom
com.company
ractTable.java:287)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(R
DBMSManager.java:3006)
... 54 more
this was tested with daily build of today (20061012)
- Daniel
Hi folks,
Does anyone use JPOX with Maven2?
Which enhancer plugin do you use?
Bye.
/lexi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi!
I'm working on a project where one of the requirements is to update a
project to use Maven 2 instead of Maven 1. In the process of doing this I'm
trying to learn how to use Maven, as it is new to me. This has become a bit
of a problem because I have to deal with a corporate firewall. After r
As I can see (1) , the last maven plugin is using jpox 1.1.1 .
Stéphane.
(1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html
*
Aleksei Valikov a écrit :
Hi folks,
Does anyone use JPOX with Maven2?
Which enhancer plugin do you use?
Bye.
/lexi
--
Hi.
As I can see (1) , the last maven plugin is using jpox 1.1.1 .
Stéphane.
(1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html
Thanks, I've also found it.
I was a bit discouraged by "JPOX supports Maven1, Maven2 is not supported"
statement on the JPOX site.
I've now the "h
Hi *,
I've downloaded the october 9 snapshot and installed in on top of the August
one. I get this error when I do nearly anything (jar, site, etc)
BUILD FAILED
File.. file:/C:/project/objectlabkit/maven.xml
Element... attainGoal
Line.. 50
Column 39
The build cannot continue because
Hi,
Do i have a option in maven2 version to optional repositores for downloading
the jar. Actually i have a bunch of jars in my own repository of local
machine however take the case that maven dont find the required jar at that
place then i want maven to download it from the URL given through mir
I am now bewildered by what is going on here. The maven-scm-plugin is
clearly defined in the ibiblio repository. I am not overriding
anything, and yet I get this error when I try to build the pom. May
someone please tell me what is happening?
maven
In my site.xml file, the banner tags have images in them. If the image is
located at apache.org or google.com (for example), all is well. The url passes
to the generated documents intact, as a fully-qualified url. But if the image
is at my company's domain, maven is stripping out the domain, le
How do I tell Maven that I need to run a specific task first i a goal?
An example...
I need to run an ANT task during the site phase, but it needs to be executed
first, before the "normal" site tasks, but my ANT task allways seem to run
last in the phase.
Thanks
-Martin
maven-antr
try pre-site
https://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml
On 10/12/06, aXXa <[EMAIL PROTECTED]> wrote:
How do I tell Maven that I need to run a specific task first i a goal?
An example...
I need to run an ANT task durin
You are using maven1 plugin.
the maven-scm-plugin for maven 2 is some where else
try
org.apache.maven.plugins
maven-scm-plugin
1.0-beta-2
-D
On 10/11/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]>
wrote:
I am now bewildered by what is going on here. The maven-scm-plugin is
setup maven-proxy and have your repo as first on the list.
-D
On 10/11/06, pankaj verma <[EMAIL PROTECTED]> wrote:
Hi,
Do i have a option in maven2 version to optional repositores for
downloading
the jar. Actually i have a bunch of jars in my own repository of local
machine however take the
Aha, then I think the earlier suggestions may have been correct - you
want to keep all the common work in 1 war artifact (NOT a parent pom, a
separate child module) and depend on that in the client specific wars -
this will then merge the common into the client specific work creating
your compl
Hi,
I face a strange problem concerning POM validation and setting properties in
profiles.xml...
My project C depends on module B, which itself is a child of module A.
Module A defines a system scope dependency like this:
db2
db2
8.2
sys
Hello,
Couple of things still open here
1) Is there a way to query the executed project form the MavenEmbedder? Or
can I get it with the @executedProject tag?
2) If the plugin executed by the MavenEmbedder produced an artifact, can it
be resolved somehow from somewhere.
br,
Mikko
---
www.codeboi
What do you need to put in your pom.xml to allow for Automated Enhancement ?
-Thanks
Steve More
On 10/12/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
Hi.
> As I can see (1) , the last maven plugin is using jpox 1.1.1 .
>
> Stéphane.
>
> (1) *http://mojo.codehaus.org/jpox-maven-plugin/depende
You can look at Continuum for an example:
http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/
pom.xml
Thanks,
Jason.
On 12 Oct 06, at 3:42 AM 12 Oct 06, Aleksei Valikov wrote:
Hi folks,
Does anyone use JPOX with Maven2?
Which enhancer plugin do you use?
Bye.
/lexi
--
On 19 Sep 06, at 2:20 AM 19 Sep 06, Mikko wrote:
Hi,
Is there a way to run another plugin goal from my own plugin by
using the
@execute goal="" tag in my plugin. I would like to be able to run the
assembly:assembly goal from my plugin. When I use @execute
goal="assembly:assembly", the buil
Hi.
What do you need to put in your pom.xml to allow for Automated
Enhancement ?
I've attached my pom.xml.
The whole example could be found here:
https://hyperjaxb3.dev.java.net/source/browse/hyperjaxb3/jdo/sample-hotel/
Bye.
/lexi
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www
Hi.
You can look at Continuum for an example:
http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/pom.xml
Thanks, I've also found that plugin.
Works pretty neat.
Bye.
/lexi
-
To unsubscribe, e-mail: [EM
Hi,
What I'm getting at is that I have a multimodule build and that I would like
to use the assembly plugin to assemble it and once I have the whole binary
in one jar file I need to preverify it and sometimes obfuscate it (yes, MIDP
development).
Maybe I'm going about this the wring way, so any
Hi Christoph,
I also have the same trouble. I think it's a bug.
Any idea ??
Since yesterday, I tried to use the system scope like this
sun.j2ee
j2ee
1.4
system
${j2ee1.4.home}/lib/j2ee.jar
[WARNING] POM for 'com.test:resource:pom:1.0-SNAPSHOT:compile'
On 12 Oct 06, at 2:21 AM 12 Oct 06, Sebastian Krebs wrote:
Hello,
I've got the following question.
I want to create a companywide Parent-pom.xml with all of those
parameters and settings I will need in each project.
e.g.:
...
How can I inherit from my CompanyPOM?
Thanks.
It seems that when I make changes to package.jdo in the src
directory, it is not being copied over to the target directory. Is
there a way I can force it to copy over ?
-Steve More
On 10/12/06, Jason van Zyl <[EMAIL PROTECTED]> wrote:
You can look at Continuum for an example:
http:
Hi.
It seems that when I make changes to package.jdo in the src
directory, it is not being copied over to the target directory. Is
there a way I can force it to copy over ?
Is package.jdo placed in src/main/java or src/main/resources? Should be placed
in latter.
Bye.
/lexi
-
Hi.
It is currently placed in src/main/resources.
It will get copied over only once. If I make a change, then I am
forcing it by running mvn clean, then a mvn test.
I would prefer to just edit package.jdo then mvn test.
Sorry, can't reproduce.
In my case mvn test copies the new package.jdo.
Thanks for the tip. That has helped me a lot. I noticed that the value of
the project.artifact property looks something like this: artifact:
org.kurron.maven2:ear-one-WLS:ear:1.0-SNAPSHOT. I don't suppose there is
convenient mechanism for obtaining the full path to the EAR, such as:
/home/me/.
It is currently placed in src/main/resources.
It will get copied over only once. If I make a change, then I am
forcing it by running mvn clean, then a mvn test.
I would prefer to just edit package.jdo then mvn test.
-Steve More
On 10/12/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
Hi.
>
On 11 Oct 06, at 2:26 AM 11 Oct 06, Gisbert Amm wrote:
I'm trying to make a reusable plugin as described in section 5.4.2
of "Better builds with Maven" and on http://maven.apache.org/guides/
plugin/guide-ant-plugin-development.html (both docs do slightly
differ and it seems that the website
Jason van Zyl wrote:
On 11 Oct 06, at 2:26 AM 11 Oct 06, Gisbert Amm wrote:
I'm trying to make a reusable plugin as described in section 5.4.2 of
"Better builds with Maven" and on http://maven.apache.org/guides/
plugin/guide-ant-plugin-development.html (both docs do slightly
differ and it s
Hi,
We are facing a problem with multi module maven2 projetcs with a super-POM
defined at the company level.
It's ok to store modules in subdirectories of the project. But the
organisation POM is shared between multiple projects, it cannot be placed at
the parent directory level of each of them.
The answer is... yes! Simply remove the relative path information. For example:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
com.biomedc
Does anybody know how I can persuade the Maven2 FindBugs Plugin to let
Findbugs generate an XML file containing its results into the target
directory in addition to the HTML report in target/site?
The Maven1 Findbugs Plugin automagically generates a file named
findbugs-raw-report.xml into the
Hi Benoit,
As I said in my previous mail [1] you have to add another repository
where you'll find the snapshot :
maven.repo.remote=
http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
Cheers
Arnaud
[1]
http://www.nabble.com/Maven-1.1-RC1-SNAPSHOT-needs-
Yes it is: http://mojo.codehaus.org/xmlbeans-maven-plugin/
Take care
Ralf
[EMAIL PROTECTED] wrote:
Hi Y'All
Is there a XMLBean 2 plug-in available for Maven 2.0 that generates the
schema JAR
from the XSD files?
--
Peter Pilgrim
UBS Investment Bank,
PTS Portal / IT FIRC OPS LDN,
10
I have an application that using XML to define the features added to each
release version. I wrote an XSLT to convert this XML into the changes
plugin XML format. This allows me to have the same information in the
application and the generated site, but the XSLT execution is a manual
step. I hav
Hello,
I want to achieve the following:
I have a remote repository on our local server and I want to say M2 that it has
to deploy projects artefacts into
this remote repository.
But without configure this directly in each pom.xml,
because we have multiple projects and for each the r
I would like to define the following:
.
a
b
profile1
a
The expected behavior is:
When running the pr
Hello,
I’m looking for some help on repository handling.
In our company we have 2 internal repository servers (both running
maven-proxy). They are also used for Ibiblio mirroring.
And they both contain 2 directories (one for snapshots and one for
releases).
This setup is complete and works l
Hi!
I am trying to build a directory "test/lib" which only contains those
dependencies belonging to scope "test". Currently the only dep with this
property is the "junit.jar". So I am trying the following in my assembly
descriptor:
test/lib
test
*junit*
Is there any way to let the releaseplugin to ignore the fact that I'm
using snapshot versions of plugins. It's very nice that it checks, but I
could still use the plugin to change poms, do svn tagging and so on.
David
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http:/
Fair enough, but the message does say:
jdkName is not set, using [java version1.5.0_08] as default.
Even when it uses "1.5", which is confusing. How does maven know
which version of idea I am using?
On 10/12/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:
I had this issue when I migrated from
Hey,
This is an example of a pom with the settings to download to a repo server
and from a repo server. For the deploying process just do "mvn deploy".
It then builds this project and places it in the local repo and then deploys
it to the remote repo. It uses scp (ssh based).
http://maven.apac
Try mvn -X for additional debugging information.
And if you really want to access that buffer, try piping the output to
a file and then email/ftp the file somewhere.
Wayne
On 10/12/06, Peter_S <[EMAIL PROTECTED]> wrote:
Hi!
I'm working on a project where one of the requirements is to update
I forgot something. If you want to declare it globally you can use a top
project pom (like I did) or a company pom which your project pom inherits
from using the parent tag in the pom.xml.
I you have multiple people using one pc. Then you need to configure the
server section in the settings.xml fi
Hi,
in Maven1 the Junit Plugin wrote the test data aggregated into a file
named TESTS-TestSuites.xml. How can I achieve this with the Maven2
Surefire plugin?
-Gisbert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
HI Nate,
https://svn.codehaus.org/mojo/trunk/mojo/xslt-maven-plugin worked for me
Cheers,
Siegfried Goeschl
Nate wrote:
I am not able to download this plugin source from specified SVN URL in the
source repository link. Am I doing something wrong?
Thanks,
-Nate
http://mojo.codehaus.org/x
sounds like a bug, please file a JIRA
On 10/12/06, Gisbert Amm <[EMAIL PROTECTED]> wrote:
Does anybody know how I can persuade the Maven2 FindBugs Plugin to let
Findbugs generate an XML file containing its results into the target
directory in addition to the HTML report in target/site?
The Mav
Hello Nir
Modules which are not defined inside a profile are "always active".
Modules defined inside a profile will be added to the ones defined
outside a profile. To achive your needs you define at best two profiles.
The first one contains modules a and b and is activated by default, the
second p
Hello All,
I'm having trouble with trying to update the SCM URL field on the Update
Continuum Project webpage. I enter my new SCM information, trying to correct an
earlier error. I then press the submit button and then force a build. The
build works but when I go back to the Project Info webpag
Dan,
What makes you think this is a bug? The classifier behavior seems to be
hardly documented; at least I am not able to find any documentation.
I am switching back and forth if this behavior is intentionally or not.
I started to look into the maven-war-plugin sources but so far could not
spot
Hello,
http://mojo.codehaus.org/xslt-maven-plugin/index.html
What is the status of the maven2 XSLT Plugin? The source repository links
are invalid. Is there a different location of the source code?
Also, what is the difference between the following servers?
http://people.apache.org/maven-sn
from user perspective, some thing in maven changes the artifact file name
which
is unexpected. maven-dependency-plugin does a lots of artfacts
manipulations,
unless the user tells it so, the file name remains the same.
-D
On 10/12/06, Andreas Guther <[EMAIL PROTECTED]> wrote:
Dan,
What ma
I have a project as:
Project/pom.xml
Project/code/pom.xml --> type: jar
Project/code2/pom.xml --> type: jar (depends on code.jar)
Project/webapp/pom.xml --> type: war (depends on code.jar and code2.jar)
If I run the commands:
mvn release:prepare -DdryRun=true
mvn release:prepare
they run correc
On 10/12/06, Nate <[EMAIL PROTECTED]> wrote:
Hello,
http://mojo.codehaus.org/xslt-maven-plugin/index.html
The site for xslt plugin is old.
svn url is http://svn.codehaus.org/mojo/trunk/mojo/xslt-maven-plugin
This plugin 1.0 already released. Dont use the snapshot unless it has fixes
you n
Hi,
I have a classloading issue with ant optional tasks which I've
imported via ant-nodeps-1.6.5.jar.
I have a multi-module maven project with modules at three levels:
1
a
i
ii
b
i
ii
2
...
...
I'm using the maven-antrun-plugin in module 1.a.i in the following manner.
Hi everyone,
Is it possible to insert contents of the version tag from the POM into the
Javadoc @version-tag?
Kind regards,
Roland
A few ideas that might be worth investigating...
1. maven-antrun-plugin and replaceregexp task
2. maven-resources-plugin (not yet released)
Wayne
On 10/12/06, Roland Bali <[EMAIL PROTECTED]> wrote:
Hi everyone,
Is it possible to insert contents of the version tag from the POM into the
Javadoc
Thanks Gisbert.
Do not hesitate to ask us some help. If there's some backward
incompatibilities, we'll try to fix them.
Arnaud
On 10/12/06, Gisbert Amm <[EMAIL PROTECTED]> wrote:
Arnaud HERITIER wrote:
> Thanks James for your feedback.
> We'll add a note about plugin dependencies in projects
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(R
DBMSManager.java:3006)
... 54 more
this was tested with daily build of today (20061012)
- Daniel
Hi all,
Sorry for all the spam generated by me. :)
I was wondering if I can specify the version number for batch-mode in command
line or some properties.
I think in batch mode it will be automatic and I can not control it, but would
like to make sure. I couldn't find any info on it on the net
Filed under http://jira.codehaus.org/browse/MPWAR-67
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 9:50 AM
To: Maven Users List
Subject: Re: [M2] Classifier removed during packaging
from user perspective, some thing in maven changes the ar
I have a multi-module project:
main/pom.xml
main/profile.xml
main/code1/pom.xml
main/code2/pom.xml
main/webapp/pom.xml
As you can see, I have a profile.xml in the main folder. I have about 5
profiles defined in it such as:
skipunittest
true
You can use:
mvn help:active-profiles to see what profiles are injected for which
projects. If you feel this is not working according to the profiles you've
specified explicitly (and you're not using anywhere), then
please file a MNG issue:
http://jira.codehaus.org/browse/MNG
and attach a samp
Hi,
I try to use the finalName in my parent pom as following:
${artifactId} (without the version number)
If I run maven from the parent pom everything works fine: all my
artifacts are generated without the version number. and also the
classpath entry of the manifest.mf file is correctly set.
that is correct. you can not specify version on command line with batch
mode.
Why not trusting release:prepare to do that job for you?
-D
On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote:
Hi all,
Sorry for all the spam generated by me. :)
I was wondering if I can specify the ve
Before I start on ther path of rolling my own, I was wondering if anyone
already did this
--
cg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There cases where jars needs to be taken from there installation directory
otherwise, It won't work. That's the case for weblogic.jar, which will load
jars are need it base of its own path.
Simon Kitching-2 wrote:
>
> On Thu, 2006-03-23 at 04:28 -0800, Richard Sladek wrote:
>> Thanks for your o
John,
thanks for the fast reply. I checked with a simple project (just created a new
one) and I could reproduce the issue. So I filed a case as you suggested. The
case id is: MNG-2605 .
thanks,
Attila
-
To unsubscribe, e-m
Dan,
We have two cases of releases. For QA, we number the build as
App-MAJOR.TESTBUILDNUMBER,
such as App-4.3001, App-4.3002 . At release time we have a PRODBUILDNUMBER,
such as App-4.5001,
App-4.5002 (these are release candidates).
My coworkers want a "one-click" build, so I was hoping I can
voice your requirement thru this unimplemented yet feature enhancement
http://jira.codehaus.org/browse/MRELEASE-100
-D
On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote:
Dan,
We have two cases of releases. For QA, we number the build as
App-MAJOR.TESTBUILDNUMBER,
such as App-4.3001
I would expand that a bit to say that there are three types of repos
that I think are common for teams using maven:
* the public repos like ibiblio
* a repo that your team maintains for your project or organization
(often using the "local repo" part of a "maven-proxy" or "proximity"
instance)
If this is a stupid question, I apologise in advance...
Given a dependency to a specific set of classes, how do people locate
the jar that provides it, together with the artifact and group ids? I
haven't yet found a better way than to search through ibiblio, hoping to
find something there - bu
Thanks for the advide, I already create a similar layout (application repo,
vendor repo and public). Back to the case of weblogic, It needs to be taken
from its installation directoy and I'm having hard time writing puglins for
it. The workaround that I found it's using the Ant java task to fork a
> Before I start on ther path of rolling my own, I was wondering if anyone
> already did this
Take a look at
maven-repository.dev.java.net
maven2-repository.dev.java.net
We've got a number of jwsdp jars deployed ther. Not all but you're free to add
more.
--
Der GMX SmartSurfer hilft bis
I am using:
MVN Registry
http://www.mvnregistry.com/
On 10/13/06, Christian Goetze <[EMAIL PROTECTED]> wrote:
If this is a stupid question, I apologise in advance...
Given a dependency to a specific set of classes, how do people locate
the jar that provides it, together with the artifact and
What about the case where the web.xml and any .tld files are generated (via
XDoclet). In that case the web.xml wouldn't be in the src/main/webapps
folder but somewhere in target/gen. The jsp plugin expects a nice little
directory structure where the web.xml, JSP's and .tld are rooted under the
We are suggesting that you install the weblogic jar(s) into your
vendor repo. And stop using system scope...
Wayne
On 10/12/06, Manuel Ledesma <[EMAIL PROTECTED]> wrote:
Thanks for the advide, I already create a similar layout (application repo,
vendor repo and public). Back to the case of web
Hello,
I'm developing a plugin in maven 2.0.4. My plugin has a property annotated
like this:
/**
* @parameter default-value="${artifactId}.exe"
*/
private File outfile;
When I use the plugin, outfile is set to "/home/pjungwir/src/encc/null.exe."
But suppose I use this javadoc instead:
/**
inconsistency i guess, I suggest to always start with ${project}
-D
On 10/12/06, pjungwir <[EMAIL PROTECTED]> wrote:
Hello,
I'm developing a plugin in maven 2.0.4. My plugin has a property annotated
like this:
/**
* @parameter default-value="${artifactId}.exe"
*/
private File outfile;
I'm currently using Eclipse 3.2 and Maven 2 plugin version 0.0.9. When I
enable Maven 2 and right-click on my main project, there are only 2 options
for me in the popup menu: 1) Update Source Folders and 2) Add Dependency...
Where are the lifecycle phases or custom goals? Seems like the Net
dan tran wrote:
>
> inconsistency i guess, I suggest to always start with ${project}
>
I'm surprised at the implication: different code handles variable
replacement here vs. there.
Inconsistencies like this can be maddening. Could I file this as a jira?
Maybe I'll even supply a patch. :-)
I did it, but Weblogic jar does not work that way, It looks for other
jars in there WL_HOME/server/lib directory, reason why? it needs to be
taken from there.
Wayne Fay wrote:
We are suggesting that you install the weblogic jar(s) into your
vendor repo. And stop using system scope...
Wayne
O
Look at external tools. You can launch lifecycle and goals from there.
Los Morales wrote:
I'm currently using Eclipse 3.2 and Maven 2 plugin version 0.0.9.
When I enable Maven 2 and right-click on my main project, there are
only 2 options for me in the popup menu: 1) Update Source Folders and
I am wrong ;-)
when you are in pom.xml, ${someVar} means a reference of a variable under
root of the pom
However, maven also aware of other key vars such as ${project},
${settetings} etc.
Therefore
${project.artifactId} and ${artifactId} are the same thing
${basedir} ${project.basedir}
dan tran wrote:
>
> when you are in pom.xml, ${someVar} means a reference of a variable under
> root of the pom
>
Ah, so within the pom, the "project." prefix is optional. It looks like it
is also optional when filtering resource files. But not when annotating
plugins. That's still a little an
Hi, Thanks for the tip. Now I tried the lifecycle clean, compile and
package on my base project, but it doesn't recurse down to my sub projects.
For example, I have this setup:
-->Main Project
---> Project 1
---> pom.xml
---> Project 2
---> pom.xml
---> pom.xml
Now
Forgive me if this is a naive question but I've search the web and
haven't found an obvious answer.
I'd like to find a tool that generates Java source files, SQL schema
files, and O/R mapping files from the same XSD file. The input XSD file
(over which I have no control) defines the format of
Have you tried adding ALL of those jars to your vendor repo, and
adding each one as a dependency in your pom? If they're all available
on the CLASSPATH while executing the plugin, I don't know why it would
need to access WL_HOME at all.
I'm not currently a Weblogic user, so I'm not sure what it e
I'm not aware of such a tool; perhaps take a look at XDoclet or
Hibernate, they have a variety of tools available in this domain,
maybe you'll find something that will work...
Also, you might be able to use some XSLT to convert your input XSD
into a "Hydrate model XSD" and then use the Hydrate so
I am just starting to learn Maven. I am trying to follow the instrucations
in "Better Builds with Maven" but get the following message right off the
bat:
It requires a project with an existing pom.xml , but the build is not using
one.
I am using maven2.0.4 on Windows XP.
I'd appreciate any help
1 - 100 of 108 matches
Mail list logo