part the classes are not compiled
THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake?
Re: part the classes are not compiled
Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: part the classes are not compiled
It looks like your server pom file configures the compiler plugin: plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration includes includeorg/n52/wps/server/**/include includeorg/n52/wps/util/**/include /includes excludes excludeorg/n52/wps/server/algorithm/smooth/**/exclude /excludes source1.6/source target1.6/target encodingISO-8859-1/encoding /configuration /plugin Your package cn.wps is not included. Why did you specify the includes? Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 1:53 PM, maven apache apachemav...@gmail.com wrote: The output is too long , so I redirect them to a file in the attach. 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: part the classes are not compiled
2009/9/25 Nick Stolwijk nick.stolw...@gmail.com It looks like your server pom file configures the compiler plugin: plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration includes includeorg/n52/wps/server/**/include includeorg/n52/wps/util/**/include /includes excludes excludeorg/n52/wps/server/algorithm/smooth/**/exclude /excludes source1.6/source target1.6/target encodingISO-8859-1/encoding /configuration /plugin Your package cn.wps is not included. Why did you specify the includes? I just encounter this problem twice, yesterday and today. The mvn install works for other times. I forget how to solove it yesterday. That's so say,even the cn.wps not included in the pom.xml ,it can also be compiled. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 1:53 PM, maven apache apachemav...@gmail.com wrote: The output is too long , so I redirect them to a file in the attach. 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: part the classes are not compiled
2009/9/25 maven apache apachemav...@gmail.com 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com It looks like your server pom file configures the compiler plugin: plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration includes includeorg/n52/wps/server/**/include includeorg/n52/wps/util/**/include /includes excludes excludeorg/n52/wps/server/algorithm/smooth/**/exclude /excludes source1.6/source target1.6/target encodingISO-8859-1/encoding /configuration /plugin Your package cn.wps is not included. Why did you specify the includes? I just encounter this problem twice, yesterday and today. The mvn install works for other times. I forget how to solove it yesterday. That's so say,even the cn.wps not included in the pom.xml ,it can also be compiled. However , I just do it, add the cn.wps in the pom.xml, and the classes are compiled. But I am surprised why. Since I use maven as build tool for this project for more than five month,I did not add the cn.wps to the pom.xml, the classes were also compiled and installed, I just encountered the problem mentioned in this post yesterday the first time,so I think if there is something else involved in this problem. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 1:53 PM, maven apache apachemav...@gmail.com wrote: The output is too long , so I redirect them to a file in the attach. 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: part the classes are not compiled
Could it be that you IDE already put those classes in target/classes? The jar packaging just takes everything under target/classes and put that into a jar file. And why did you configure the compiler plugin with includes. Normally you would just want to compile everything under src/main/java. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 3:54 PM, maven apache apachemav...@gmail.com wrote: 2009/9/25 maven apache apachemav...@gmail.com 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com It looks like your server pom file configures the compiler plugin: plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration includes includeorg/n52/wps/server/**/include includeorg/n52/wps/util/**/include /includes excludes excludeorg/n52/wps/server/algorithm/smooth/**/exclude /excludes source1.6/source target1.6/target encodingISO-8859-1/encoding /configuration /plugin Your package cn.wps is not included. Why did you specify the includes? I just encounter this problem twice, yesterday and today. The mvn install works for other times. I forget how to solove it yesterday. That's so say,even the cn.wps not included in the pom.xml ,it can also be compiled. However , I just do it, add the cn.wps in the pom.xml, and the classes are compiled. But I am surprised why. Since I use maven as build tool for this project for more than five month,I did not add the cn.wps to the pom.xml, the classes were also compiled and installed, I just encountered the problem mentioned in this post yesterday the first time,so I think if there is something else involved in this problem. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 1:53 PM, maven apache apachemav...@gmail.com wrote: The output is too long , so I redirect them to a file in the attach. 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: part the classes are not compiled
2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Could it be that you IDE already put those classes in target/classes? The jar packaging just takes everything under target/classes and put that into a jar file. Maybe. And why did you configure the compiler plugin with includes. Normally you would just want to compile everything under src/main/java. This is a opensouce project. I just use it for study. Anyway, thank you! ^_^ Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 3:54 PM, maven apache apachemav...@gmail.com wrote: 2009/9/25 maven apache apachemav...@gmail.com 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com It looks like your server pom file configures the compiler plugin: plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration includes includeorg/n52/wps/server/**/include includeorg/n52/wps/util/**/include /includes excludes excludeorg/n52/wps/server/algorithm/smooth/**/exclude /excludes source1.6/source target1.6/target encodingISO-8859-1/encoding /configuration /plugin Your package cn.wps is not included. Why did you specify the includes? I just encounter this problem twice, yesterday and today. The mvn install works for other times. I forget how to solove it yesterday. That's so say,even the cn.wps not included in the pom.xml ,it can also be compiled. However , I just do it, add the cn.wps in the pom.xml, and the classes are compiled. But I am surprised why. Since I use maven as build tool for this project for more than five month,I did not add the cn.wps to the pom.xml, the classes were also compiled and installed, I just encountered the problem mentioned in this post yesterday the first time,so I think if there is something else involved in this problem. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 1:53 PM, maven apache apachemav...@gmail.com wrote: The output is too long , so I redirect them to a file in the attach. 2009/9/25 Nick Stolwijk nick.stolw...@gmail.com Can you post the output of mvn help:effective-pom at parent level? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Sep 25, 2009 at 11:25 AM, maven apache apachemav...@gmail.com wrote: THis is my project structure: parent client server src main java cn wps 01.java 02.java resources cn wps xml01 xml02 io webapp The parent contains serveral modules,under the module named server,the package is cn.wps in the java directory there are the sources, and under the resources there are some xml files. When I run mvn install under the parent directory, it build successfully,but I found the server/target/classes/cn.wps, there are only the xml files,the 01.class 02.class do not exist... Then I trun to the server module directory run mvn install the suitation is same as before,Then I try to run mvn clean install ,things like before I want to know if this is my mistake? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org