[jbosstools-issues] [JBoss JIRA] (JBIDE-18397) Application wizard: openshift maven profile for WildFly cartridge generates <outputDirectory>null</outputDirectory>
Andre Dietisheim (JIRA)
issues at jboss.org
Fri Sep 19 17:54:03 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-18397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-18397:
-------------------------------------
Description:
- Create a new maven war project testapp
- Add custom index.html
- Create new openshift application with WildFly 8.1 quickstart
- deploy testapp on openshift
- ASSERT your changes are published online
-> FAIL the default Wildfly 8 cartridge app is shown
This is caused by openshift tooling generating an invalid outputDirectory value (null) instead of the expected one (deployments)
{noformat}<profile>
<!-- When built in OpenShift the openshift profile will be used when invoking mvn. -->
<!-- Use this profile for any OpenShift specific customization your app will need. -->
<!-- By default that is to put the resulting archive into the deployments folder. -->
<!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
<id>openshift</id>
<build>
<finalName>testapp</finalName>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<outputDirectory>null</outputDirectory>
<warName>ROOT</warName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
{noformat}
was:
- Create a new maven war project testapp
- Add custom index.html
- Create new openshift application with WildFly 8.1 cartridge
- deploy testapp on openshift
- ASSERT your changes are published online
-> FAIL the default Wildfly 8 cartridge app is shown
This is caused by openshift tooling generating an invalid outputDirectory value (null) instead of the expected one (deployments)
{noformat}<profile>
<!-- When built in OpenShift the openshift profile will be used when invoking mvn. -->
<!-- Use this profile for any OpenShift specific customization your app will need. -->
<!-- By default that is to put the resulting archive into the deployments folder. -->
<!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
<id>openshift</id>
<build>
<finalName>testapp</finalName>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<outputDirectory>null</outputDirectory>
<warName>ROOT</warName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
{noformat}
> Application wizard: openshift maven profile for WildFly cartridge generates <outputDirectory>null</outputDirectory>
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18397
> URL: https://issues.jboss.org/browse/JBIDE-18397
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.CR1
> Reporter: Fred Bricon
> Assignee: Andre Dietisheim
> Labels: application_wizard
> Fix For: 4.2.0.CR2
>
>
> - Create a new maven war project testapp
> - Add custom index.html
> - Create new openshift application with WildFly 8.1 quickstart
> - deploy testapp on openshift
> - ASSERT your changes are published online
> -> FAIL the default Wildfly 8 cartridge app is shown
> This is caused by openshift tooling generating an invalid outputDirectory value (null) instead of the expected one (deployments)
> {noformat}<profile>
> <!-- When built in OpenShift the openshift profile will be used when invoking mvn. -->
> <!-- Use this profile for any OpenShift specific customization your app will need. -->
> <!-- By default that is to put the resulting archive into the deployments folder. -->
> <!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
> <id>openshift</id>
> <build>
> <finalName>testapp</finalName>
> <plugins>
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <version>2.4</version>
> <configuration>
> <outputDirectory>null</outputDirectory>
> <warName>ROOT</warName>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list