Mike,
I have used maven for a couple of webapps, usally I use the webapp
archetype to generate the pom and initial structure then I create the
java directory manually. Once you have created them maven will compile
the jva source as normal, and the class files get moved to the correct
place in
On 6/10/06, Max Cooper [EMAIL PROTECTED] wrote:
wolverine my wrote:
The src/main/resources directory contains only the configurations
which will be loaded by the classloader? So we really need to study
the 3rd party library configurations to see if they are loaded via the
classloader...
Do
Hi.
I've used eclipse and the aspecJ plugin successfully to create some
simple aspects. Did work except that the ide source code verifier didn't
recognize all aspects but it compiled fine.
In the end I think packaging is more important than eclipse and now I
want to know how to do things with mvn
Has somebody else also had this error? What can I do about it?
Thanks,
_ ___ _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
`-`
Andreas Ebbert-Karroum
Senior Software Design Engineer
Nokia Networks Services / Middleware
Ben,
That's the kind of feedback I was looking for, yes. For some reason, I had
it in my head that you shouldn't touch the directory structure once the
archetype did it's work, but as I think about it, the pom that both
archetypes create is almost the same. Thinking along those lines, adding
Hi.
After running
mvn eclipse:eclipse -Dproject=projectname
I get my .classpath file. Fine.
BUILD SUCCESFUL.
But eclipse still can't resolve it.
Even
mvn eclipse:add-maven-repo -Declipse.workspace=/home/marc/workspace
the classpath entries look like this
classpathentry kind=var
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingtigerstripe-application
Component role-hints in Plexus are tacked onto the end of the role name, and
loaded like a role (someone correct me if I'm wrong about this... good
Plexus
Hi!
Add a dependency on the aspect runtime
dependency
artifactIdaspectjrt/artifactId
groupIdaspectj/groupId
version1.5.0/version
/dependency
and then a build configuration
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
Hi!
I've seen various posts on log4j and Maven, but I haven't seen any answer to
what I want to do. I want to be able to use different settings for log4j
for:
1. main (releases using mvn assembly)
2. tests (unit tests)
3. development (when running/debugging the program within Eclipse or
Hi Serge.
We just pushed fresh copies of the JavaPersistence API and TopLink
Essentials JARs. Check:
http://blogs.sun.com/roller/page/theaquarium?entry=java_persistence_and_ejb_jars
The plan is to update these components as part of our regular builds,
but this may take a few more weeks.
Just do it manually :
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html
On 6/10/06, Marc Weber [EMAIL PROTECTED] wrote:
Hi.
After running
mvn eclipse:eclipse -Dproject=projectname
I get my .classpath file. Fine.
BUILD SUCCESFUL.
But eclipse still can't resolve it.
Even
mvn
Jimisola,
FWIW, our team developed a small set of abstract test support classes that
extend Junit TestCase. The base class of this set of classes is
LoggingTestCase which configures log4j from a non-default
test-log4j.properties file in the same package as the test case. Such a
setup handles #2
native-maven-plugin experience the same thing, sound like a bug
Please file a JIRA
Eric, where do have the work around? your plugin's pom? or the the project
that use it?
-D
On 6/10/06, Eric Redmond [EMAIL PROTECTED] wrote:
Component descriptor cannot be found in the component
Hi Srgjan...
We are not yet using Maven to build GlassFish, but we are refining the
whole project building framework as part of the startup for GlassFish v2
(see http://blogs.sun.com/theaquarium) and that topic continues to come
up. I expect substantially improved modularization as part of
On Sat, Jun 10, 2006 at 12:19:03PM -0400, Alexandre Poitras wrote:
Just do it manually :
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html
Works fine. Thanks.
I should have restarted eclipse and not just updating using F5..
Marc
Hi,
Is there a way to put a timestamp in a properties file? I am thinking
in filtering, but is there a pom variable that returns the timestamp
or current date?
Thanks!
Bruno
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
will it pick up the groupId from the parent? is the groupId a required
parameter in such a case?
Milos
On 6/6/06, Brett Porter [EMAIL PROTECTED] wrote:
Sort of. If you have a multi-module project, and you run archetype
from the parent pom location, the subproject is created, added to the
Hello,
I split up my project into multiple modules, with one parent module. At the
moment each module generate its own reports and its own site.
Site documentation is placed in the parent module's site, so it would be
nice if it would be possible to combine the reports (javadoc, cobutera,
Hi Doug,
Thank you for the setup information, but I don't find it to be a good enough
solution.
Basically because we test cases that implement/extend classes other than
JUnit TestCase as well.
Still hoping that someone has had the same issue and have a solution.
Regards,
Jimisola
Jimisola,
Hi!
Recently just migrated from Ant to Maven. It's a quite big project with a
main (parent) pom.xml and six-seven modules.
Everything compiles nicely for all modules, both main and test. However, I
have two modules, server and agent, were I keep getting NoClassDefFoundError
during executing of
I think the basic idea you need first is that Maven's classpath is derived
from the project's dependency list. So if you need a jar on the classpath,
specify it as a dependency. That understanding will jump you over the next
hurdles you face :-).
This should help too:
Hi!
I guess I didn't express myself good enough.
I have everything setup with dependencies of course. The main pom have all
dependency versions setup in the main pom and the modules' pom have the
dependcies that each of them need.
The libraries seem to be included correctly based on
Let's see the dependency def's you have for the problem ones.
-Original Message-
From: Jimisola Laursen [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 10, 2006 2:53 PM
To: users@maven.apache.org
Subject: RE: NoClassDefFoundErrorfor a few classes that seems to be in the
classp
Hi!
I
I need help understanding this:
If a profile that's embedded in POM is activated by a means other
than activeByDefault/, then all activeByDefault/ triggers are
suppressed. -- http://jira.codehaus.org/browse/MNG-2136
I have a profile that gets activated when JDK 1.5 is in use.
I need another
I have added a few libraries to our internal repository, e.g. mocquer.
All added libraries our found in my local repository as well as in our
internal one.
root POM:
dependencyManagement
[...]
dependencies
dependency
artifactIdc3p0/artifactId
groupIdc3p0/groupId
My experience is that the Eclipse plugin does setup intra-project
dependencies properly. so long as you run 'mvn eclipse:eclipse' from the
root of the project (as opposed to running it for each module
individually). If I have a project with moduleA and moduleB, and moduleB
depends on moduleA,
Make sure that the specific class(es) you get the exceptions for really
are in the jars that exist in your local repo (i.e. rule out the
possibility that you got a bad jar file, failed download, or the wrong
version, etc.).
Maven has some options to verify checksums (-C and -c), though I am
Thanks for the tip. The problem is that all four (4) developers have this
issue on their computer.
But, I'll will follow your instructions tomorrow and check checksums etc.
Regards,
Jimisola
--
View this message in context:
Hi,
I am migrating an Ant build to Maven. One portion is generating javadocs.
In the Ant one there are 3 link tags . . .
link href=http://logging.apache.org/log4j/docs/api//
link href=http://java.sun.com/j2se/1.5.0/docs/api//
link href=http://www.dom4j.org/apidocs//
I saw from the javadoc-mojo
Lyndon Washington wrote:
Hi,
I am migrating an Ant build to Maven. One portion is generating javadocs.
In the Ant one there are 3 link tags . . .
link href=http://logging.apache.org/log4j/docs/api//
link href=http://java.sun.com/j2se/1.5.0/docs/api//
link
On 6/10/06, Lyndon Washington [EMAIL PROTECTED] wrote:
I saw from the javadoc-mojo page,
http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html, that
there is a links tag which takes an ArrayList. It also says that the
Strings are comma separate.
I added an example to the
31 matches
Mail list logo