Could somebody of the site-plugin maintainters shed some light?
regards,
Wim
2007/4/16, Wim Deblauwe [EMAIL PROTECTED]:
Should I file an enhancement request on the site plugin?
regards,
Wim
2007/4/12, Wim Deblauwe [EMAIL PROTECTED]:
I mean cleaning not in your local target directory but
I don't see any reason why you wouldn't want the applet installed in the
local repository. Anyway, I think you could still do `mvn package` on
archiva parent directory as long as the archiva-applet is found on any other
remote repository.
On 5/10/07, Stephen More [EMAIL PROTECTED] wrote:
I
Hi,
We have a few custom Maven 1 plugins we need to convert to Maven 2 plugins but
i'm not sure what the best way is. We have 1 that is a wrapper around specific
maven goals and a few customer goals, and we have 2 custom plugins.
One of these does:
goal name=tdi:sloc
ant:echoStart SLOC
you probably should be writing java files. IMHO at least.
However it should be fairly easy to keep calling the ant tasks from
your java mojo.
Milos
On 5/10/07, maarten roosendaal [EMAIL PROTECTED] wrote:
Hi,
We have a few custom Maven 1 plugins we need to convert to Maven 2 plugins but
i'm
2007/5/10, Tobias Reese [EMAIL PROTECTED]:
Hi @All,
I have a Multi Module Project as follows:
main
- utils
- ejb (depends on utils)
- web (depends on ejb)
- ear (depends on utils, ejb, web)
I can do mvn package, which succesfully builds my artifacts. However,
if i do mvn
mvn install
should solve your issue.
package creates the artifact within the projects target directory, but when
working on a multi module project you need to do install so it uploads the
artifacts into you local repository so they are avaliable to the rest of the
modules.
I hope that helps,
That was quick. ;) Thanks a lot for your help. mvn install in deed solves my
problem. But what I don't understand is that the mvn package task runs
without problems. This indicates that the compile task could resolve the
dependent artifacts without being deployed to local repo.
Cheers Tobias
2007/5/10, Tobias Reese [EMAIL PROTECTED]:
But what I don't understand is that the mvn package task runs
without problems. This indicates that the compile task could resolve the
dependent artifacts without being deployed to local repo.
It's a bug in the Javadoc plugin, that does not run
hello,
i just tried to run continuum with a maven2 project, which i already tried
with cruise control, and where the scm connection url actually worked, so i
wonder why i get connection problems now in continuum
the scm url is :
scm:cvs:pserver:fms:[EMAIL
On 07/05/07, Olivier Dehon [EMAIL PROTECTED] wrote:
Hi,
How can I get the dependency:analyze goal to include the class files
that result from the compilation of the JSPs in the actual analysis?
Is there a configuration parameter to indicate additional target
directories to look into? Am I
Hi all,
Up until now I have been using the xdoclet-maven-plugin from
org.codehaus.mojo, and having upgraded to v2.0.6 of maven, this plugin no
longer works. Research shows that this particular plugin seems to have
been abandoned.
Further research finds a confusing array of plugins, named
If your project is set up correctly, calling site:deploy will upload the sites
to one location on a remote server. You must have that location configured in
your POM of course!
Just call mvn site:deploy from the root of the project.
On Wednesday 09 May 2007 22:27, [EMAIL PROTECTED] wrote:
Hi,
I'm new to maven and after getting started with maven doc and
Vincent Massol's book Better Builds with Maven there are still some
obscurities from my point of view.
I hope for some ideas to get my example project running and to help
improving maven
(may it be in code or documentation)
So
Graham Leggett wrote on Thursday, May 10, 2007 12:48 PM:
Hi all,
Up until now I have been using the xdoclet-maven-plugin from
org.codehaus.mojo, and having upgraded to v2.0.6 of maven,
this plugin no
longer works.
It works, you just have to add the dep to ant at the plugin's declaration:
Dear,
I m compiling Open IM with Maven 2.0.6 with the command mvn install
but i m not able to compile OpenIm. Please help me in this regard.
And following is the surefire Report.
---
Test set:
On Thu, May 10, 2007 1:16 pm, Jörg Schaible wrote:
It works, you just have to add the dep to ant at the plugin's declaration:
dependencies
dependency
groupIdant/groupId
artifactIdant/artifactId
version1.6.5/version
/dependency
How do I create three separate jars (of classes) in the target directory,
from a single source file?
For example,
A
|---src
| |---main
| |java
| |my_java files
|--target
|--classes
How do I create three separate jars (of classes) in the target
directory, from a single source file?
For example,
A
|---src
| |---main
| |java
| |my_java files
|--target
|--classes
On Wednesday 09 May 2007 11:48:00 John Casey wrote:
It's a little hackish, but if you have a profile that's activeByDefault,
and you want to disable it deliberately, then you can create an empty,
dummy profile, and activate that. So:
profile
iddummy/id
/profile
then:
mvn -P dummy
2007/5/10, Numan Ilyas [EMAIL PROTECTED]:
Dear,
I m compiling Open IM with Maven 2.0.6 with the command mvn install
but i m not able to compile OpenIm. Please help me in this regard.
I think you should ask the Open IM team for that.
Antonio
Hi,
There's a trick to this I discovered about six months ago. It is
possible to define a profile that is active when an env variable is
*not* defined:
profile
activation
property
name!myVar/name
/property
/activation
You can file an issue there: http://jira.codehaus.org/browse/OPENIM
Emmanuel
Numan Ilyas a écrit :
Dear,
I m compiling Open IM with Maven 2.0.6 with the command mvn install
but i m not able to compile OpenIm. Please help me in this regard.
And following is the surefire Report.
Hello,
I created a simple j2ee proj:
C:\alex\workspacemvn archetype:create -DartifactId=simple -DgroupId=simple
-Dar
chetypeArtifactId=maven-archetype-j2ee-simple
(I removed modulessite/modules because archetype does not create *site*
sub-project aka module)
after that I could see that project
Looks like it is out of ideology of maven.
I think to solve it you should have 3 projects.
However if you create your own plugin everything is possible :)
suchitra wrote:
How do I create three separate jars (of classes) in the target directory,
from a single source file?
For example,
I use the assembly plugin.
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.2-beta-1/version
configuration
descriptorSourceDirectory${basedir}/src/assemble//descriptorSourceDirectory
/configuration
/plugin
and then in the src/assemble I create xml files like this:
assembly
INFO -
INFO - [INFO] [clover:instrumentInternal]
INFO - [WARNING] No Clover instrumentation done as no matching sources files
found
INFO - [INFO] [ear:generate-application-xml]
INFO - [INFO]
INFO - [ERROR] BUILD FAILURE
Hi,
What is the best way to write a Maven 2 plugin that wraps multiple goals? In
Maven 1 we create a plugin which did something like:
our-own-plugin:do-a
ccupdate (via antexec)
multiproject:clean
multiproject:install
multiproject:site
our-own-plugin:do-b
I hope i don't have to write a Java
I am getting this error in a multiproject. I have a child module with no source
code
and hence it fails. I dont want to instrument the submodule. Is there
a way to do it?
INFO - [INFO] [clover:instrumentInternal]
ERROR - Clover Version 1.3.13, built on September 04 2006
ERROR - loaded from:
On Thursday 10 May 2007 08:52:04 Stephen Coy wrote:
Hi,
There's a trick to this I discovered about six months ago. It is
possible to define a profile that is active when an env variable is
*not* defined:
profile
activation
property
This is not normal Maven usage.
Having said that, the Assembly plugin can probably do this for you.
Wayne
On 5/10/07, R, Suchitra (GE Infra, Aviation, Non-GE) [EMAIL PROTECTED] wrote:
How do I create three separate jars (of classes) in the target
directory, from a single source file?
For
I'd like to specify based on properties in profiles.xml some values for
Eclipse's .classpath file. How could I do this? (i.e. Where in the
profiles.xml you could specify the path of a Java Build Path variable, for
example, and the generated .classpath file for the eclipse:eclipse goal
would
Hi folks.
For one of our clients, we just have the CI server call 'mvn clean source:jar
deploy'
and Maven includes the source jars when it deploys.
File under what is the simplest thing that could possibly work.
Barrett
::
Barrett Nuzum
Consultant, Skill Development
Direct:
On 5/10/07, Barrett Nuzum [EMAIL PROTECTED] wrote:
Hi folks.
For one of our clients, we just have the CI server call 'mvn clean source:jar
deploy'
and Maven includes the source jars when it deploys.
That's the same as adding it explicitely in an execution.
File under what is the simplest
On 10/05/07, David Corbin [EMAIL PROTECTED] wrote:
On Thursday 10 May 2007 08:52:04 Stephen Coy wrote:
Hi,
There's a trick to this I discovered about six months ago. It is
possible to define a profile that is active when an env variable is
*not* defined:
profile
activation
Hi all,
I am quite new to maven, so I apologize in advance if my problem is
caused by my ignorance. Actually I hope it is.
I have a small project, for evaluation and management persuade
purposes, jar packaging, consisting of some java classes and some
resources. Nothing big. I don't want the
I might have to try the assembly plugin method. Personally, I use a
jar task in an antrun plugin execution to create the jars, then use
the buildhelper plugin to attach them to the project.
Chris
-Original Message-
From: Stefano Bagnara [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 May,
Try to run eclipse:eclipse using -U to update all plugins.
Kind Regards
On 5/3/07, Borut Bolčina [EMAIL PROTECTED] wrote:
Hello,
checking out
svn checkout https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/
tacos-project
and then
mvn eclipse:eclipse
inside tacos-project directory
I don't really use Clover, so hopefully someone else who uses Clover
will reply with more specific info.
Classifier is simply a child node of dependency:
dependency
groupId/
artifactId/
version/
scope/
classifier/
/dependency
So you'd want to use classifierclover/classifier in your
jp4 wrote:
I was wondering if it's possible to configure the changes plugin to pull only
the jira issues that were assigned to the current version of my project.
For example, if my project version is 1.1, I would like to see only issues
that were assigned to version 1.1 in the changes jira
Thanks Wayne. That was very helpful. I added a classifier with no value
to force it to look for the maven generated jar file and not clover generated
jar file because i dont want maven using clover jar file for its builds.
Maya
Wayne Fay [EMAIL PROTECTED] wrote: I don't really use Clover, so
I am creating a standalone plugin (@requiresProject false,
@requiresDirectInvocation true) that invokes the
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitivelymethod.
I also have a
components.xml file within the jar that contains an entry for the artifact
handlers.
Hello,
I have mevenide2 installed, and when I run lifecycle phase install
one of the output lines is
[INFO]Installing /root/sourcecode/myproject.war to
/root/.m2/repository/org/myproject.war
is there a way to get it to install somewhere other than
/root/.m2/repository/... say
The common approache is to use deploy to get the war to the 'deployment'
location. Install is just to install into your local repository so its
avaliable to other projects your working on.
On 10/05/07, Arrowx7 [EMAIL PROTECTED] wrote:
Hello,
I have mevenide2 installed, and when I run
While developing two child projects at the same time I would like to
just 'mvn package' at the parent level.
- mvn package parent
- code
- mvn package parent
- code
That does not seem to be the case so I end up doing this:
- mvn install child 1 - 1.0-snapshot
- mvn package child 2
- code
- mvn
how do I change the deployment location??
nhoj_p wrote:
The common approache is to use deploy to get the war to the 'deployment'
location. Install is just to install into your local repository so its
avaliable to other projects your working on.
On 10/05/07, Arrowx7 [EMAIL PROTECTED]
Arrowx7 [EMAIL PROTECTED] wrote on 05/10/2007 12:16:04 PM:
I have mevenide2 installed, and when I run lifecycle phase install
one of the output lines is
[INFO]Installing /root/sourcecode/myproject.war to
/root/.m2/repository/org/myproject.war
is there a way to get it to install
Hi,
Long time M1 user upgrading to M2...
I have a Mojo that I have written that asks for user input concerning
it's operation (I use a BufferedReader wrapping System.in). When I
run the goal standalone, everything works fine. However, when I run
the goal as preparationGoal of the
How can I create a project for the sole purpose of its pom.xml serving as a
place to organize several dependencies. For example, if I have a main
project that depends on 100 JARs, could I get this main project to depend on
4-5 subprojects whose sole purpose is to specify a subset of those JARs?
On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote:
How can I create a project for the sole purpose of its pom.xml serving as a
place to organize several dependencies. For example, if I have a main
project that depends on 100 JARs, could I get this main project to depend on
4-5 subprojects whose
Another option of course is to use the Cargo Maven2 plugin for your
deployment. Depending on your container, this may be a better
approach.
Wayne
On 5/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Arrowx7 [EMAIL PROTECTED] wrote on 05/10/2007 12:16:04 PM:
I have mevenide2 installed, and
I think he was expecting that his produced JAR would have all the
other 100 jars (that he depended upon transitively) bundled inside it.
Is that what you want? Or what?
Wayne
On 5/10/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote:
How can I create
In M2, things like this are generally either passed as parameters
(-D...) or simply specified as configurations for the plugin in the
pom.xml configuration.
Actually, I can't think of a single M2 plugin that prompts the user
for input while processing etc. There is probably a good reason for
Yes, the way you have described it is precisely what I'd like to accomplish,
ideally. It works with when the type of the produced archive is WAR (it
shows up in WEB-INF/lib) as opposed to JAR - is it even possible with JAR?
Also, to clarify, would I have to specify type=pom in two places? One
To add to my confusion in this thread, there's the repositories element
that has a releases and snapshots element.
I'm really confused!
lightbulb432 wrote:
I added a snapshotRepository element in addition to the repository element
in the distributionManagement section of my pom.xml.
On May 10, 2007, at 4:35 PM, Wayne Fay wrote:
In M2, things like this are generally either passed as parameters
(-D...) or simply specified as configurations for the plugin in the
pom.xml configuration.
Actually, I can't think of a single M2 plugin that prompts the user
for input while
In my parent POM I'd like to setup the PMD plugin with a set of rules in
src/site/pmd.xml. In my parent POM I have:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
configuration
targetJdk1.5/targetJdk
I would like to move some jar files (artifacts) after a build (clean,
install) has been accomplished. I could accomplish that with a simple
ant and/or shell script, but the documentation seems to suggest that I
can accomplish that with Maven goals.
In my local repository, I have something like
Hi,
I've started using the changes plugin. Does it integrate with the
release plugin? What I mean is if changes.xml contains a line like:
release version=SNAPSHOT date=2007-03-01 description=Bug
Fixes
When I run release:prepare, release:peform I'd like the line to be
changed to reflect
On 5/10/07, Chris Helck [EMAIL PROTECTED] wrote:
In my parent POM I'd like to setup the PMD plugin with a set of rules in
src/site/pmd.xml. In my parent POM I have:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
configuration
Sorry about that, and good point, I had forgotten about release plugin.
In that case, I would probably check out the release mojo code and
follow their approach for your own plugin. But you already knew that.
;-)
Wayne
On 5/10/07, Grant Ingersoll [EMAIL PROTECTED] wrote:
On May 10, 2007, at
Jars by default don't bundle dependencies like Wars do.
You want the assembly plugin using jar-with-dependencies configuration.
Wayne
On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote:
Yes, the way you have described it is precisely what I'd like to accomplish,
ideally. It works with when the
Does anyone have any code that demonstrates using the MavenEmbedder to
read the classpath for /META-INF/maven/path/to/pom.xml to expand all
dependencies, download if necessary and modify the classpath such that an
application can run without copying Jars everywhere. In other words, I
want to
Hello,
Your A strategy will be easily implementable using the proxy-cache
Proximity (the new one, NOT the currect RCx tree). You need a new
router, based on an existing one.
See the
http://trac.abstracthorizon.org/proximity/wiki/Release_2
Architecture link. All you would do is the following:
Hi
I am currently setting up a test environment to check out subversion,
continuum and maven on a windows 2003 server.
All access to the repository goes through HTTPS using apache.
I created a test certificate using Openssl.
Everything works perfect so far.
I can check in and out files and
64 matches
Mail list logo