This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [801cat] now web pages folder on web projects | ||
---|---|---|---|
Product: | javaee | Reporter: | muellermi <muellermi> |
Component: | Maven | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic, NukemBy, pjiricka |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 8 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
muellermi
2014-07-25 14:32:39 UTC
Created attachment 148327 [details]
IDE log
This problem affects Maven projects only (I just double-checked an elder ant based project, which is ok) Just recovered a typo at the headline. _NO_ web pages. Not _now_ ;-) Hi, could you please attach your pom.xml ? Thanks! This problem occurs for all projects, thus I don't think it depends on the POM. I created a fresh project with 20140726. Here is the POM: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.muellerbruehl</groupId> <artifactId>mavenproject3</artifactId> <version>1.0-SNAPSHOT</version> <packaging>war</packaging> <name>mavenproject3</name> <properties> <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> <compilerArguments> <endorseddirs>${endorsed.dir}</endorseddirs> </compilerArguments> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.3</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.6</version> <executions> <execution> <phase>validate</phase> <goals> <goal>copy</goal> </goals> <configuration> <outputDirectory>${endorsed.dir}</outputDirectory> <silent>true</silent> <artifactItems> <artifactItem> <groupId>javax</groupId> <artifactId>javaee-endorsed-api</artifactId> <version>7.0</version> <type>jar</type> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> Opening the same project with an elder version, everything is still fine. You are right, thanks! I will take a look at it.. *** Bug 245954 has been marked as a duplicate of this bug. *** Weird, I was able to reproduce it yesterday at home on Windows 7, but not today on Ubuntu 14.04 LTS. Maybe OS dependent? Not sure how that happened. Will take a look at it later at home. Caused by different folder path on Windows/Linux. Regression made by change-set web-main #a8db2e08622e. Should be simple to fix. Fixed by change-set: web-main #69b3bcf006e5 Integrated into 'main-silver', will be available in build *201407290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/69b3bcf006e5 User: Martin Janicek <mjanicek@netbeans.org> Log: #246013 - [801cat] now web pages folder on web projects |