[JBoss JIRA] (FORGE-525) project add-dependency should accept properties
by Jason Porter (JIRA)
Jason Porter created FORGE-525:
----------------------------------
Summary: project add-dependency should accept properties
Key: FORGE-525
URL: https://issues.jboss.org/browse/FORGE-525
Project: Forge
Issue Type: Enhancement
Components: Maven Integration
Affects Versions: 1.0.2.Final
Reporter: Jason Porter
Here's some sample input:
{code}
$ project set-property --name arquillian.version --value 1.0.0.CR6
Set property [arquillian.version=1.0.0.CR6]
$ project add-dependency org.jboss.arquillian:arquillian-bom:::${arquillian.version}
***INFO*** The command [add-dependency] takes [1] unnamed argument(s), but found [2].
***INFO*** Swallowed unknown token [{] for command [add-dependency].
***INFO*** Swallowed unknown token [arquillian.version] for command [add-dependency].
***INFO*** Swallowed unknown token [}] for command [add-dependency].
***INFO*** Could not parse [org.jboss.arquillian:arquillian-bom:::$]... please try again...
? [[ groupId:artifactId {:version :scope :packaging} ] (of type org.jboss.forge.project.dependencies.Dependency)]: [killed]
***INFO*** Aborted.
$ project add-dependency "org.jboss.arquillian:arquillian-bom:::${arquillian.version}"
***INFO*** Could not parse [org.jboss.arquillian:arquillian-bom:::${arquillian.version}]... please try again...
{code}
Either one of those two should work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (FORGE-532) Maven warning when build starts
by George Gastaldi (JIRA)
George Gastaldi created FORGE-532:
-------------------------------------
Summary: Maven warning when build starts
Key: FORGE-532
URL: https://issues.jboss.org/browse/FORGE-532
Project: Forge
Issue Type: Bug
Affects Versions: 1.0.2.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Minor
Fix For: 1.0.3.Final
When you run mvn install on forge, the following warning appears:
{code}
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.forge:forge-test-harness-web:jar:1.0.3-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for org.jboss.arquillian:arquillian-bom:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 57, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (FORGE-530) Group Faces Servlet url-patterns into a single servlet-mapping
by George Gastaldi (JIRA)
George Gastaldi created FORGE-530:
-------------------------------------
Summary: Group Faces Servlet url-patterns into a single servlet-mapping
Key: FORGE-530
URL: https://issues.jboss.org/browse/FORGE-530
Project: Forge
Issue Type: Enhancement
Reporter: George Gastaldi
Priority: Trivial
When running faces setup, the following entry is generated on web.xml (if asked so):
{code:xml}
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
{code}
Since Servlet 2.5, several url-patterns may be grouped into a single servlet-mapping, so that the web.xml becomes smaller:
{code:xml}
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
{code}
The method _org.jboss.forge.spec.javaee.jsf.ServletMappingHelper.createMappingIfNotExists(Node, Node, String)_ should be reviewed to accomplish that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (FORGE-522) faces setup ERROR: null without explanation
by Hendy Irawan (JIRA)
Hendy Irawan created FORGE-522:
----------------------------------
Summary: faces setup ERROR: null without explanation
Key: FORGE-522
URL: https://issues.jboss.org/browse/FORGE-522
Project: Forge
Issue Type: Bug
Components: Java EE APIs
Affects Versions: 1.0.1.Final
Environment: Ubuntu 11.10 64-bit, JBoss AS 7.1.1
Reporter: Hendy Irawan
Faces setup not working without any error message :
{code}
[dsembed] dsembed $ faces setup
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
? Do you also want to install the Faces servlet and mapping? [y/N] y
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
***ERROR*** [faces setup] null
{code}
The project to reproduce is here: https://github.com/soluvas/dsembed/zipball/faces-setup-bug
The problem is...... I exited Forge then restarted it then I try 'faces setup' again and now it works:
{code}
faces setup
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
? Do you also want to install the Faces servlet and mapping? [y/N] y
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** JavaServer Faces is installed.
Wrote /home/ceefour/git/dsembed/src/main/webapp/WEB-INF/web.xml
{code}
So what was it..?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months