1.5 and 1.5, and yes, it's working with Maven 2.09.
Sorry, the code of my company is classified, I can't provide a testcase.
Peter,
The Maven team isn't asking for your source code. The request is to
provide a project -- any project -- that demonstrates the failure.
Just create a mock project that helps rear the head of the ugly error.
Paul
On Tue, Aug 26, 2008 at 1:24 AM, Peter Horlock
[EMAIL PROTECTED] wrote:
1.5
Hi Brett,
that works. If I set the scope to compile (or the default), the
javadoc-generation works. Another solution is to configure a report without
test-classes:
reportSets
reportSet
reports
reportjavadoc/report
/reports
/reportSet
/reportSets
Thanks and
Thanks - have you an identified an existing JIRA issue for this?
- Brett
2008/8/26 WolfgangRoessler [EMAIL PROTECTED]:
Hi Brett,
that works. If I set the scope to compile (or the default), the
javadoc-generation works. Another solution is to configure a report without
test-classes:
Thanks Jeudy,
I used this and it worked, but the only concern for me is that I have to
traverse through all the transitive dependencies of all the dependencies
and then I have to add exclusions for each.
Regards,
Shakun
Jeudy, Guillaume wrote:
Shakun,
try using dependency
exclusions
Well, my issue concerning the compiler seems to have been solved with RC11 -
the entire build is working now.
Maybe it had something to do with the fact that I am setting the compiler
version by using a property:
plugin
artifactIdmaven-compiler-plugin/artifactId
Hi Guillaume,
Sorry, I did not provide a bit of clarification while asking the
question. Actually, all our projects have a similar structure.
For ex : -
A (groupId)
- entities (artifactId)
- utilities (artifactId)
etc..
B (groupId)
- entities (artifactId)
- utilities
Hello,
I am having a Problem with a CI-System. We use Maven with Hudson and
Archiva.
The Archiva is configured with two repository groups (both virtualize
several proxy connectors and repositories).
One is for dependencies, the other for plugins.
In Hudson the build goal is the following: mvn
Hi,
I think *http://repo1.maven.org/maven2* http://repo1.maven.org/maven2 is
down. Probably you can use a mirror for the central maven, e.g.
http://mirrors.ibiblio.org/pub/mirrors/maven2/
On Tue, Aug 26, 2008 at 5:20 PM, von Janowsky, Simon [EMAIL PROTECTED]
wrote:
Hello,
I am having a
As mention in
http://docs.codehaus.org/display/GEOTOOLS/2+What+is+Maven+and+why+do+you+use+it
It also manages (and downloads) any third party jars that are needed for a
build.
Is it mean that if the log4j.jar used in my project, the maven is configure
in such the maven will go to repository to
Hi!
I'm trying to figure out if there's a way to control which repository
is searched for what artifact. Is there a way, for example, to fetch
everything from the central maven repository, except for all groupIds
that match the pattern org.example.*? I googled a little, which turned
up a
Hello Henry,
I would recommend you to read the book Maven: The Definitive Guide. You can
get it for free from http://www.sonatype.com/community/definitive_guide.html
and I like the examples that help to explain the concepts of maven.
Speaking of dependency management as you mention in your
I just read some post on this link
http://www.nabble.com/new-bee-to19132548.html
http://www.nabble.com/new-bee-to19132548.html
It quite good but I still cannot code it. Can we have a hand on coding
Thanks
Henry Loke wrote:
As mention in
Hi Henry,
Try the draft book available,
Maven: The Definitive Guide (Readable HTML alpha release)
* Covers:Maven 2.0.x
* Published:Not yet
* Authors: Sonatype (Jason van Zyl, John Casey, Eric Redmond)
Better Builds with Maven (Free PDF Download)
* Covers:Maven 2.0.4
*
No, otherwise I wouldn't have asked here *g*.
Could you create one?
Greets
Wolfgang
Brett Porter wrote:
Thanks - have you an identified an existing JIRA issue for this?
- Brett
2008/8/26 WolfgangRoessler [EMAIL PROTECTED]:
Hi Brett,
that works. If I set the scope to compile (or
I created http://jira.codehaus.org/browse/MJAVADOC-214
2008/8/26 WolfgangRoessler [EMAIL PROTECTED]:
No, otherwise I wouldn't have asked here *g*.
Could you create one?
Greets
Wolfgang
Brett Porter wrote:
Thanks - have you an identified an existing JIRA issue for this?
- Brett
There's not currently a way to do this directly - the only such
control you have is described here:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
This is certainly a situation for a repository manager such as
Archiva, Nexus, or Artifactory (not sure if this one has group Id
Hi there,
i have a working configuration and creation of and hbm2doc which
produces javadoc for Hibernate-mappings...
but how can i integrated the generated javadoc (Hibernate) into the
site:deploy process or does exist a way to integrated the generated
javadoc (Hibernate) into a site...
Some
On Tue, Aug 26, 2008 at 12:55 PM, Brett Porter [EMAIL PROTECTED] wrote:
This is certainly a situation for a repository manager such as
Archiva, Nexus, or Artifactory (not sure if this one has group Id
filtering like the others, but it may). For more information:
Hi
Where can I find some tutorials on howto do archetypes? It would be
really cool with an tutorial on howto make multimodule archetypes.
Im wanting todo a archetype for Apache Wicket which includes 2 modules,
web and core both being switchable with a parameter. Forexample if you
want a
Hi Nino,
The best way to start creating an archetype is to :
- create a project (in your case a multi-module with a switch)
- call mvn archetype:create-from-project on your example project
you then try your archetype by :
- moving in target/generated-sources/archetype from your example project
-
I'll try it out, examples would be nice though:) It would be really cool
if there were more tutorials on creating advanced archetypes.
Raphaël Piéroni wrote:
Hi Nino,
The best way to start creating an archetype is to :
- create a project (in your case a multi-module with a switch)
What do
I've been trying to run release:prepare on a nested project and I keep
running into the same SVN related issues. Has anyone else got it working?
I can supply the full trace, but the basic problem I get is:
...
[INFO] Executing: svn --non-interactive copy --file
Sounds like the same problem many are facing with a bug in SVN 1.5.1
See these threads on the SVN Maven mailing lists:
http://www.nabble.com/Mac-OS-X-%2B-SVN-1.5.1-%3D-Branch-problem-td19017538.html#a19142776
http://www.nabble.com/Release-fails-during-SVN-commit-td19084270.html
I'm still
Answers inlined
Raphaël
2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I'll try it out, examples would be nice though:) It would be really cool if
there were more tutorials on creating advanced archetypes.
Please capture your experimentation to improve the documentation ;-)
2008/8/26 Raphaël Piéroni [EMAIL PROTECTED]:
Answers inlined
Raphaël
2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I'll try it out, examples would be nice though:) It would be really cool if
there were more tutorials on creating advanced archetypes.
I found this page on
Hi there,
I am trying to centralize the version-numbers of all projects/dependencies
in our system. My approach for this, is to centralize the settings.xml-file
add all versions as profile-properties. This worked perfectly at first
sight, but resulted in errors when trying to use the project as
On Aug 25, 2008, at 7:25 PM, Wendy Smoak wrote:
If you establish a parent pom, and list all five of your projects as
modules, Maven will figure out what order to build them in, and
compile the changed sources.
Thanks for your suggestion, but unfortunately it does not accomplish
my goal.
RC11 is looking pretty good to me. I've built several things with it,
re-setup my eclipse workspaces from fresh checkouts (eclipse:eclipse), etc...
Haven't done a deploy yet (that's next), but everything else is looking
pretty good to me.
Performance is also excellent. My test case
Sorry to repost but I did not get a nibble on this. Thanks for any
assistance.
Mike
On Aug 24, 2008, at 10:47 AM, Michael McGrady wrote:
Below is my POM and the error log. How do I get maven to seem my
junit jar?
Mike
Here is the POM
project
Hi Michael!
src/main/java
and
scopetest/scope
dingeling?
Is CellarDoorChannelReadWrite.java a Test? If so, move it under src/test/java.
If not, why does it need JUnit? If it does, remove the scopetest/scope from
the dependency, since the default 'compile' is what you need.
LieGrue,
On Tue, Aug 26, 2008 at 6:37 AM, Trevor Harmon [EMAIL PROTECTED] wrote:
As I said, I want to be able to go to appA's directory and type:
mvn compile
Since Maven knows appA's dependencies, it should be able to figure out that
if a source file in libB is out-of-date, it should compile libB
Thanks,
You have 3 alternatives:
- put the nuxeo plugin in the install phase (though I assume since
it's also producing an installable artifact you don't want that)
Of course not, I often need to call only the package phase.
- change the nuxeo plugin to look up the artifact from the already
Hi all
i'm using Hibernate3 plugin for generation mapping classes and HBM for an
oracle schema
the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other vlable
goal checks also system table
and the exceution take many time, at the and i get that trace error :
16:05:50,780 DEBUG
On Tue, Aug 26, 2008 at 6:31 AM, Sven Vlieghe [EMAIL PROTECTED] wrote:
I am trying to centralize the version-numbers of all projects/dependencies
in our system. My approach for this, is to centralize the settings.xml-file
add all versions as profile-properties. This worked perfectly at first
Wendy Smoak-3 wrote:
On Tue, Aug 26, 2008 at 6:31 AM, Sven Vlieghe [EMAIL PROTECTED]
wrote:
I am trying to centralize the version-numbers of all
projects/dependencies
in our system. My approach for this, is to centralize the
settings.xml-file
add all versions as profile-properties.
Stefan,
If it works for you, is it because it's a single module with no nested
modules?
I have maven 2.0.9, svn 1.5.1 (trigis.org build), Java 1.6.0_06, Windows XP
SP2,
It's interesting that the command that fails:
svn --non-interactive copy --file
Great to hear. Thanks for checking.
-john
Peter Horlock wrote:
Well, my issue concerning the compiler seems to have been solved with RC11 -
the entire build is working now.
Maybe it had something to do with the fact that I am setting the compiler
version by using a property:
I'm re-posting because I didn't get any response the first time. Any
help would be greatly appreciated.
Just to let you know, I know that I have the option of hand generating
the manifest file, but I'd prefer that it be generated.
Thanks,
Chris
-Original Message-
From: Vogel,Chris
Hi,
we have several projects, all of which or developed and compiled in java 5.
However, we have one project, which is run by a client on Java 6, and to
make it run,
we have to exclude a dependency (JAXB) that is part of Java 6. However,
without this dependency it's not running on Java 5.
In
Hello David,
I just updated to Subversion version 1.5.1 (r32289) and now i am running into
the same problem as you.
Stephen refered to similar issues today in this list.
Regards
Stefan
-Ursprüngliche Nachricht-
Von: David Roussel [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 26.
On Tue, Aug 26, 2008 at 10:30 AM, Sven Vlieghe [EMAIL PROTECTED]wrote:
I agree, that was a setup I was originally planning to do. However, each
time a dependency-version increases, this would result in having to
increase
the base-pom too. That pom would have to be released to a final version,
Same error for me with SVN 1.5.1 on windows.
It's not a MAC only issue
Coming back to 1.4.6 solves the issue
Arnaud
On Tue, Aug 26, 2008 at 5:17 PM, Glase, Stefan
[EMAIL PROTECTED] wrote:
Hello David,
I just updated to Subversion version 1.5.1 (r32289) and now i am running
into the same
On Tue, Aug 26, 2008 at 9:18 AM, David Roussel
[EMAIL PROTECTED]wrote:
If I repeat that svn command on the comand line it does fail again. The
So has anyone else got the release plugin to work in multi-module projects
using svn?
I've done lots of releases of multi-module projects with the
Are you trying to release a nested project? I am?
What kind of authentication are you using? I'm using windows authetication,
via Apache 2.2 and mod_sspi. Not sure if that makes a difference.
David
jrduncans wrote:
Sounds like the same problem many are facing with a bug in SVN 1.5.1
U follow the java World tutorial from this link
http://www.javaworld.com/javaworld/jw-12-2005/jw-1205-maven.html?page=3
I just start for a first create command as below
I have created a couple of very basic archetypes, but I have a new need.
I read several places that I can use velocity templates with archetypes, but
none of the examples seem to indicate how this is accomplished.
Is there an existing archetype that uses velocity that I can go
cannibalize?
Use profile activation based on the JDK. Read more here:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
I would simply set my pom dependencies to the minimum set, and then a
profile which adds dependencies as needed based on the JDK being used.
Wayne
On 8/26/08, Peter
Unless something has changed (regression), this is automatically
handled by recent releases of the EAR and WAR plugins (jars are
renamed to be unique). Give it a try and report back.
Wayne
On 8/26/08, Shakun Gupta [EMAIL PROTECTED] wrote:
Hi Guillaume,
Sorry, I did not provide a bit of
Greetings:
Earlier I had posted about getting duplicate .class files in a
Jar-with-dependencies. The fix I found was to exclude the
${project.groupId}:${project.artifactId} from the current project.
However, I am getting duplicates it seems from transitively dependent
JARs and am finding it
Raphaël Piéroni wrote:
Answers inlined
Raphaël
2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I'll try it out, examples would be nice though:) It would be really cool if
there were more tutorials on creating advanced archetypes.
Please capture your
Raphaël Piéroni wrote:
2008/8/26 Raphaël Piéroni [EMAIL PROTECTED]:
Answers inlined
Raphaël
2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I'll try it out, examples would be nice though:) It would be really cool if
there were more tutorials on creating advanced
i relance my request :)
i'm using Hibernate3 plugin for generation mapping classes and HBM for an
oracle schema
the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other
available goals checks also system table
and the exceution take many time, at the and i get that trace error :
Hi Shakun,
I think you should review your naming conventions so that any submodule can be
uniquely identified within your organization projects.
For example in our company we use the following pattern for groupIds:
companyName.projectname
so in your case you would have:
groupId:
Hi,
I wanted to check the used version of the surefire plugin.
I got:
mvn help:describe -Dplugin=surefire
...
[INFO] [help:describe]
[INFO] Plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.2'
---
Group Id: org.apache.maven.plugins
Artifact
I see... thanks, now I can resolve and download the correct swt library.
However, we would like to make the test running with maven correctly for
Windows and Linux. How can I tell maven to use correct platform of library?
lukewpatterson wrote:
These are in the repo
Actually what I like to do is to tell maven to use
System.getProperty(user.os) and select the right dependence, is that
possible?
Carfield Yim wrote:
I see... thanks, now I can resolve and download the correct swt library.
However, we would like to make the test running with maven correctly
I used the maven assembly plugin to pull in the correct Jar. I have
all 3 jars (linux, Mac and Windows) as provided so that they are
there for compilation but they don't get automatically included in the
release. You can also have a profile to trigger on the correct current
OS, but that will not
After 5 months of very intense work the Sonatype Nexus team is very
pleased to announce Nexus 1.0! Woo hoo!
You can read about it in Brian's post here:
http://blogs.sonatype.com/brian/2008/08/26/1219764133092.html
You can download it from here:
http://nexus.sonatype.org/download.html
You can
I have a http repository set up and it's referenced in the
distributionManagement tag in each pom.
I want to take the http-repository reference out of the poms and put it
in settings.xml or externalize it in some properties file.
What's the best way to do this?
thanks.
Hi
That's explained here
http://www.velocityreviews.com/forums/t298010-jboss-ide-using-hibernate-tool
s-getting-jdbcbinderexception.html
Basically you need to specify your schema in a hibernate.reveng.xml file.
Regards
Johann Reyes
-Original Message-
From: MedElb [mailto:[EMAIL
Hi, I blogged about this with examples. I can't copy and paste on the
iPhone but you can find it at http://blogs.Sonatype.com/brian
Sent from my iPhone
On Aug 23, 2008, at 8:08 AM, Graham Leggett [EMAIL PROTECTED] wrote:
Hi all,
I have a need to override a specific dependency used by the
Brett Porter wrote:
Yes, I think so.
I wanted to follow up on this post with something I found in the release
notes of Maven 2.0.9:
# MNG-3286 - The inherited field in a plugin execution block is now
functioning correctly. Previously you could only dis-inherit an entire
plugin
2008/8/27 Julien CARSIQUE [EMAIL PROTECTED]:
Our implementation rely on
org.apache.maven.artifact.resolver.ArtifactResolver.resolve()
Is there a reason why default implementation do not look up to from attached
artifacts on project ?
The artifact code doesn't have any awareness of the Maven
You should be able to remove entire artifacts, but not individual
classes. If the latter is what you are trying to do, a better solution
might be to use the dependency plugin to unpack them artifacts into a
temporary location in target, then use the assembly descriptor with
filesets to pick up the
I think somewhere in the child POM or its parent hierarchy the plugin
version must be set to 2.2, perhaps outside of pluginManagement. Is
that the case?
- Brett
2008/8/27 Rintcius [EMAIL PROTECTED]:
Hi,
I wanted to check the used version of the surefire plugin.
I got:
mvn help:describe
Hi,
I just started to learn Maven one month ago and now successfully migrated my
company's new project to maven, which has 8 sub-modules, using GWT,
Gigaspaces, spring, hibernate, etc..
Just want to share with you my experience. Although there are some
archetypes to help you get started easily,
Yes, you can see an example here:
http://maven.apache.org/developers/release/releasing.html
You can put the property straight into distrbutionManagement too if you prefer.
- Brett
2008/8/27 Dharmendra Desai (dhdesai) [EMAIL PROTECTED]:
I have a http repository set up and it's referenced in the
Hi,
I am looking for a way to encrypt certain property values in a property file
when I am building my application with maven 2. I would like to be able to
use different encryption keys depending on the profile used for the build.
Is there a way to configure the resources filter mojo to do some
No, you don't understand, I want Maven to change the JDK itself!
To release a new version for this client, I have to change my JDK from 1.5
to 1.6, and all this manually. Wouldn't it be possible to automate this with
Maven?!
Thanks,
Peter
70 matches
Mail list logo