Re: maven-eclipse-plugin issue
Did you check the plugin documentation? http://maven.apache.org/plugins/maven-eclipse-plugin/examples/ajdt-projects.html AspectJ needs more than just the dependencies for the eclipse .project to work. You need configuration ajdtVersion1.5/ajdtVersion /configuration See the above link as you may also need to configure groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId Caveat: I've never used AspectJ so I am just linking from the docs. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-eclipse-plugin issue
Hi i have a problem with the maven-eclipse-plugin. my projects pom.xml look like this project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdde.hsyn.crtl/groupId artifactIdcrtl/artifactId packagingjar/packaging version1.0-SNAPSHOT/version namecrtl/name urlhttp://hsyn.de/url dependencies ... other dependencies dependency groupIdorg.aspectj/groupId artifactIdcom.springsource.org.aspectj.runtime/artifactId version1.6.6.RELEASE/version /dependency dependency groupIdorg.aspectj/groupId artifactIdcom.springsource.org.aspectj.tools/artifactId version1.6.6.RELEASE/version /dependency dependency groupIdorg.aspectj/groupId artifactIdcom.springsource.org.aspectj.weaver/artifactId version1.6.6.RELEASE/version /dependency ... /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.6/source target1.6/target encodingUTF-8/encoding /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId configuration downloadSourcestrue/downloadSources downloadJavadocstrue/downloadJavadocs encodingUTF-8/encoding /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration encodingUTF-8/encoding /configuration /plugin /plugins /build repositories repository idcom.springsource.repository.bundles.release/id nameSpringSource Enterprise Bundle Repository - SpringSource Bundle Releases/name urlhttp://repository.springsource.com/maven/bundles/release/url /repository repository idcom.springsource.repository.bundles.external/id nameSpringSource Enterprise Bundle Repository - External Bundle Releases/name urlhttp://repository.springsource.com/maven/bundles/external/url /repository /repositories /project on the command line maven resolves all dependencies and compile successfull, but if i generate eclipse project files with the maven-eclipse-plugin. the three dependencies to the org.aspectj won´t referenced in the eclipse project. all other dependencies are correct. it drives me crazy. tried everything like clean eclipse:clean refresh the project etc. please help. i thougth that eventualy there is a hidden feature in maven for aspects.