mean ;) I can't found it in my
dictionary.
2005/12/5, Anuerin Diaz [EMAIL PROTECTED]:
On 12/5/05, li pan [EMAIL PROTECTED] wrote:
Hi, I am tring to convert my eclipse projects into maven
projects. These
projects depend on many opensource jars, and use heavily ant scripts
On 12/5/05, li pan [EMAIL PROTECTED] wrote:
Hi, I am tring to convert my eclipse projects into maven projects. These
projects depend on many opensource jars, and use heavily ant scripts.
Is it possiable? Thanks.
short answer, yes. is it going to be easy? the answer is maybe.
our project
On 12/2/05, Yuriy Ivanov [EMAIL PROTECTED] wrote:
Hello,
I have tests and reports for surefire plugin. How can I include junit report
in my site ?
Also how can I add pdm report to the site?
Not clear where and what should I insert in pom.xml. In site.xml I already
added ${reports} tag.
i am not a developer but can you ´try creating the appropriate pom.xml
(you can copy from the other libraries)? i think there is an option to
have the pom installed during the install goal invocation.
ciao!
On 12/2/05, Frank Russo [EMAIL PROTECTED] wrote:
Can one of the developers please
On 12/2/05, Frank Russo [EMAIL PROTECTED] wrote:
I'm not sure what you mean by pom.xml in this context. That is for my
project, which I included in my email. Do you mean the .pom file for the jar?
If that's the case, the option to create you talk about won't be available
until 2.0.1. I
yes it is supported. you can look at this page for more information :
http://docs.codehaus.org/display/MAVENUSER/Mini+Guides
ciao!
On 12/2/05, Ruel Loehr [EMAIL PROTECTED] wrote:
Because we can use the antrun plugin to do things, we may need to clean
up directories that are not the maven
On 12/2/05, Michael Chiem [EMAIL PROTECTED] wrote:
Hi,
I want to short circuit the build/package/deploy process so that developers
can get a quick on-demand build/deploy to an integration box, possibly not
wanting to wait for reporting and/or unit tests. However, the full build and
the
hi,
since the pmd plugin is currently unusable[1] for us we had to
resort to creating an ANT script for generating the PMD reports. our
project structure has some auxiliary subproject that are made from
classes from other modules and looks like this
X
|-module1
| |-pom.xml
|-module2
|
please disregard this for now. i was creating a testcase for the group
but the testcase went off without a hitch. we will try to investigate
further why our actual project is throwing an error while the testcase
is not.
thanks for the time.
ciao!
On 12/1/05, Anuerin Diaz [EMAIL PROTECTED] wrote
hi,
is there a way for plugin goals to be aware of the phase they are
being executed on? we have a source generator plugin that is used
during compile and test phases so it needs to distinguish which source
root should be the recipient of the generated sources. it is easy to
just add another
On 11/30/05, yogesh badkas [EMAIL PROTECTED] wrote:
is it possible to write the ant script instead of java program
to extend the goal ?
--yogeshB
Ant scripts are basically automation of what you invoke in the command
line thus you cannot really extend something using plain Ant scripts.
hi,
that execution is only going to be triggered if the
generate-sources phase is 'executed'. you can read this guide[1] for
more information. if you will check the mailing archives or the user
faq wiki[2] you will see why running the antrun plugin indepently is
not yet possible at this time.
you can specify multiple execution elements under the executions tag,
giving each a different id and binding them at different phases. this
is not mentioned in the intro document but this should be of some
help:
http://www.mail-archive.com/users@maven.apache.org/msg28931.html
ciao!
On 11/29/05,
sorry, i forgot that i cleaned up the example in that previous posting
since i was asking about a different problem. dont bother visiting the
link, but im going to post the tip in the user miniguide wiki.
ciao!
On 11/29/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
you can specify multiple
hi,
you said you are trying to run different unit tests at different
phases but your example below binds two executions to the same phase
(test). i havent tried stacking executions on a single phase but what
prevents you from combining those two into a single antrun execution?
ciao!
On
the dochaus confluence page (aka wiki) is working here. the problem
might be localized in your network.
ciao!
On 11/28/05, ir. ing. Jan Dockx [EMAIL PROTECTED] wrote:
So, apache.org is down, for a number of hours already.
Now the codehaus wiki is kaput! I was working in there, and suddenly,
the
while i am telling them that their migration to maven is a sound move.
ciao!
On 11/27/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
thanks brett. by composition you mean coding from scratch? currently i
am doing that but i was hoping to re-use some of the code in the
plugins. as it is i am going
On 11/28/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
Anuerin Diaz wrote:
On 11/27/05, Brett Porter [EMAIL PROTECTED] wrote:
No, I mean using libraries in a dependency fashion, rather than inheritance.
sorry but im lost on how to implement this 'dependency fashion'. it
might have
hi,
our project has a need for different types of assembly, as such i
am creating different profiles for each assembly/configuration.
however this causes me to duplicate some profile configuration. i was
wondering if there is a profile dependency mechanism (or something
planned) wherein on
you may get them from the sun website and add them manually to your
local repository. please see the following links
http://maven.apache.org/guides/index.html
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
hi,
i am trying to make use of the FML format for some project FAQs. i
am basing my soruce files on the ones i found on
http://svn.apache.org/viewcvs.cgi/maven/site/trunk/src/site/fml/ but
instead of getting an output similar to
http://maven.apache.org/general.html#Compiling-J2SE-5(it is placed
try adding a dummy pom for it. the developers said that the future
release version of the install plugin is going to create a pom
automatically but for now i just create them manually. recently
somebody has suggested adding an option to install-file to generate
poms so you might try searching the
the surefire plugin has a configuration[1] for skipping tests. you can
configure a profile[2] that has this set to true if you need it. hth.
[1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
[2] http://maven.apache.org/guides/introduction/introduction-to-profiles.html
List
Subject: Re: variable references for site generation
There is an open issue for enabling proper multiproject (I think it is
699?) sites - but there is no variable to insert the references yet.
- Brett
On 11/21/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
where can i find a listing
hi,
where can i find a listing of the available references that i could
use during site generation? the guide in the documentation site only
lists ${reports} which inserts all reports included in the
reporting/ section of the project. i was wondering if there is a
similar mechanism for
hi,
i have a a couple of issues with using the javadoc plugin. i am
looking forward to a similar result like the one found in
http://qdox.codehaus.org/maven-reports.html where multiple reports are
attached in the generated site. i have attached the maven-javadoc
plugin in the reporting elements
i just browsed JIRA and the second issue is the same as the one in
http://jira.codehaus.org/browse/MNG-1572. i will attach my scenario on
that issue if it would help in detecting the real cause.
ciao!
On 11/18/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
i have a a couple of issues
the javadoc index page.
Jos
On 11/18/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
i just browsed JIRA and the second issue is the same as the one in
http://jira.codehaus.org/browse/MNG-1572. i will attach my scenario on
that issue if it would help in detecting the real cause.
ciao!
On 11/18
/build
...
/project
Maybe I should specify add ${basedir} or something simular?
regards,
Wim
2005/11/17, Anuerin Diaz [EMAIL PROTECTED]:
a few questions:
- does utils-lang and utils-logging follow the expected directory layout?
- if the answer to the first question is no, did you
for clarifications:
- have you included the ant-optional dependency in your project?
- what task was failing? if it is related to a task that has an
EnumeratedAttribute parameter then please vote for
http://jira.codehaus.org/browse/MNG-1490 so it can have a greater
priority.
ciao!
On
On 11/17/05, Julien Stern [EMAIL PROTECTED] wrote:
On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fair enough. We need to add a flag to the maven-archiver, and propagate
that flag out to the maven-jar-plugin. Care to submit a
On 11/17/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
On Thu, 17 Nov 2005, Anuerin Diaz wrote:
I've closed that issue since you shouldn't be using extensions for
plugin-space dependencies. See the comments on the issue for details.
The antrun plugin doesn't include any optional tasks, just
a few questions:
- does utils-lang and utils-logging follow the expected directory layout?
- if the answer to the first question is no, did you adjust the
project descriptors of each project accordingly?
sometime i get that all classes are up to date after a compilation
failure. what i
On 11/15/05, Jörg Schaible [EMAIL PROTECTED] wrote:
Anuerin Diaz wrote on Monday, November 14, 2005 5:22 PM:
hi,
i am having problems trying to make a URL in the
confluence wiki. the guidelines on the right side it should
look like [title#anchor] but [why do i...#FAQ/why-do-i] does
hi,
according to http://maven.apache.org/plugins/maven-ejb-plugin/ejb-mojo.html
the ejb plugin has a basedir/ parameter that has the description
The directory for the generated EJB. i need to create multiple
versions of the EJB and its client so i added this to the
configuration of the plugin:
On 11/15/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
according to http://maven.apache.org/plugins/maven-ejb-plugin/ejb-mojo.html
the ejb plugin has a basedir/ parameter that has the description
The directory for the generated EJB. i need to create multiple
versions of the EJB and its
hi,
is there a way to trigger a plugin when the clean goal is executed
on a project? i need to clean up some files that reside outside the
build directory. i am planning to run some ant targets to do the
actual file removal but i need it to be triggered by only when clean
is invoked. currently
-plugin-development.html,
heading 'Attaching the Mojo to the Build Lifecycle')
regards,
Wim
2005/11/15, Anuerin Diaz [EMAIL PROTECTED]:
hi,
is there a way to trigger a plugin when the clean goal is executed
on a project? i need to clean up some files that reside outside the
build
hi,
is there a way to define properties for specific plugins? i have two
problems related to properties that maven profiles doesn't seem to
solve.
- properties defined in the pom.xml are not assured to be carried
over to the plugin. i have already defined properties in the pom.xml
(e.g.
. :)
ciao!
On 11/14/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
is there a way to define properties for specific plugins? i have two
problems related to properties that maven profiles doesn't seem to
solve.
- properties defined in the pom.xml are not assured to be carried
over to the plugin
i managed to use clover an hour ago. i just added this in my project descriptor:
reporting
plugins
plugin
artifactIdmaven-clover-plugin/artifactId
configuration
cloverDatabase${basedir}/target/clover/clover.db/cloverDatabase
will get the first but i dont have the
time to check. i added the first one much earlier when i was figuring
out how to make clover work. the second one downloaded a whole lot of
dependencies. :D
ciao!
On 11/14/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
i managed to use clover an hour ago. i just
find the runner, as the call that causes it is:
at com.meridea.cs.logging.Logger.getDelegatePlugin(Logger.java:306)
Surefire runs in the VM, with a separated classloader, so is this
using a class not in the project's dependencies?
- Brett
On 11/12/05, Anuerin Diaz [EMAIL PROTECTED
hi,
is there a way to exclude the pom.properties and pom.xml files in
the resulting artifact jar file? i know they are supposed to capture
as much information as possible on the build but even as it is we dont
want it included because it is against the company's security policy.
thanks.
this idea has been going around. the maven developers rely on JIRA for
the prioritization of their task so if you really want this proposal
to be accepted then you can vote on this task
http://jira.codehaus.org/browse/MNG-1521
it is a placemarker JIRA task containing Alexander's suggestion
hi,
surefire is failing on its execution and from what i can surmise
from the error is that maven tries to run the non-existent
org.codehaus.surefire.Runner class. i already opened up the 1.3 and
1.4 surefire group of jar files and there is really no Runner class in
there.
is there a
if you already have the jar file in your local repository then you can
just create a pom for it. i think i read somewhere that an empty pom
file would do.
ciao!
On 11/10/05, el wang [EMAIL PROTECTED] wrote:
When I try to build my jar. m2 always told me that:
Downloading:
hi,
i apologize for the subject. :D
just to organize our project structure we are putting all EJB
projects in a child-directory named EJB. then i put this in the parent
POM
modules
modulemod1/module
modulemod2/module
moduleEJB/ejb1/module
moduleEJB/ejb2/module
On 11/10/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
i apologize for the subject. :D
just to organize our project structure we are putting all EJB
projects in a child-directory named EJB. then i put this in the parent
POM
modules
modulemod1/module
modulemod2/module
scratch this to personal stupidity... the artifact ids were the same.
sorry for wasting your time. ill create a JIRA ticket all right, but
for an enhancement request of putting out a message if the reactor
detects a collision of identifiers. :D
ciao!
On 11/10/05, Anuerin Diaz [EMAIL PROTECTED
: documentation - guides
Reporter: Anuerin Diaz
Currently the documentation[1] on the Project descriptor file is
sparse. Although most of the basic elements are understandable[2],
some of the features remain under utilized (e.g. difference between
dependencies and dependencyManagement, plugins
http://jira.codehaus.org/browse/MNG-1502
please add an information if i missed something.
ciao!
On 11/10/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Jason,
Can we write an entry in FAQ for this problem?
I know brett opened an issue for message reporting
you could use ${project.basedir} or ${basedir} to get a reference to the
path containing the pom.xml. note that in multi-module applications these
will resolve to the directory of the module being built.
i too am looking for a list of the project properties. my previous
question[1] is still
maybe we can use http://wiki.apache.org/maven/ for a collaborative
effort? there is no specific wiki site for maven2 but from what i can
see that wiki is relatively unused by maven1.
finalized documents could then be promoted to the official site as the
maintainers see fit. not everybody has
On 11/8/05, Jason van Zyl [EMAIL PROTECTED] wrote:
On Tue, 2005-11-08 at 15:11 +0200, Anuerin Diaz wrote:
maybe we can use http://wiki.apache.org/maven/ for a collaborative
effort? there is no specific wiki site for maven2 but from what i can
see that wiki is relatively unused by maven1
hi,
does the assembly:directory goal really need the project's
sub-module artifacts to be installed in the local repository before it
will assemble them? i am a little confused becase a couple of days ago
i dont remember needing to install the sub-module artifacts prior to
calling the
}
${project.directory}
${project.outputDirectory}
${project.build.directory}
${project.build.outputDirectory}
${pom.build.directory}
${pom.build.outputDirectory}
ciao!
On 11/8/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
you could use ${project.basedir
hi,
i have been trying to reference the target build properties to no
avail. i have already searched the archives and hit this thread[1] to
no avail. i did not specify any output directories in my pom so am I
encountering the same problem in this part[2] of the thread? i have
already read the
hi,
the attachments caused my mail to bounce so you can access the files
using this link (combined to a single file, 8KB in total) :
http://ramfree17.org/hasty/maven/antrun_issue.zip
ciao!
On 11/7/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
the ant-run plugin (or the launcher
\plugin\antrun\AntPropertyHelper.java
src\main\java\org\apache\maven\plugin\antrun\AntRunMojo.java
src\main\java\org\apache\maven\plugin\antrun\components\AntTargetConverter.java
src\resources\META-INF\plexus\components.xml
ciao!
On 11/7/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi
)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 23 more
=
ciao!
On 11/8/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
not really but is it the same
hi,
i have a need similar to what alexander wrote but for a different
reason. the artifacts in my project are distributed as separate jars
files and on a specific directory structure. is there a way to really
specify how the recipient directory is structured in the assembly
configuration file?
hi,
i just use the src\main\assembly\dep.xml to manage my assemblies[1]
but i am using the assembly:directory goal to package my artifacts
because i just need to put all artifacts in a certain directory.
or am i not understanding your problem correctly?
[1]
a nullpointer makes it clear to me that M2 is not
ready for large-scale use.
I'd be happy to continue testing and post bugs. Hopefully this gets ironed
out quickly.
Thomas
On 11/3/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
doesnt M2_REPO supposed to resolve to the user's local
hi,
i am starting a multi-module project that has this structure
root
|---module1
|-pom.xml
|---module2
|-pom.xml
|-pom.xml
wherein module2 depends on module1. compilation of module1 goes
fine but module2 fails because it cannot see the classes in module1. i
hope
guess it
automatically. Add this in your Module2 pom.
dependencies
dependency
groupIdroot.MODULES/groupId
artifactIdmodule1/artifactId
version1.0/version
/dependency
/dependencies
Voilà, it should work now. Hope this help!
On 11/3/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi
hi,
doesnt M2_REPO supposed to resolve to the user's local repository?
if that is the case and assuming the local repository is
c:\repository then the final path will be
c:\repository/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar which i
think is already invalid.
i am a new maven user so
Hi,
its weird that neither chris' or wendy's approach works on my
machine. i already tried putting the following on both the pom and
settings xml:
repositories
repository
idlocalmirror/id
!--urlfile://\\c:\temp\repository/url--
hi,
check your command again to ensure that you are using
install:install-file as shown in
http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html.
i encountered that error a while ago and the cause was i did not type
the -file part of the goal. :D
ciao!
On 11/2/05, Luca
By default it is in ${user.home}/.m2/settings.xml. In windows 2k/XP
user.home translates to c:\Documents and Settings\username\
ciao!
On 11/2/05, Luca Gmail [EMAIL PROTECTED] wrote:
Where can I put my User-specific configuration file? What is his name?
exists some default coming from
hi,
you have to execute your maven build/deploy commands on the my-app folder
created when you invoke archetype:create. the reason is that your build
commands are looking for the pom.xml file (or project in that error).
ciao!
On 11/3/05, Balaji K M [EMAIL PROTECTED] wrote:
Hi,
After
On 11/3/05, Brett Porter [EMAIL PROTECTED] wrote:
depenencies is missing a d.
-X should have output this error - you can file a bug for this to be included.
- Brett
im just curious, shouldn't the parser flag it down automatically when
the pom is being read?
ciao!
On 11/3/05, Barry
hi,
i am new to maven and will be using it for a migration project that
i will be working with. i come from a solid Ant background so i am
still coming to gripes with some of the paradigm shift. excellent work
but since the documentation is rather sparse at the moment i will be
scouring the
Hi,
If you are behind a http proxy then you might want to read the
following links to enable m2 to access the remote repositories..
http://maven.apache.org/maven2/guides/mini/guide-proxies.html
http://maven.apache.org/maven2/maven-settings/settings.html
ciao!
On 11/1/05, Sipho Mothobi
74 matches
Mail list logo