The problem is resolved
I started with a minimal child pom and ran
mvn dependency:analyze
- then added dependencies until I had all the relevant dependencies
I no longer get the compile failure
I attempted to identify the differences between the 'good' and 'bad' poms,
but without success
Hello,
you see this a lot with runtime dependencies (which should probably be
ignored during analyze anyway), so I mostly just ignore these in the
output. It would be a cool thing, if you could suppress warnings for gavs
directly in the analyze goal, so you see new stuff coming up more easily.
I need to build project for many kinds of environment so i need a lot of
profiles with settings for this env.
There is a cutted module pom.xml - pom.xml file
http://www.mediafire.com/view/47gt5jiegta7auq/pom.xml
--
View this message in context:
fred wrote:
I need to build project for many kinds of environment so i need a lot of
profiles with settings for this env.
There is a cutted module pom.xml - pom.xml file
http://www.mediafire.com/view/47gt5jiegta7auq/pom.xml
All you need in the profile is a simple property:
Even though Hervé has given the best answer, I thought I'd chime in
and say that The Maven Way would probably have you add the additional
dependency at the plugin level, and not the
configuration.reportPlugins.plugin level.. So, sorry, but you were
wrong twice. :-)
On Thu, Feb 13, 2014 at 10:34
On 13/02/2014 4:23 PM, Barrie Treloar wrote:
On 13 February 2014 23:25, Ron Wheeler rwhee...@artifact-software.com wrote:
Good point.
After I fixed the spelling, it works fine.
Is was a great help to have a second set of eyes to find my stupid mistakes.
It would have been nice to have a
I have also been annoyed with what you describe, and have wondered how
to fill the gap of missing coverage.
Outside of copying the testcase and dynamically changing the log level
inside of it, which in addition to being burdensome, also offends my
DRY sensibility, the best idea I've had about
Not sure I follow. Are you saying that if I need to add a dependency to a
project.build.plugins.plugin.configuration.reportPlugins.plugin I should do
it at project.build.plugins.plugin instead? E.g. as an additional
dependency of the maven-site-plugin itself? If so, I tried that and was
On Fri, Feb 14, 2014 at 7:55 AM, Alex Potsides a...@achingbrain.net wrote:
E.g. as an additional
dependency of the maven-site-plugin itself?
Yes.
If so, I tried that [...] The maven-site-plugin does not appear to
share it's classpath with child reportPlugins and quite rightly so.
Boo.
Have you thought about using an installer like IzPack that can organize
your configurations for each environment.
Installers know about different OSs and different combinations of modules.
Build tools build modules and generally don't care much about deployment.
I mention IzPack since it is
Hi everybody,
one of my project create multiple jar and zip files during the build life
cycle, and each archive was created with the maven assembly plugin. And now
i see, that some of the files are installing to the local repository and
some not. The files that i need are installed to the
Hello, I'm new to Maven. Currently I use Maven 3.1.1 to compile my project
(using Jenkins). But occasionally, maven report error messages like the
following:
Begin of the console output
...
[INFO] Compiling 132 source files to C:\Program Files
i see, that some of the files are installing to the local repository and
some not. The files that i need are installed to the repository, but there
is also a file that should not be installed. My question is how maven
Can you be more specific about the file that should not be
installed? What
Since the error message is in Chinese it is a bit difficult to tell.
Why are you deleting your local repo?
Is it possible that you are using different compilers?
How is TYPE_AGENT_ID source com compiles - same pom?
On 14/02/2014 9:12 AM, Levski Weng wrote:
Hello, I'm new to Maven. Currently I
Sorry for that, I forgot to translate all the Chinese characters into
English, those Chinese characters have the same meaning of 'Cannot find the
symbol'.
I will change the compilers to javac and see what will happen. I'll post my
result later.
The reason why I'm deleting my local repository is
clean should delete your compiler output and force a new compile.
The repo has nothing to do with this.
Ron
On 14/02/2014 10:08 AM, LevskiWeng wrote:
Sorry for that, I forgot to translate all the Chinese characters into
English, those Chinese characters have the same meaning of 'Cannot find
After changing the compiler to javac, and add verbose parameters as the
following:
the problem remains the same, but the console output reveals the compile
procedure in details, could you help me to find what is missing? Thanks.
BEGIN
...
[DEBUG] Command line options:
[DEBUG] -d
The parameters is missing, sorry:
clean install -Dmaven.test.skip=true --update-snapshots --batch-mode
--fail-fast --debug -Dmaven.compiler.forceJavacCompilerUse=true
-Dmaven.compiler.verbose=true
LevskiWeng wrote
After changing the compiler to javac, and add verbose parameters as the
Where is the compiler version and options line?
Ron
On 14/02/2014 10:36 AM, LevskiWeng wrote:
After changing the compiler to javac, and add verbose parameters as the
following:
the problem remains the same, but the console output reveals the compile
procedure in details, could you help me to
Parsing POMs
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/centerm/system/systempom/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/centerm/pom/1.0.0-SNAPSHOT/maven-metadata.xml
Modules changed,
Parsing POMs
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/xxx/system/systempom/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact
http://192.168.4.172:8081/nexus/content/groups/public/com/xxx/pom/1.0.0-SNAPSHOT/maven-metadata.xml
Modules changed, recalculating
Hello
It is possible that while release:prepare cutting the tag and CI for
snapshot build wakeup at the same time. Is there a way to prevent this?
like a a profile to fail the build if the version happen to be a release
version. Ie is there a way to detect this in a profile?
I currently have
22 matches
Mail list logo