Re: AspectJ in Maven2

2008-07-23 Thread Ilya Ermolov

Big thanks! I missed property 'source' :-[ 
I'm stupid :)))
-- 
View this message in context: 
http://www.nabble.com/AspectJ-in-Maven2-tp18608731p18609277.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AspectJ in Maven2

2008-07-23 Thread Ilya Ermolov

My project contains aspect library but it isn't compiles by Maven.

I have following declaration:

maven-compiler-plugin
2.0.2

true
1.5
1.5



org.codehaus.mojo
aspectj-maven-plugin



compile





but Maven show me some errors like:
C:\workspace\exception-handling\src\ru\vtsft\exceptions\ExceptionHandling.aj:211:0::0
Syntax error, parameterized types are only available if source level is 5.0
error at private static ThreadLocal> traceStack = new
hreadLocal>() {

Eclipse compiles this code without errors. I'm going crazy %]
-- 
View this message in context: 
http://www.nabble.com/AspectJ-in-Maven2-tp18608731p18608731.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JAR and WAR packaging

2008-07-18 Thread Ilya Ermolov

Hello, I have the following problem.

My web-project have a great number of subprojects which have complex
dependencies with each other. I want pack all .class files in JAR and then
pack my web-app in WAR file. But how to do it having the only pom.xml?
-- 
View this message in context: 
http://www.nabble.com/JAR-and-WAR-packaging-tp18523923p18523923.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Create non conventional archetype

2008-05-22 Thread Ilya Ermolov

Hi! Please, help me.
I need to create directory structure shown below:

project
+-src
|  +-org
| +-mycompany
|+-app.java
+-test
|  +-org
| +-mycompany
|+-apptest.java
pom.xml

How can i create new archetype having this directory structure and redefine
source directory from "src/main/java/org/mycompany" to "src/org/mycompany"?
-- 
View this message in context: 
http://www.nabble.com/Create-non-conventional-archetype-tp17402009p17402009.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]