When the philosophy of Maven is convention over configuration, why does
maven-compiler-plugin require me to specify a target version every time
I specify a source version. Can't it default the target version to be
same as source version? Isn't it what most people do any way?
Thanks,
Sahoo
---
On Jan 16, 2008 2:48 PM, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a custom IBM project with ejbs ( for the 2.1 spec).I've followed
> steps outlined at Peter Pilgrim's blog
> (http://www.jroller.com/peter_pilgrim/entry/battling_with_maven_2_integrating
> ) and everything seems in or
Houdy,
We are setting a CI environment using hudson as automata. We have created a
task to execute our Mavan 2 project.
Maven2 is launched using the parameters -Xmx1024 -Xms1024
goals are "clean install site-deploy"
the maven-project-info-reports plugin canno't be found . We systematically
get
Hi,
I am using Maven 2, I want to send email notifications to the respective
owners of the sub modules, if possible with error trace. How do I do that?
Could someone help on that?
Regards,
Amit
On 17/01/2008, Jörg Schaible <[EMAIL PROTECTED]> wrote:
>
> Wendy Smoak wrote:
>
> > On Jan 16, 2008 6:19 AM, Jörg Schaible
> > <[EMAIL PROTECTED]> wrote:
> >
> >> For whatever reason, Maven 2 does not run on an IBM JDK.
> >
> > I don't see anything in JIRA about this.
>
> I always intended to, but
Thank you that's exactly what I was after
:clap:
--
View this message in context:
http://www.nabble.com/Disable-profiles-within-sub-projects-tp14906082s177p14908682.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---
You can affect which modules build by putting the module declarations
inside your profiles. This does require that you remove the modules
tag from your parent pom.
So you'll need to make a profile for prod that declares all modules,
and one for prod_alt_config that only declares the public (or
wha
Hi,
I did a quick search but didn't come up with a result, forgive me if this
has already been answered on the forum.
I've got a project in the following format
base project folder (pom)
- Admin Project (pom)
- Core Project (pom)
- Public Project (pom)
If I want to build a release
I just figured it out. The problem was that there were 2 versions of
maven-jar-plugin on the classpath (2.1 and 2.2). We fixed it by using 2.2only.
Thanks,
Bashr
On Jan 16, 2008 3:55 PM, Olivier Lamy <[EMAIL PROTECTED] > wrote:
> Hi,
> If you build the same project from the cli, does it works ?
Stephen Coy wrote:
Maven 2.0.4 -> 2.0.8 certainly works on the IBM 1.5 JDK under Windows.
I would be really surprised if there were any issues under Linux.
We have been using it for more than a year.
Cheers,
Steve C
I've got a m2 plugin which wraps around the ws_ant (generating an ant
build
1st I would like to know the difference between ignore verse exclude?
I have this, but am trying to exclude every package under a given package
org.codehaus.mojo
cobertura-maven-plugin
2.2
Hi,
If you build the same project from the cli, does it works ?
Have you looked the jar plugin version in your pom ?
--
Olivier
2008/1/16, Basahr AJ <[EMAIL PROTECTED]>:
> Just this morning our builds on Continuum were failing. Looking at the
> logs this is what I see:
>
> [INFO]
> --
Just this morning our builds on Continuum were failing. Looking at the
logs this is what I see:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error
Maven 2.0.4 -> 2.0.8 certainly works on the IBM 1.5 JDK under Windows.
I would be really surprised if there were any issues under Linux.
We have been using it for more than a year.
Cheers,
Steve C
On 17/01/2008, at 3:46 AM, Jörg Schaible wrote:
Wendy Smoak wrote:
On Jan 16, 2008 6:19 AM,
Hi all,
I'm currently trying to use Maven2 for creating an EAR file which
contains among some utitlity-JARs an EJB-project using EJB 2.1 and
containing one message driven bean.
I have problems there compiling the project as the EJB-implementation
should be used from a WebSphere 6.0 server. So wha
I've just installed version 1.1 running under Tomcat. I was able to
configure continuum to authenticate via unsecure LDAP database using the
documentation found here:
http://maven.apache.org/continuum/docs/1.1/administrator_guides/security/ldap.html
But I have been unable to configure using a s
On one of our developer's machines, they cannot do mvn javadoc:jar as it
blows up due to an InvalidArrgumentException in (from memory)
sun.net.www.ParserInfo.decode()!
On other developer machines, there is no problem.
The only difference we have found is the locale for this developer is
English (
I ran into this before. The element is *NOT* a
property. Although it can be referenced like one, it does not behave as
expected.
/m2/repository
I defined my own local.repository property that duplicates the path, so
I could reference it.
In the properties element in settings.xml:
/m2/re
Le mercredi 16 janvier 2008, Ian Springer a écrit :
>
> >> set JAVA_HOME JRE_HOME correctly
> >>
> >
> > No, because doing this will make the build non-reproducible on other
> > environments as I will lose the 1.6 requirement.
> >
>
> You can use the enforcer plugin in your pom to specif
Le mercredi 16 janvier 2008, Hayes, Peter a écrit :
> You may want to look at using the enforcer plugin :
>
> http://maven.apache.org/plugins/maven-enforcer-plugin/
>
> This would allow you to guarantee that the jdk running is the build's
> required JDK.
>
> As to your initial question, I agree
set JAVA_HOME JRE_HOME correctly
No, because doing this will make the build non-reproducible on other
environments as I will lose the 1.6 requirement.
You can use the enforcer plugin in your pom to specify that your project
requires Java 1.6. See
http://maven.apache.org/plugins/ma
On Jan 16, 2008 9:44 AM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I am using wagon-webdav on my local machine and on our CI build machine. But
> wagon-web dav can be downloaded from archiva locally, but not on from the
> build server:
>
> *[INFO] Utilities: Services: Logging Proxy EAR
> Downloa
You may want to look at using the enforcer plugin :
http://maven.apache.org/plugins/maven-enforcer-plugin/
This would allow you to guarantee that the jdk running is the build's required
JDK.
As to your initial question, I agree that the only way to set the JDK versino
globally in Maven is to
Olivier Serve wrote:
Le mercredi 16 janvier 2008, Michael a écrit :
Olivier Serve wrote:
Hi _o/
I have a little project that requires a JDK 1.6 (it uses some 1.6 specific
APIs).
I have both Java 1.5 and 1.6 installed on my system to do some tests.
Using the following, I can build the artifac
Wendy Smoak wrote:
> On Jan 16, 2008 6:19 AM, Jörg Schaible
> <[EMAIL PROTECTED]> wrote:
>
>> For whatever reason, Maven 2 does not run on an IBM JDK.
>
> I don't see anything in JIRA about this.
I always intended to, but forgot about it again.
> What issues have you run into?
http://commons
Le mercredi 16 janvier 2008, Michael a écrit :
> Olivier Serve wrote:
> > Hi _o/
> >
> > I have a little project that requires a JDK 1.6 (it uses some 1.6 specific
> > APIs).
> > I have both Java 1.5 and 1.6 installed on my system to do some tests.
> >
> > Using the following, I can build the ar
Olivier Serve wrote:
Hi _o/
I have a little project that requires a JDK 1.6 (it uses some 1.6 specific
APIs).
I have both Java 1.5 and 1.6 installed on my system to do some tests.
Using the following, I can build the artifact.
--8<--
.
Hi _o/
I have a little project that requires a JDK 1.6 (it uses some 1.6 specific
APIs).
I have both Java 1.5 and 1.6 installed on my system to do some tests.
Using the following, I can build the artifact.
--8<--
...
I think i finally found it !
Module "shared" has a dependency to another project which depend on
another project which depend on module "server". So, circular
dependencies, which means problem ...
I'll go work on that one ...
On 16/01/2008, Guillaume Lederrey <[EMAIL PROTECTED]> wrote:
> Hello !
When I do a search for an artifact, then I get the results, I then get this
error:
javax.jdo.JDODataStoreException: An exception was thrown while
adding/validating class(es) : ORA-00910: specified length too long for
its datatype
java.sql.SQLException: ORA-00910: specified length too long for its
Hi Thomas,
Do you have the compiler plugin defined in your pom? At a minimum,
you need to have this defined.
*
org.apache.maven.plugins
maven-compiler-plugin
-verbose
1.5
1.5
*
If you have a parent and child pom, you should have this in BOTH places.
Regards,
Mark
Thom
Hello !
I'm working with a multi-modules project. This project has 2 modules :
"shared" and "server". Module "server" depends on module "shared".
When I try to run "mvn install" on the main project, it fails because
it seems to try to compile module "server" before module "shared"
(error below).
Hi all,
I use Eclipse Europa and I set both the JRE and compiler to JDK 1.5. But as I
run "mvn oackage" I got error as follow:
E:\Projekte\TestSpringToplinkFaceletsTomahawk\src\main\java\wei\spring\jsf\test\
DeleteDataFromTable.java:[18,20] generics are not supported in -source 1.3
(t
On Jan 16, 2008 6:19 AM, Jörg Schaible
<[EMAIL PROTECTED]> wrote:
> For whatever reason, Maven 2 does not run on an IBM JDK.
I don't see anything in JIRA about this. What issues have you run into?
--
Wendy
-
To unsubscribe, e
The Maven team is pleased to announce the release of the Maven Jar
Plugin, version 2.2.
http://maven.apache.org/plugins/maven-jar-plugin/
You can run mvn -up to get the latest version of the plugin, or
specify the version in your project's plugin configuration:
org.apache.maven.plugins
maven-
François Xavier Gendrin a écrit :
Hi,
I updated some plugin and crash, an error. Error says to specify:
'-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom
configuration file, but I didn't find how to configure it with pom
file .. Some one could help ?
[INFO]
---
Hello,
I build my projects in the eclipse workspace using maven mvn install
eclipse:eclipse command
As a result I got total of 9 projects.
I experience some weird issue, where Eclipse doesn't find numerous source
files in the path, even though I observe them in the Eclipse's Project
Explorer vie
Hi,
so file based profile activation can't be used without breaking down
project portability.
Is there any workaround...?
By the way there is already an issue about that on Jira...
Thanks a lot.
BR
Patrizio
nicolas de loof wrote:
You're right, properties interpolation IS NOT used to comput
François Xavier Gendrin a écrit :
Hi,
I updated some plugin and crash, an error. Error says to specify:
'-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom
configuration file, but I didn't find how to configure it with pom
file .. Some one could help ?
I'm using continuum
You're right, properties interpolation IS NOT used to compute file path
during profile activation.
The main cause is that profiles may define / override properties values.
I agree that some properties like ${basedir} and ${settings.x} MAY be
supported, as this restriction makes the file based acti
Hi all,
I'm trying to manage profiles activations/deactivations by using the
activation tag among with the file tag.
What I would like to do is to activate a particular profile only if a
specified folder is present into the local repository.
The profile configuration I'm using is the following
On Jan 16, 2008 3:19 PM, Jörg Schaible <[EMAIL PROTECTED]>
wrote:
> Jeff Mutonho wrote:
> > Hi
> >
> > I have a custom IBM project with ejbs ( for the 2.1 spec).I've
> > followed steps outlined at Peter Pilgrim's blog
> > (http://www.jroller.com/peter_pilgrim/entry/battling_with_mave
> > n_2_integ
Jeff Mutonho wrote:
> Hi
>
> I have a custom IBM project with ejbs ( for the 2.1 spec).I've
> followed steps outlined at Peter Pilgrim's blog
> (http://www.jroller.com/peter_pilgrim/entry/battling_with_mave
> n_2_integrating ) and everything seems in order. However when the
> maven-antrun-plugin i
"Rémy Sanlaville" <[EMAIL PROTECTED]> schrieb:
> Try this command :
> mvn
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree
That did it. Thanks very much!
-
To unsubscribe, e-mail: [EMAIL PROTECTE
I've added the following to my
and running this yields :
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] compile classpath: null
Could this be the source of the problem? Why isnt my
maven.compile.classpathresolving to "null" ?
On Jan 16, 2008 2:48 PM, Jeff Mutonh
Hi,
is there any maven variable that holds activated profiles? - what i
would like to do is to add a manifest field with it.
I need something like:
org.apache.maven.plugins
maven-jar-plugin
${maven.profiles}
Hi
I have a custom IBM project with ejbs ( for the 2.1 spec).I've followed
steps outlined at Peter Pilgrim's blog
(http://www.jroller.com/peter_pilgrim/entry/battling_with_maven_2_integrating
) and everything seems in order. However when the maven-antrun-plugin is
failing with an error message I'm
Hi,
there is a strange error in my project:
mvn test finishes all test as expected. But mvn tomcat:deploy fails:
[INFO] Preparing tomcat:deploy
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes
Hi,
Try this command :
mvn
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree
HTH,
Rémy
Hi,
I'd like to run the "dependency:tree" goal against a local project. According
to the docs, this goal is only available in 2.0-alpha-5 or later. But that
isn't out yet.
There is an alpha-5-SNAPHOT though:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-de
At least they are in my local repository and I dont use this
repository you mention.
But I could of course add those repositories, even if I dont want to do so.
Maybe I am just insane.
Regards,
Rohnny
On Jan 16, 2008 11:16 AM, Marco Huber <[EMAIL PROTECTED]> wrote:
> Hello Rohnny,
>
> I don't k
Hello Rohnny,
I don't know really if the Selenium jars were ever in the
repo1.maven.org. We used till now the repository from OpenQA directly,
but it seems that they moved there repository.
Look at http://maven.openqa.org/ (The old repository url).
They split them into three new URL:
*
Hello,
It seems like the selenium jars have been removed or moved tonight? At
least they are not on our mirror nor on repo1.maven.org today. Can the
person that removed them, please put the jars back?.
Regards,
Rohnny
-
To unsu
dddzzz <[EMAIL PROTECTED]> schrieb:
>
>
>
> Heinrich Nirschl wrote:
> >
> >
> > Put them into src/main/resources.
> >
> >
>
> I want them to be in same folder that classes are.
That's a reasonable way to structure your code I think. I always used to put
resources together with the co
54 matches
Mail list logo