[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, 5 months
[JBoss JIRA] Created: (WELD-473) required meta-annotations for a qualifier specified differently in spec and API
by Wolfgang Frech (JIRA)
required meta-annotations for a qualifier specified differently in spec and API
-------------------------------------------------------------------------------
Key: WELD-473
URL: https://jira.jboss.org/jira/browse/WELD-473
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.Final
Environment: n/a
Reporter: Wolfgang Frech
The specification and the API documentation differ on the required and optional meta-annotations of a qualfiier.
JSR-299, 2.3.2 Defining new qualfier type specifies
@Target(METHOD, FIELD, PARAMETER, TYPE} ("is")
@Retention(RUNTIME) ("is")
@Qualifier, but only optional ("may")
API-Doc of Qualifier specifies
@Qualifier
@Retention(RUNTIME)
@Documented (optional, typical)
@Target optional, but various element types as targets possible
Both agree on Retention only.
As a third source I might have a look at the code and the implemented validity check. I have not so far.
I am a bit fussy about this because a missing @Target of my first custom scope messed up the proxying.
--
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, 5 months
[JBoss JIRA] Created: (WELDX-70) Automate testing of archetypes
by Steven Boscarine (JIRA)
Automate testing of archetypes
------------------------------
Key: WELDX-70
URL: https://jira.jboss.org/jira/browse/WELDX-70
Project: Weld Extensions
Issue Type: Task
Components: Archetypes
Affects Versions: Archetypes 1.0.0-BETA1
Reporter: Steven Boscarine
Assignee: Steven Boscarine
This may be a difficult and funky task. I haven't been able to find examples of people automating maven calls. This may be a very pioneering task if done in Java. I do it presently with a shell script.
Here's what needs to happen:
An archetype needs to be built from source. (mvn clean install)
A project needs to be created from the archetype. (mvn archetype:generate -DartifactId=myproject)
The project's tests need to be run. (mvn clean test -f myproject/pom.xml)
--
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, 5 months
[JBoss JIRA] Created: (WELD-414) Make Weld docs available for JBoss AS 6
by Pete Muir (JIRA)
Make Weld docs available for JBoss AS 6
---------------------------------------
Key: WELD-414
URL: https://jira.jboss.org/jira/browse/WELD-414
Project: Weld
Issue Type: Task
Components: Documentation
Reporter: Pete Muir
Assignee: Dan Allen
Priority: Critical
Fix For: 1.0.2.CR1
Magnolia is the tool we use to build out the JBoss community site. Please take a moment and go to http://www.jboss.org/author.
Username: **********
Password: **********
Scroll down and open jbossas --> docs --> 6-x
Highlight 6-x and press the "Open page..." button at the bottom. The main AS6 docs page will open in another tab or window.
>From here you can see how AS6 documentation will be broken up into "Core" and "Component". Click on the "JavaServer Faces (JSF)" link You'll get an idea of what you can do with your section.
As you can see, we want to provide something beyond the DocBook documentation we've had in the past. We want a developer to be able to come to the docs section and find everything he might need to work with a particular part of AS6, including spec info, javadoc, sample code, and links to other info.
Of course, we don't want to fork the stuff we already have but we also need to recognize that developers want to use AS6 as a single product and they come to AS6 with an "AS6" mindset. So they are thinking, "How do I use the EJB features built into AS6?" or "How do I use the Weld framework built into AS6?". We need to provide documentation that answers those questions from an AS6 point of view. But I'm using the word "documentation" in a loose sense. It doesn't have to be a single document. The aggregation of AS6 information is done with Magnolia and not necessarily with a single DocBook monograph.
I am assuming that most components will have at least some AS6-specific content that needs to go somewhere. If it's possible/practical to use Maven profiles to pull in special content and create an AS6 version of a document then that would be best. If not, then AS6-specific content could be put into its own small document. The rest can be referenced with links to the component's project documentation.
As for where the doco lives in what part of SVN, I don't think that it really matters. I like the idea that each component team is responsible for handling their section however is most practical for them. I just want to make sure that at the end of the day an AS6 user has everything he needs in a way that is easy to find and understand.
Action items for you:
* Take a look at http://jboss.org/help/projectpageguide.html to learn about Magnolia.
* Find the section on Weld and start building out the page(s)
* Work out how best to incorporate the Weld ref guide into the JBoss AS docs
- remove irrelevant sections
- apply JBoss AS styling
--
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, 5 months