History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-677
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: wnqq
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
AppFuse

package of App.java does not match with its folder

Created: 05/Mar/07 05:00 AM   Updated: 05/Mar/07 06:16 AM
Component/s: Build, Test, or Deploy Process
Affects Version/s: 2.0-M4
Fix Version/s: None

Environment:
2.0M4-SNAPSHOT
archetypeArtifactId=appfuse-modular-struts


 Description  « Hide
The package "com.mycompany" of myproject/web/src/main/java/App.java does not match with its folder.
Namely, the java files in that folder should have the default package.

Note: myproject/core/src/main/java/Core.java has the correct default package.

 All   Comments   Change History   FishEye      Sort Order:
wnqq - 05/Mar/07 05:06 AM
mvn works fine with such kind of package declaration.

However, eclipse will complain about this error.

Matt Raible - 05/Mar/07 06:16 AM
This is actually a bug in Maven's archetype plugin. It doesn't currently support modular projects.

http://jira.codehaus.org/browse/ARCHETYPE-23

I'll leave this issue open until the plugin is fixed. I generally just delete App.java and AppTest.java in my projects.