Maven External Web Resources & File path issue

Hi,

We have using a lot of projects which are depends on usually common jsp files such as footer.jsp,header.jsp etc... In our projects we have successfully build our projects with such a maven war configuration.



            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.1.1</version>
                <configuration>
                    <webResources>
                        <resource>
                            <directory>${basedir}/../../ui</directory>
                            <includes><include>common/*</include></includes>
                            <targetPath>WEB-INF/jsp</targetPath>
                        </resource>
                    </webResources>
                    <useCache>true</useCache>
                </configuration>
            </plugin>





And our maven project structure is like this


PrtScr capture.jpg

Idea greatly solves its file structure.

Project Structure.jpg

Ok my question is regarding errors at our project because of unsolved resource paths.

istJava - [DLocalProjectsistproject_files_ignore_svnistJava] - [showyourself-web (1) (match.showyourself)] - DLocalProjectsistmatc.jpg


Before filing an issue I wanted to ask that is there any solution for it? I strongly believe it is possible.

Thanks



but before issuing a file, I wante

2 comments
Comment actions Permalink

Hello,

where is located the jsp file with unresolved include directive?

Hi,

>

We have using a lot of projects which are depends on usually common jsp files such as footer.jsp,header.jsp etc... In our projects we have successfully build our projects with such a maven war configuration.

>


--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Izviniy :(  Nikolay,

I made a big mistake. The behaviour of IDEA is simply perfect.

It was my fault. I had changed before folders before going further.

Have a nice day.

0

Please sign in to leave a comment.