2010/1/29 Anders Hammar and...@hammar.net
Well, this is the good thing about m2eclipse. It uses the pom as master.
A repo manager (Nexus for example) will solve your network problems.
Nexus is to be used for building private maven repository, and I just make
some mirrors (for example ,create a
The Nexus book talks about all these questions:
http://www.sonatype.com/books/nexus-book/reference/
/Anders
On Fri, Jan 29, 2010 at 09:17, maven apache apachemav...@gmail.com wrote:
2010/1/29 Anders Hammar and...@hammar.net
Well, this is the good thing about m2eclipse. It uses the pom as
Hi List,
I would like to generate two artifacts within one maven project (one with a
classifier). I can do this by executing the compiler plugin (flexmojos in my
case) twice, once with the classifier. The only problem is that the
compilations should have different scopes on some dependencies. Is
Hi,
I'm new to maven plugin(mojo). I know there are some shared
plexus components in maven. Besides them,I also found there are some other
components in maven, such as MavenFileFilter in
maven-filtering, MavenProjectHelper in maven-project, etc. I hope to know
how to use these components in
Is there a way to configure Maven to ignore source files that present
errors during compilation, and compile everything that is possible
(that is, has no error)?
I've set maven-compiler-plugin's failOnError option to false, and
the build is considered successful despite the errors.
The obvious counter question is:
Why do you want to do this? Why not just fix the compile errors?
Eduardo M KALINOWSKI schrieb:
Is there a way to configure Maven to ignore source files that present
errors during compilation, and compile everything that is possible (that
is, has no error)?
Hi Eduardo,
a solution would be
+) create a project in the IDE of your choice
+) fix the errors incrementally
Cheers,
Siegfried Goeschl
Eduardo M KALINOWSKI wrote:
Is there a way to configure Maven to ignore source files that present
errors during compilation, and compile everything that is
2010/1/29 Eduardo M KALINOWSKI edua...@kalinowski.com.br:
One possible way to solve the problem would be to manually list the files to
be excluded, and remove them from the list as they get fixed. But this is
tedious and error-prone, so I wonder if there is a better way.
Sure, complain with
2010/1/29 Anders Hammar and...@hammar.net
The Nexus book talks about all these questions:
http://www.sonatype.com/books/nexus-book/reference/
Thanks, I have tried the nexus, in fact I have heard it before, and I use
it this afternoon.
You said it can solve the speed problem in the IDE for
On Sex, 29 Jan 2010, Christoph Kutzinski wrote:
The obvious counter question is:
Why do you want to do this? Why not just fix the compile errors?
To make a long story short: we received this project from another
company, and we have to fix it and complete the parts that are missing.
We are
Sounds to me like you should modularize the application, make a
multi-module project of it (if not already) and then add only those
modules on which you're working currently to the modules section of
the parent POM and leave out all the others for the moment.
Just a quick idea from the top of
Nexus has to connect for the first download of a specific artifact. But it's
going to be much faster for the second access (for that artifact).
A Maven repo manager is a normal part of a maven infrastructure nowadays. Or
at least should be.
/Anders
On Fri, Jan 29, 2010 at 13:27, maven apache
The obvious question is why you don't make it two projects? The problem
you're running into is because there is just one pom. Even if you solve your
compilation problem, you're going to cause problems for anyone consuming the
artifact (as the pom will list the wrong deps).
/Anders
On Fri, Jan
Hi,
Is it possible to access a server username/password (even/especially when
encrypted) from an Ant Mojo and/or antrun script?
If you know how to do it from a Java Mojo, I would take that too.
I would like to be able to use it to ssh to other servers where we have some
cross-compilers
On Sex, 29 Jan 2010, Christoph Kutzinski wrote:
Sounds to me like you should modularize the application, make a
multi-module project of it (if not already) and then add only those
modules on which you're working currently to the modules section
of the parent POM and leave out all the others
To answer my own question for groovy, I found this:
http://weblogs.java.net/blog/2009/08/10/getting-most-out-maven-settingsxml-file
which explains doing this:
def server = settings.servers.find{ it.id.equals('dbserver') }
But does anyone know how to do it in ant?
Thanks,
Ben
- Ben
2010/1/29 Eduardo M KALINOWSKI edua...@kalinowski.com.br:
For example, a method name may be
changed. This will break everywhere that calls the method.
Refactoring anyone? Or deprecations?
-
To unsubscribe, e-mail:
Http didn't work for me in the past so I didn't try that, I just did, providing
it with the 'deployment' user credentials and it worked and I was able to
upload the snapshot
Thanks Anders
Shahzad Qureshi
Systems Analyst/Programmer
Applications
Eduardo-
AFAIK, the behavior you are seeing is the behavior of javac, not Maven. As
you note, the Eclipse compiler does something different, so if that's the
behavior you want, use the Eclipse compiler.
Justin
On Fri, Jan 29, 2010 at 8:21 AM, Eduardo M KALINOWSKI
edua...@kalinowski.com.br
Hi All
We are creatign an ear as a result artifact of a maven project. In the
ear file we package all libraries with the final names without verison
numbers. Maven creates classpaths for those libraries with the
names+versions.
Example:
We have an EAR package contains Module A and B
Module A
Is this a problem; having ModuleB as ModuleB.jar in ear package? Can
ModuleA fsee ModuleB on the classpath?
When you tested this EAR with your target Java EE app server, what
happened? Did things deploy and work properly, or no?
If the answer is no, how do I addd dependencies to the
On Fri, Jan 29, 2010 at 12:31:06PM +0100, Christoph Kutzinski wrote:
Why do you want to do this? Why not just fix the compile errors?
Likely the same reason that compiler writers have spent so much time
studying error recovery in parsers: to discover as many errors as
possible in one iteration.
If this is the way it should work, is there a way to achieve what I
want? I.e. define some utility executions in parent that can be called
in child modules, but independent of other executions.
Did you consider profiles for this purpose?
Wayne
Hi maven people,
We have projects we want to release using the maven-release-plugin. Moreover,
we want to perform our releases in Hudson, with the help of the M2release
(hudson) plugin. This is a dream come true: perform a release on a single
push of a button (actually, more of a link).
I also found this JIRA ticket entered against a project named Maven
Evangelism. Nice project name. :)
http://jira.codehaus.org/browse/MEV-649
However, switching down to log4j 1.2.14 changed nothing as far as these errors
go. Perhaps some other library(s) also have this issue? If so, is there
I put this into my settings.xml:
mirrors
mirror
idexternal-redirect/id
nameRedirect of external refs to local/name
urlhttp://our.local.server.host/repository/url
mirrorOfexternal:*/mirrorOf
/mirror
/mirrors
Same errors occur in the log regardless of this
Are you not using standard SVN directory layout or no SVN at all? We
do fully automated releases with mvn -B release:prepare
release:perform and it gets the tagname etc. right without any special
configuration. As a sidenote, pom.version is deprecated, use
project.version instead.
Kalle
On Fri,
I think I may know what's happening:
http://n2.nabble.com/Suck-cannot-build-repository-down-td3432724.html#a3432724
Since I'm using the maven-project-info-reports-plugin:dependencies report, it
does completely bypass the normal repository mechanism and thus Nexus. This
sounds like a defect in
and thus Nexus. This sounds like a defect in the dependencies report
portion of the codehaus mojo maven-project-info-reports-plugin.
I agree. Check Jira to see if it is already filed.
Does anyone know a workaround for this?
Stop using this report for now, until it is fixed. If you have the
How could this be achieved with profiles?
Lóránt
On Fri, Jan 29, 2010 at 21:13, Wayne Fay wayne...@gmail.com wrote:
If this is the way it should work, is there a way to achieve what I
want? I.e. define some utility executions in parent that can be called
in child modules, but independent of
You could insert this utility executions in profile. e.g.
profiles
profile
idwhatever/id
build
plugins
plugin
...
/plugin
/plugins
/build
/profile
ok but what if you want to override the default tag label? The
default one is ${project.artifactId}-release version.
is there a way in the pom to retrieve the release version as set by
the maven-release-plugin?
--
JS.
--
Le 2010-01-29 à 17:05, Kalle Korhonen
I have uploaded a swing look-and-feel to our internal repository. The LaF
contains a main jar plus a separate jar for each skin. In order to minimize
the end result, each skin is uploaded separately with its own pom referring
to the main jar.
But sometimes I want it all skins, so I figured I
33 matches
Mail list logo