Hi all,
I get the following error message when trying to make a site:stage or
site:deploy on my project with the following configuration:
Missing site information in the distribution management element in the
project: 'SNR ANNUREF METIER'.
C:/project/composants/SNR ANNUREF METIER /pom.x
http://www.nabble.com/file/p24751638/pom.jpeg
I have defined property called "daoAspectEnabled" and set the value to true
in the same profile. In the same profile in the activation section I am
trying to activate the profile if this property is set to value true.
I am expecting that once the p
Hi
I am using "versions maven plugin" goals to update dependency versions under
dependencies and dependencyManagement elements. Is there a goal that can
automagically increment the versions for plugins and pluginManagement
elements?
Thanks
V
--
View this message in context:
http://www.nabble.c
Maybe I got ahead of myself - I tried setting (in the parent project
site descriptor) the "inheritAsRef='true'", but no matter what that's
set to, in the child site output, there are links back to the parent
project.
All I want is the structure provided by the parent's project. I want
the menu bi
Lol - ok, I think I figured this out...
In the _parent_ project's site descriptor, I defined a menu as
"inherit"-able and now it's showing up in the child site output.
This should be more clearly spelled out in the site plugin doc set...
-Original Message-
From: EJ Ciramella [mailto:eci
The super-pom turns out to document:
true
org.apache.maven.plugins
maven-source-plugin
attach-sources
jar
Which is the sou
> The maven-source-plugin is running in my lifecycle even though I never
> mention it in a pom. Is there a way to chase it out?
Is it mentioned in a parent or grandparent pom? Are you using a
profile that brings it in -- perhaps one that is activeByDefault? Did
you check mvn help:effective-pom?
W
Hello all -
I'm forging forward (after the semi-informal poll about site doc format
options) with a very vanillia "apt" set up for now and I'm trying to
inherit a "skeleton" site project.
I can see this is possible:
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescripto
r.h
Hello,
It is quite possible I misunderstood the purpose of a mirror. A few
questions to ensure we're truly configured to do what we think we're
doing...
I read the link on repositories you noted and want to clarify one statement
from that article...
> By default, Maven will download from the
Spam detection software, running on the system "azul3.aguilardelgado.com", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of t
Thanks for the suggestion, a few questions...
Tim O'Brien wrote:
>
> My suggestion would be to use two settings.xml files and instead of
> trying to control this with a profile, just pass in different
> settings.xml files with the "-s" command line option.
>
If we create two settings.xml file
You just refer to the parent as the parent. Maven does not require that
the parent be in the same SVN repository as the child. If the parent
isn't (which I would think is typically the case for corporate POMs),
then it just has to be in a Maven repository somewhere.
For example, the POM in this pr
Hi,
The corporate POM would typically be published in a (corporate) Maven
repository. You just configure Maven to use this repository and it
will fetch it from there (if correctly referred in the parent element
of the project's pom).
/Anders
On Fri, Jul 31, 2009 at 00:09, Logachandru X
Rajamanic
Hi Justin,
Thanks for your input and it is very helpful in understanding how this can be
worked out. Have another question - I am having 100 applications in 100
different SVN repositories and in this case how can I refer this Corporate POM
in the parent POM of the individual applications which
I think the best way to do this is through properties where you set a
default in the corporate POM and allow children to override it. If it
helps you, the open-source version of our corporate poms are on kenai:
http://kenai.com/projects/mtvn-master-pom/sources/source/show/trunk.
These are not ident
Ow, I got it.
2009/7/31 Edelson, Justin
> build-helper:attach-artifacts attaches artifacts to the build, i.e. so
> that they will be installed/deployed at the appropriate stage. This is
> almost the opposite of that - the artifacts are dependencies of the
> project, not part of the output of it.
build-helper:attach-artifacts attaches artifacts to the build, i.e. so
that they will be installed/deployed at the appropriate stage. This is
almost the opposite of that - the artifacts are dependencies of the
project, not part of the output of it.
Justin
From:
Hello Experts,
We have nearly 100 applications and I would like to have a central corporate
POM which is a parent to the child POMs in all applications. How should I
design a POM at the top level to govern and delegate the functionalities to the
child POMs in all the applications? Trying to fin
On Thu, Jul 30, 2009 at 2:19 PM, jvsrvcs wrote:
>
> We do have a maven repository manager in place but it's only accessible
> inside the network when we
> are on location.
>
> We have many consultants, some folks work at home on occasion and we want
> them to be able to build and write code for a d
Hello,
Have you looked at builder-helper plugin? Seems like attach-artifacts
goal exactly
what you need. Am I wrong? [?]
2009/7/31 jvsrvcs
>
> Another things is that we plan to open source the product and post the code
> on a website.
> People that download will need to build the product. We ar
Another things is that we plan to open source the product and post the code
on a website.
People that download will need to build the product. We are not going to
put our repo manager out there for the world to use.
this requirement makes configuring a pom like this a necessity. Ideally it
woul
We do have a maven repository manager in place but it's only accessible
inside the network when we
are on location.
We have many consultants, some folks work at home on occasion and we want
them to be able to build and write code for a day without having access to
the local network.
Tim O'Br
Any project should have the ability to:
1. check out the code
2. Build it without a repository manager
Repository managers are a necessity but they are being used for things they
were not intended for.
We have the requirement to build from the ground up without the need to be
inside the network
On Thu, Jul 30, 2009 at 1:23 PM, jvsrvcs wrote:
>
> Thanks, the reason we are doing this is because:
>
> 1. We have a lot of new programmers coming on board (10) that need to
> quickly setup their local repo
Use a repository manager. Distribute a settings.xml file.
> 2. Many of these programm
Thanks, the reason we are doing this is because:
1. We have a lot of new programmers coming on board (10) that need to
quickly setup their local repo
2. Many of these programmers/consultants are bash handicapped and don't
have cygwin installed
3. Doing it locally first is better than getting f
Upgrade your Maven installation. If you haven't upgraded to at least
2.0.9, there is no telling what issues you are going to run up
against.
My suggestion would be to use two settings.xml files and instead of
trying to control this with a profile, just pass in different
settings.xml files with th
You can define multiple executions.
My advice is the same as Justin's, don't do this. Use a repository
manager.The fact that you have to configure multiple calls to
install-file means that you don't have a good way to distribute internal or
third-party artifacts.
On Thu, Jul 30, 2009 at 12
right, there is a note in build.xml file that a specific target can only be
run by maven. go figure.
So I don't want to write a pom.xml and invoke using $mvn
so using some command line switches to invoke the ant target.
Alexander-129 wrote:
>
> You want maven to run ant task outside any mav
You should *not* use install plugin manually, but rather let Maven know that
your project is producing multiple artifacts, use classifiers to identify
each and attach them to the module with build-helper plugin.. see example
at: http://mojo.codehaus.org/build-helper-maven-plugin/usage.html.
Kalle
But I cant find the way how install several files. It seems like
maven-install could be configured only with one file to install. Actually It
wont eat configuration in execution node as you mentioned. Works only that
way
org.apache.maven.plugins
maven-install-plugin
2.3
or
I should also say that I personally think using install-file is a bad
idea when there are good repository managers available.
Justin
-Original Message-
From: Edelson, Justin
Sent: Thursday, July 30, 2009 1:13 PM
To: Maven Users List
Subject: RE: How to use mvn install but have all option
It does need to be bound to a phase if you want to do more than one
install. Also, the OP said he wanted to use a profile, which implied (to
me at least) that this would be part of the lifecycle. generate-sources
may or may not be the right phase, that's up to the OP.
Justin
ok, I worked out I can call test and then seperatly call report-only. As I use
ant I then know the first one failed so can print a nice helpful message. It
would be nice though to have the full report target run all test, genereate
reports and then say failure if a test fails and not success as
Hello,
I think you are misusing mirrors. Really. [?]
Please be sure you read this
http://maven.apache.org/guides/introduction/introduction-to-repositories.html
Just add your internal repository to pom.xml as additional repository and
configure project to deploy your artifacts into internal repos
You want maven to run ant task outside any maven-type context? Dont it looks
similar to run ant task via ant? [?]
2009/7/30 jvsrvcs
>
> I have a build.xml file with a note inside the build.xml that the target
> can
> only be invoked from maven.
>
> Is there a way to run a single $mvn command to
I have a build.xml file with a note inside the build.xml that the target can
only be invoked from maven.
Is there a way to run a single $mvn command to invoke this target
in the build.xml file without create a pom.xml and invoking from there?
thanks
jvsrvcs
--
View this message in context:
There is no need to bind it to any phase, right? [?] I think it is a pretty
Maven-style way of solving problem [?] Needa try..
2009/7/30 Edelson, Justin
> It's no different than any other plugin. Something like this should
> work:
>
>
>org.apache.maven.plugins
>
It's no different than any other plugin. Something like this should
work:
org.apache.maven.plugins
maven-install-plugin
install-1
generate-sources
OK, sorry for the messy section ;)
Actually I solved my problem by adding inheritance & multi-modules to my
project.
The problem came from the fact that I am working with an existing project
architecture and there were missing relationships between modules.
Thanks a lot anyway!
julien
-M
The docs on the mvn install plugin state:
mvn install:install-file -Dfile=your-artifact-1.0.jar \
[-DpomFile=your-pom.xml] \
[-Dsources=src.jar] \
[-Djavadoc=apidocs.jar] \
[-DgroupId=org.some.grou
Hi everyone!
Sorry if these questions had already been asked - I didn't manage to find
it.
Is there a plugin allowing to increase project version in JIRA automatically
when we build the project by maven?
Another thing is that we have a project that consists of multiple
components. Since JIRA doe
I guess I meant to say I want to run:
$mvn -P init
to run an init profile (I understand about build life cycles and do not want
to write a new one)
but rather want to type $mvn -P init
and have specific already built .jar files in /lib/*.jar to be installed
into my local repo. These jars are
I'm not sure that the mvn install is what I need. It looks like you have to
run mvn install such that all of the options are on the command
line.
I do not want to write a script, but rather a maven profile that will
execute to install all the jars into the local repository.
I have seen this do
Julien Martelli wrote:
Hi all,
As far as I understand the maven site plugin behavior, if I want to
display on my main project webpage links to project submodule’s webpages
I have to use inheritance. Am I wrong?
You just have to use a menu in your site.xml and declare
your modules in
The maven-source-plugin is running in my lifecycle even though I never
mention it in a pom. Is there a way to chase it out?
Am I misunderstanding what is happening?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
I am having problems with JUnit reporting, I seem to be able to only get either
1) Run surefire-report:report and get nice html reports but mavn reports that
it was successful even if a test failed
2) Run test and maven fails when a test fails but you dont get a nice report to
quickly find
>From release:prepare, with 2.1.
[ERROR] BUILD FAILURE
[INFO]
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn:
'/Users/benson/x/trunk/greenhous
Hello,
Apologize if this posted twice, but it's been several days since I sent the
first email and I have not seen my post come across. Trying again.
I spent quite a bit of time reading the Maven documentation as well as
trying my luck on Google, so hopefully I didn't miss something easy or
obvi
Hi all,
I've created an multi-module archetype and it seems to be working mostly
well. However any multi line comments in the poms are getting written
out as unix line ends and not Windows (which is what the platform and
the original poms files are.)
e.g
CRLF
4.0.0CRLF
...
CRLF
...
g
Hello, I'm currently working on a multimodule project with a
distribution module which creates archives using the maven-assembly-plugin.
I am including the javadocs for 2 other peer modules with the
maven-javadoc-plugin and am referencing these with the sourcepath property.
This is working ou
Hi all,
As far as I understand the maven site plugin behavior, if I want to display
on my main project webpage links to project submodule's webpages I have to
use inheritance. Am I wrong?
I mean it is impossible to create a global POM file containing references to
sub-modules and without in
51 matches
Mail list logo