Hi all,
We have a multitude of components and projects all build with maven
and we want to enforce some standard layout for the pom files, like
the ordering of the elements(like the ordering in the schema) and
forbidding some elements (like company and url, there are already set
in the company
not for netbeans.
AFAIK the maven pom schema doesn't enforce ordering.
you could write such enforcer rule yourself I guess.
Milos
On Wed, Feb 24, 2010 at 10:30 AM, Nick Stolwijk nick.stolw...@gmail.comwrote:
Hi all,
We have a multitude of components and projects all build with maven
and we
i am using inteli idea for java development.I have created a application
using maven.How do i open it with Idea..???
i tried it lot
mvn idea:idea
--
View this message in context:
http://old.nabble.com/idea-integration-with-maven-tp27714145p27714145.html
Sent from the Maven - Users mailing
You might want to use this plugin:
http://code.google.com/p/sortpom/
/Anders
On Wed, Feb 24, 2010 at 10:30, Nick Stolwijk nick.stolw...@gmail.comwrote:
Hi all,
We have a multitude of components and projects all build with maven
and we want to enforce some standard layout for the pom files,
Hi,
I have a multi-module project I want to generate a site for in Hudson.
1) Do I have to do mvn clean install site-deploy, or is it enough to
do mvn clean site-deploy?
2) How is the Maven 3 site generation coming along? Is there a way to
use Maven 3 to generate a site at the moment, or do I
Thanks, that plugin looks promising! Only their default ordering is
not my preferable ordering, but I can see it is configurable. :)
Thanks,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Wed, Feb 24, 2010 at 10:48 AM, Anders Hammar
Hi guys,
I have a strange problem with one generics code found in one GWT
library. This compile fine with java 6 but not with java 5.
In fact I can compile it in eclipse with java 5, so this problem appears
only when compiling with maven.
I reproduced this error with this code:
class:
Hi Eshan,
in your current working directory you should find the IDEA project files
- just open them from within IntelliF
Siegfried Goeschl
On 24.02.10 10:47, eshan sudharaka wrote:
i am using inteli idea for java development.I have created a application
using maven.How do i open it with
from intellij 7 onwards, when you go to the file|open project menu just
select the pom.xml file and intellij will work out the rest for you... no
need for idea:idea
On 24 February 2010 09:47, eshan sudharaka esudhar...@gmail.com wrote:
i am using inteli idea for java development.I have created
Assuming you have M2 integration installed ... :-)
On 24.02.10 11:24, Stephen Connolly wrote:
from intellij 7 onwards, when you go to the file|open project menu just
select the pom.xml file and intellij will work out the rest for you... no
need for idea:idea
On 24 February 2010 09:47, eshan
Ajoo123 wrote:
[...]
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
--
1) javax.transaction:jta:jar:1.0.1B
You don't need to upload jta to your own repository.
jta is available from Java.net Maven2 repository at
Nooo!!!
Friends don't let friends use the java.net maven repositories.
-Stephen
On 24 February 2010 10:58, rsaddey r...@saddey.net wrote:
Ajoo123 wrote:
[...]
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
--
1)
At the very least stick a repository manager in front and only allow through
known good artifacts
On 24 February 2010 11:07, Stephen Connolly stephen.alan.conno...@gmail.com
wrote:
Nooo!!!
Friends don't let friends use the java.net maven repositories.
-Stephen
On 24 February 2010
stephenconnolly wrote:
At the very least stick a repository manager in front and only allow
through
known good artifacts
On 24 February 2010 11:07, Stephen Connolly
stephen.alan.conno...@gmail.com
wrote:
Nooo!!!
Friends don't let friends use the java.net maven repositories.
On 24 February 2010 11:25, rsaddey r...@saddey.net wrote:
stephenconnolly wrote:
At the very least stick a repository manager in front and only allow
through
known good artifacts
On 24 February 2010 11:07, Stephen Connolly
stephen.alan.conno...@gmail.com
wrote:
Nooo!!!
Files that do not get compiled, but still need to be put in the jar should be
put in src/main/resources.
vasm wrote:
Hi All,
I am new to maven. I have created a new maven project to create a jar
file. I have a few xml files in classpath as well. When i build the
project only the java
Thanks for help :)
Aleksey.
19.02.2010 17:34, Adam Leggett (UPCO) пишет:
I blogged about how to do this here:
http://blogs.mikeci.com/2010/01/14/working-with-custom-maven-archetypes-part-1/
See step four - filtering a file name.
Cheers
Adam
On Fri, 2010-02-19 at 17:27 +0400, Aleksey Didik
Thanx a lot. It worked for me.
djrobo wrote:
Files that do not get compiled, but still need to be put in the jar should
be put in src/main/resources.
vasm wrote:
Hi All,
I am new to maven. I have created a new maven project to create a jar
file. I have a few xml files in classpath
On Qua, 24 Fev 2010, Thomas Sundberg wrote:
Hi!
Where are the xml files located in your project?
They will be included automatically if you place them in
src/main/resources
He's probably converting an existing project to use Maven, and so it's
not layed out in Maven's preferred structure.
milan chudik wrote at Mittwoch, 24. Februar 2010 11:13:
Hi guys,
I have a strange problem with one generics code found in one GWT
library. This compile fine with java 6 but not with java 5.
In fact I can compile it in eclipse with java 5, so this problem appears
only when compiling with
Hi,
I have the same need and I have opened a Sonar feature request:
http://jira.codehaus.org/browse/SONAR-1399
Read the comments to see the proposals.
You can also look at
http://maven.apache.org/developers/conventions/code.html#POM_Code_Convention to
see Maven POM element ordering
Because we have lots of devs using IDEA we configure all our poms with the
idea plugin so devs can open/create IDEA projects both ways; i.e. via the
command line and via Project Open.
The former is configured to auto download sources/javadocs.
-Dave
On Wed, Feb 24, 2010 at 3:45 AM, Siegfried
Hi,
i assume your problem is due to the includes you have defined...
Edderd wrote:
includecom.comcast.vodauto:vodmain/include
includecom.comcast.vodauto:vodtest/include
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html
You could
On Fri, Feb 19, 2010 at 7:34 AM, Adam Leggett (UPCO)
adam.legg...@upco.co.uk wrote:
I blogged about how to do this here:
http://blogs.mikeci.com/2010/01/14/working-with-custom-maven-archetypes-part-1/
See step four - filtering a file name.
awesome, here's a chance to talk about the bug I
Thanks, i could do it using
mvn clean release:clean release:prepare release:perform -Dgoals=deploy
-Parchiva.mosaic_repo -DuseReleaseProfile=false -B
Olivier Lamy wrote:
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#useReleaseProfile
2010/2/23 pawan gandhi
I'm using the combination Spring 2.5.6 TestContext Framework, JUnit 4.4.
I need to pass a system property so Spring can resolve it during it's property
resolver fase.
I can start my IDE with a -D (e.g. -Duser.name=myname) option and when
executing the JUnit test from within my IDE everything
We currently have Maven setup for managing many projects. We would like to
add modules to some of the projects which are C#-based. What is the best
practice for accomplishing this?
There are some non-java compilers:
http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.ht
ml
-Original Message-
From: wds wds [mailto:work.dev.st...@gmail.com]
Sent: Wednesday, February 24, 2010 5:45 PM
To: users@maven.apache.org
Subject: Maven with Java and
For C# in particular we are using the NMaven project:
http://www.codeplex.com/nmaven/
The problem with that one is that it has not received any attention in over a
year. I'm not sure what the current status of that project is. The plugin
tends to be a bit flaky though.
A project that gets
The surefire doc should answer this:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html
/Anders
On Wed, Feb 24, 2010 at 16:00, Dhondt, Edwin edwin.dho...@hp.com wrote:
I'm using the combination Spring 2.5.6 TestContext Framework, JUnit 4.4.
I need to pass a
In fact I can compile it in eclipse with java 5, so this problem appears
only when compiling with maven.
...
I don't get this error under eclipse(neither under jd5 or jdk6) only
when building with maven
Maven uses the compiler in your JDK while Eclipse uses its own
compiler. This is not a
Hi,
i'm working on a C++/Java mixture which i'm trying to
reach with Maven.
Currently nar plugin (http://github.com/duns/maven-nar-plugin)
http://mojo.codehaus.org/maven-native/native-maven-plugin/ etc.
RPM plugin etc.
But what about C# i don't know...may be other plugin's can be adopted to
2010/2/24 Lóránt Pintér lorant.pin...@gmail.com
2) How is the Maven 3 site generation coming along? Is there a way to
use Maven 3 to generate a site at the moment, or do I need to use
Maven 2 still?
Hi Lóránt,
are you aware of this information?
I have a project that I'm working on and we have been using the following code
to get the java_cup package:
dependency
groupIdjava_cup/groupId
artifactIdcup/artifactId
version11/version
/dependency
Unfortunately, this does not appear to be in any of the following
This is probably a better question for a Java Cup mailing list.
Justin
On Feb 24, 2010, at 3:13 PM, Sean Smitz sean.sm...@gmail.com wrote:
I have a project that I'm working on and we have been using the
following code to get the java_cup package:
dependency
groupIdjava_cup/groupId
It looks like there are some restrictions on the character that can be
included the the artifact ID of the GAV.
For example, a if a pom includes a dependency of:
dependency
groupIdorg.redhat/groupId
artifactIdcompat-libstdc++/artifactId
version296-2.96-138.i386/version
/dependency
You get
As far as I can tell my configuration is correct, using Maven 2.2.1, scm 1.3
and OS X 10.6.2. The relevant parts of my POM file are included. The tags are
in my parent POM file so I expect the child project to inherit. I don't really
understand the difference between connection and
Grant Lewis schrieb:
As far as I can tell my configuration is correct, using Maven 2.2.1, scm 1.3
and OS X 10.6.2. The relevant parts of my POM file are included. The tags are
in my parent POM file so I expect the child project to inherit. I don't really
understand the difference between
Hello everyone
I have posted this on the ant forum. The reason for this post on maven forum
is that I am not sure where the problem is originating from. I am trying to
use ddlutils with maven. No ready ddlutils plugin available for maven. So I
am working with ant-run plugin. When I run the maven
The line breaks aren't the problem. I made some progress. I'm still a little
confused by connectionUrl versus developerConnectionUrl but the following in my
parent POM file finally worked for me. I never got developerConnectionUrl to
work and I'm honestly not sure how the property is used by
On Wed, Feb 24, 2010 at 8:00 PM, Nick Stolwijk nick.stolw...@gmail.com wrote:
Hi all,
We have a multitude of components and projects all build with maven
and we want to enforce some standard layout for the pom files, like
the ordering of the elements(like the ordering in the schema) and
please try with maven 3.0-alpha-6.
maven 2's plugin classloader only loads a plugin once during a reactor
build, so if you try to change the plugin's dependencies mid reactor,
it will blow up in your face... which _could_ look similar to your
issue... this would be the quickest way to
Hi,
Is there a way to add notifications (email, RSS, etc.) when a release is
performed ?
Yan Langlois.
43 matches
Mail list logo