Kinh, When doing mvn clean, I get a message about a missing plugin: [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=cosmos.distribution.deployment -DartifactId=fdf-plugin -Dversion=0.1.8-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=cosmos.distribution.deployment -DartifactId=fdf-plugin -Dversion=0.1.8-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] cosmos.distribution.deployment:fdf-plugin:maven-plugin:0.1.8-SNAPSHOT Where is that plugin? Some repo I need to configure in my settings.xml? /Anders On Fri, Dec 11, 2009 at 17:48, NGUYEN Cong Kinh < cong_kinh.ngu...@it-sudparis.eu> wrote: > Please send this error to me. Because I haven't seen it. Thank you. > > > Kinh > > Anders Hammar a écrit : > >> After checking out and building for ages I get a NPE in helloworld ex 1... >> >> /Anders >> >> On Fri, Dec 11, 2009 at 13:55, NGUYEN Cong Kinh < >> cong_kinh.ngu...@it-sudparis.eu> wrote: >> >> >> >>> In fact, in the trunk/B, there are some modules, for example B1 & B2, but >>> B2 uses B1 as the dependency. When executing the command "mvn clean >>> install" >>> for B2, Maven finds the dependency B1, but it is not located in local >>> repository. Therefore, there's an error "missing artifact...". You can >>> check >>> at >>> svn co svn+ssh://gu...@picoforge.int-evry.fr/cosmos/trunk >>> with "guest" as password (twice for entering password) >>> >>> Kinh >>> >>> Anders Hammar a écrit : >>> >>> What does the build output say - any errors? >>> >>> >>>> /Anders >>>> >>>> On Fri, Dec 11, 2009 at 13:38, NGUYEN Cong Kinh < >>>> cong_kinh.ngu...@it-sudparis.eu> wrote: >>>> >>>> >>>> >>>> >>>> >>>>> Hello everybody, >>>>> >>>>> I'm using Maven 2.2.1, JDK 6. I have a problem concerning compilation >>>>> by >>>>> Maven. In fact, for example I have the following structure: >>>>> >>>>> - trunk >>>>> + pom.xml >>>>> +-- A >>>>> + pom.xml >>>>> +-- A1 >>>>> + pom.xml >>>>> +-- A11 >>>>> ... >>>>> +-- A12 >>>>> ... >>>>> +-- A2 >>>>> +-- A3 >>>>> +-- B >>>>> +-- B1 >>>>> >>>>> In the trunk, I execute the "mvn clean install" (before executing this >>>>> command, I used rm -rf ~/.m2/repository). Only modules in the trunk/A >>>>> are >>>>> copied to ~/.m2/repository. The other modules in trunk/B, they compiled >>>>> to >>>>> target/..., but they aren't copied to ~/.m2/repository. >>>>> >>>>> >>>>> Is there any way to specify that they must be copied to local >>>>> repository >>>>> ? >>>>> >>>>> Thanks in advance, >>>>> Kinh >>>>> >>>>> --------------------------------------------------------------------- >>>>> 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 > >