[JBoss JIRA] Created: (WELDX-41) mvn install in extensions/trunk/se fails
by Martin Gencur (JIRA)
mvn install in extensions/trunk/se fails
----------------------------------------
Key: WELDX-41
URL: https://jira.jboss.org/jira/browse/WELDX-41
Project: Weld Extensions
Issue Type: Bug
Reporter: Martin Gencur
Fix For: Spring integration 1.0.0.BETA1
When I check-out http://anonsvn.jboss.org/repos/weld/extensions/trunk/ and then run "mvn install" in /se subdirectory, maven outputs an error during compilation phase: (don't be confused with directory structure (Weld/weld-se/se... ) ....weld-se means trunk)
[INFO] Compiling 14 source files to /home/mgencur/Java/Weld/weld-se/se/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/AbstractScanner.java:[21,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/AbstractScanner.java:[22,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/AbstractScanner.java:[35,24] cannot find symbol
symbol : class LogProvider
location: class org.jboss.weld.environment.se.discovery.AbstractScanner
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/URLScanner.java:[32,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/URLScanner.java:[33,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/URLScanner.java:[46,24] cannot find symbol
symbol : class LogProvider
location: class org.jboss.weld.environment.se.discovery.URLScanner
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/ShutdownManager.java:[26,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/ShutdownManager.java:[27,25] package org.jboss.weld.log does not exist
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/ShutdownManager.java:[33,18] cannot find symbol
symbol : class LogProvider
location: class org.jboss.weld.environment.se.ShutdownManager
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/AbstractScanner.java:[35,42] cannot find symbol
symbol : variable Logging
location: class org.jboss.weld.environment.se.discovery.AbstractScanner
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/discovery/URLScanner.java:[46,42] cannot find symbol
symbol : variable Logging
location: class org.jboss.weld.environment.se.discovery.URLScanner
/home/mgencur/Java/Weld/weld-se/se/src/main/java/org/jboss/weld/environment/se/ShutdownManager.java:[33,36] cannot find symbol
symbol : variable Logging
location: class org.jboss.weld.environment.se.ShutdownManager
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (WELDX-58) Modification to Weld Test to use SE Bootstrap
by Chris Pheby (JIRA)
Modification to Weld Test to use SE Bootstrap
---------------------------------------------
Key: WELDX-58
URL: https://jira.jboss.org/jira/browse/WELDX-58
Project: Weld Extensions
Issue Type: Patch
Components: CDI Test, Java SE
Affects Versions: Java SE 1.0.0.CR2, CDI Test 1.0.0.Beta1, CDI Test 1.0.0.Beta2
Environment: Windows Vista, Eclipse / Maven
Reporter: Chris Pheby
Fix For: CDI Test 1.0.0.Beta2
Thanks very much for Weld which is a great runtime evolved from the Seam framework, and thanks for Weld Test which brings JUnit testing in an elegant manner to the framework.
My initial attempts to run Weld Test runtime were unsuccessful. Digging into the framework, I found it was very similar to the bootstrapping found in the SE runtime. Since the test framework runs out of container, it makes sense to reuse the SE runtime directly to benefit from the work going on there and reduce duplication. This patch is an effort to do that, and builds and executes the test using the SE runtime rather the Weld Test's own runtime.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (WELDX-76) Use the valditor's message in HelloWorld in SE Hello World Example
by Wolfgang Frech (JIRA)
Use the valditor's message in HelloWorld in SE Hello World Example
------------------------------------------------------------------
Key: WELDX-76
URL: https://jira.jboss.org/jira/browse/WELDX-76
Project: Weld Extensions
Issue Type: Feature Request
Components: Weld Extensions
Environment: n/a
Reporter: Wolfgang Frech
It looks like an incomplete refactoring:
The CommandLineArgsValidator creates an error message, but the HellWorld class does not read the message from the validator, but prints its own (identical) message.
Use
for (String message: argsValidator.getErrors())
System.out.println( message );
instead of
System.out.println( "Please provide just one argument: your first name" );
in printHello
by the way - cosmetic: use emptyList instead of deprecated EMPTY_LIST in CommandLineArgsValidator in SE Hello World Example
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (WELDX-42) mvn install in extensions/trunk/ fails
by Martin Gencur (JIRA)
mvn install in extensions/trunk/ fails
--------------------------------------
Key: WELDX-42
URL: https://jira.jboss.org/jira/browse/WELDX-42
Project: Weld Extensions
Issue Type: Bug
Reporter: Martin Gencur
When I check-out http://anonsvn.jboss.org/repos/weld/extensions/trunk/ and then run "mvn install" in the root directory, maven outputs an error during compilation phase: (weld-se in the paths below means trunk/ )
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jboss.weld.servlet:weld-servlet-int
POM Location: /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
Validation Messages:
[0] 'dependencies.dependency.version' is missing for org.jboss.weld:weld-logging
Reason: Failed to validate POM for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to validate POM for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1107)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:877)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
... 11 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months