It's unfortunate you didn't try this with one of the staged versions that were available for over a week.

Make me a test project that displays the problem and I will track it down.

Jason.

On 5 Apr 07, at 5:04 AM 5 Apr 07, Jörg Schaible wrote:

Hi folks,

after some hours testing M206 and looking for solutions, I am quite helpless with our build that is broken if I run a multi-project build. Part of this build is the creation of an ejb-client jar and another artifact that is dependend on it. Unfortunately the dependent artifact cannot be compiled, because the classes from the ejb-client are misssing.

Culprit seems to be indicated by the line from the resources:resources goal, where the ejb-client is listed with a scope of "null":

[DEBUG] ip.evtmon:ip-evtmon-ejb:ejb-client:client:2.2.2-SNAPSHOT (selected for null)

and therefore it seems consequently omitted compiling the classes, since it is not part of the classpath anymore. If I build the module locally there's no problem, the scope is "compile", but not when running in a multi-project build. I already tried to introduce a dependencyManagment section in the local POM where I declare this artifacts again with explicit scope "compile". Any idea what might cause this?

- Jörg


=================== %< ======================
...
[INFO] ---------------------------------------------------------------------- ------
[INFO] Building eIP EventMonitor Client Commons
[INFO]    task-segment: [install]
[INFO] ---------------------------------------------------------------------- ------ [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources- plugin:2.2:resources' -->
[DEBUG]   (f) filters = []
[DEBUG] (f) outputDirectory = D:\work\standard\eIP\EventMonitor \client-commons-jar\target\classes
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) resources = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] ip.evtmon:ip-evtmon-client-commons:jar:2.2.1-SNAPSHOT (selected for null)
[DEBUG]   active project artifact:
        artifact = ip.commons:ip-commons:jar:2.2.5-SNAPSHOT:compile;
project: [EMAIL PROTECTED] (selected for compile) [DEBUG] commons-lang:commons-lang:jar:2.1:compile (selected for compile) [DEBUG] com.elsagsolutions.commons:es-commons-lang:jar: 2.0.7:compile (selected for compile) [DEBUG] commons-collections:commons-collections:jar:3.2:runtime (selected for runtime) [DEBUG] commons-id:commons-id:jar:20060125.092202:compile (selected for compile) [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected for compile) [DEBUG] commons-logging:commons-logging:jar:1.0.3:compile (applying version: 1.1) [DEBUG] commons-logging:commons-logging:jar:1.1:compile (selected for compile) [DEBUG] com.thoughtworks.xstream:xstream:jar:1.2.1:compile (selected for compile) [DEBUG] xpp3:xpp3_min:jar:1.1.3.4.O:compile (selected for compile) [DEBUG] com.elsagsolutions.commons:es-commons-j2ee:jar: 2.0.0:compile (selected for compile)
[DEBUG]   javax.ejb:ejb:jar:2.0:provided (selected for provided)
[DEBUG]   active project artifact:
artifact = ip.evtmon:ip-evtmon-commons:jar:2.2.2- SNAPSHOT:compile; project: [EMAIL PROTECTED] (selected for compile) [DEBUG] com.elsagsolutions.commons:es-commons-j2ee:jar: 2.0.0:compile (selected for compile) [DEBUG] commons-logging:commons-logging:jar:1.1:compile (selected for compile) [DEBUG] ip.evtmon:ip-evtmon-ejb:ejb-client:client:2.2.2-SNAPSHOT (selected for null) [DEBUG] com.elsagsolutions.commons:es-commons-test:jar: 2.0.11:test (selected for test)
[DEBUG]       commons-io:commons-io:jar:1.3:test (selected for test)
[DEBUG] commons-configuration:commons-configuration:jar: 1.2:test (selected for test) [DEBUG] commons-collections:commons-collections:jar: 3.1:test (applying version: 3.2)
[DEBUG]         xalan:xalan:jar:2.7.0:test (applying scope: runtime)
[DEBUG]         xalan:xalan:jar:2.7.0:runtime (selected for runtime)
[DEBUG]       jmock:jmock:jar:1.1.0:test (selected for test)
[DEBUG]         junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]       cglib:cglib-nodep:jar:2.1_3:test (selected for test)
[DEBUG]       javax.xml:jaxp-api:jar:1.3.2:test (selected for test)
[DEBUG]       xalan:xalan:jar:2.7.0:test (applying scope: runtime)
[DEBUG]       xalan:xalan:jar:2.7.0:runtime (selected for runtime)
[DEBUG] com.elsagsolutions.commons:es-commons-configuration:jar: 2.0.2:compile (selected for compile) [DEBUG] commons-configuration:commons-configuration:jar: 1.2:test (setting scope to: compile) [DEBUG] commons-configuration:commons-configuration:jar: 1.2:compile (selected for compile) [DEBUG] commons-collections:commons-collections:jar: 3.1:compile (applying version: 3.2) [DEBUG] commons-collections:commons-collections:jar: 3.2:runtime (setting scope to: compile) [DEBUG] commons-collections:commons-collections:jar: 3.2:compile (selected for compile) [DEBUG] xalan:xalan:jar:2.7.0:compile (applying scope: runtime) [DEBUG] com.elsagsolutions.commons:es-commons-lang:jar: 2.0.6:compile (applying version: 2.0.7) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler- plugin:2.0.2:compile' --> [DEBUG] (f) basedir = D:\work\standard\eIP\EventMonitor\client- commons-jar [DEBUG] (f) buildDirectory = D:\work\standard\eIP\EventMonitor \client-commons-jar\target [DEBUG] (f) classpathElements = [D:\work\standard\eIP\EventMonitor \client-commons-jar\target\classes, d:\repository\m2\com \elsagsolutions\commons\es-commons-j2ee\2.0.0\es-commons- j2ee-2.0.0.jar, d:\repository\m2\commons-logging\commons-logging\1.1 \commons-logging-1.1.jar, D:\work\standard\eIP\EventMonitor\commons- jar\target\classes, d:\repository\m2\commons-id\commons-id \20060125.092202\commons-id-20060125.092202.jar, d:\repository\m2 \commons-lang\commons-lang\2.1\commons-lang-2.1.jar, D:\work \standard\eIP\commons-jar\target\classes, d:\repository\m2\commons- configuration\commons-configuration\1.2\commons- configuration-1.2.jar, d:\repository\m2\commons-beanutils\commons- beanutils\1.7.0\commons-beanutils-1.7.0 .jar, d:\repository\m2\commons-collections\commons-collections\3.2 \commons-collections-3.2.jar, d:\repository\m2\javax\ejb\ejb\2.0 \ejb-2.0.jar, d:\repository\m2\com\elsagsolutions\commons\es- commons-lang\2.0.7\es-commons-lang-2.0.7.jar, d:\repository\m2\com \thoughtworks\xstream\xstream\1.2.1\xstream-1.2.1.jar, d:\repository \m2\xpp3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar, d:\repository\m2 \com\elsagsolutions\commons\es-commons-configuration\2.0.2\es- commons-configuration-2.0.2.jar] [DEBUG] (f) compileSourceRoots = [D:\work\standard\eIP \EventMonitor\client-commons-jar\src\main\java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = iso-8859-1
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG] (f) outputDirectory = D:\work\standard\eIP\EventMonitor \client-commons-jar\target\classes
[DEBUG]   (f) outputFileName = ip-evtmon-client-commons-2.2.1-SNAPSHOT
[DEBUG] (f) projectArtifact = ip.evtmon:ip-evtmon-client- commons:jar:2.2.1-SNAPSHOT
[DEBUG]   (f) showDeprecation = true
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) source = 1.4
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.4
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:compile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [D:\work\standard\eIP\EventMonitor \client-commons-jar\src\main\java] [DEBUG] Classpath: [D:\work\standard\eIP\EventMonitor\client- commons-jar\target\classes d:\repository\m2\com\elsagsolutions\commons\es-commons-j2ee\2.0.0 \es-commons-j2ee-2.0.0.jar d:\repository\m2\commons-logging\commons-logging\1.1\commons- logging-1.1.jar
 D:\work\standard\eIP\EventMonitor\commons-jar\target\classes
d:\repository\m2\commons-id\commons-id\20060125.092202\commons- id-20060125.092202.jar
 d:\repository\m2\commons-lang\commons-lang\2.1\commons-lang-2.1.jar
 D:\work\standard\eIP\commons-jar\target\classes
d:\repository\m2\commons-configuration\commons-configuration\1.2 \commons-configuration-1.2.jar d:\repository\m2\commons-beanutils\commons-beanutils\1.7.0\commons- beanutils-1.7.0.jar d:\repository\m2\commons-collections\commons-collections\3.2 \commons-collections-3.2.jar
 d:\repository\m2\javax\ejb\ejb\2.0\ejb-2.0.jar
d:\repository\m2\com\elsagsolutions\commons\es-commons-lang\2.0.7 \es-commons-lang-2.0.7.jar d:\repository\m2\com\thoughtworks\xstream\xstream\1.2.1 \xstream-1.2.1.jar
 d:\repository\m2\xpp3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar
d:\repository\m2\com\elsagsolutions\commons\es-commons- configuration\2.0.2\es-commons-configuration-2.0.2.jar] [DEBUG] Output directory: D:\work\standard\eIP\EventMonitor\client- commons-jar\target\classes
[DEBUG] Classpath:
[DEBUG] D:\work\standard\eIP\EventMonitor\client-commons-jar\target \classes [DEBUG] d:\repository\m2\com\elsagsolutions\commons\es-commons-j2ee \2.0.0\es-commons-j2ee-2.0.0.jar [DEBUG] d:\repository\m2\commons-logging\commons-logging\1.1 \commons-logging-1.1.jar
[DEBUG]  D:\work\standard\eIP\EventMonitor\commons-jar\target\classes
[DEBUG] d:\repository\m2\commons-id\commons-id\20060125.092202 \commons-id-20060125.092202.jar [DEBUG] d:\repository\m2\commons-lang\commons-lang\2.1\commons- lang-2.1.jar
[DEBUG]  D:\work\standard\eIP\commons-jar\target\classes
[DEBUG] d:\repository\m2\commons-configuration\commons- configuration\1.2\commons-configuration-1.2.jar [DEBUG] d:\repository\m2\commons-beanutils\commons-beanutils\1.7.0 \commons-beanutils-1.7.0.jar [DEBUG] d:\repository\m2\commons-collections\commons-collections \3.2\commons-collections-3.2.jar
[DEBUG]  d:\repository\m2\javax\ejb\ejb\2.0\ejb-2.0.jar
[DEBUG] d:\repository\m2\com\elsagsolutions\commons\es-commons-lang \2.0.7\es-commons-lang-2.0.7.jar [DEBUG] d:\repository\m2\com\thoughtworks\xstream\xstream\1.2.1 \xstream-1.2.1.jar [DEBUG] d:\repository\m2\xpp3\xpp3_min\1.1.3.4.O \xpp3_min-1.1.3.4.O.jar [DEBUG] d:\repository\m2\com\elsagsolutions\commons\es-commons- configuration\2.0.2\es-commons-configuration-2.0.2.jar
[DEBUG] Source roots:
[DEBUG] D:\work\standard\eIP\EventMonitor\client-commons-jar\src \main\java [INFO] Compiling 1 source file to D:\work\standard\eIP\EventMonitor \client-commons-jar\target\classes [INFO] ---------------------------------------------------------------------- --
[ERROR] BUILD FAILURE
[INFO] ---------------------------------------------------------------------- --
[INFO] Compilation failure

D:\work\standard\eIP\EventMonitor\client-commons-jar\src\main\java \ip\evtmon\client\commons\bd\EventMonitorDelegate.java:[24,28] package ip.evtmon.server.ejb does not exist

D:\work\standard\eIP\EventMonitor\client-commons-jar\src\main\java \ip\evtmon\client\commons\bd\EventMonitorDelegate.java:[25,28] package ip.evtmon.server.ejb does not exist

D:\work\standard\eIP\EventMonitor\client-commons-jar\src\main\java \ip\evtmon\client\commons\bd\EventMonitorDelegate.java:[137,16] cannot resolve symbol
symbol  : class EventMonitorService
location: class ip.evtmon.client.commons.bd.EventMonitorDelegate
...
=================== %< ======================

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




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

Reply via email to