I type mvn -U and returned: C:\Projetos\cas-server-3.3.1>mvn -U [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] JA-SIG Central Authentication Service [INFO] JA-SIG CAS Core [INFO] JA-SIG CAS Generic Support [INFO] JA-SIG CAS JDBC Support [INFO] JA-SIG CAS LDAP Support [INFO] JA-SIG CAS Legacy Support [INFO] JA-SIG CAS OpenId Support [INFO] JA-SIG CAS RADIUS Support [INFO] JA-SIG CAS SPNEGO/NTLM Support [INFO] JA-SIG CAS Trusted User Support [INFO] JA-SIG CAS X.509 Client Certificate Support [INFO] JA-SIG CAS JBoss Cache Integration [INFO] JA-SIG CAS BerkeleyDB Integration [INFO] JA-SIG CAS Memcached Integration [INFO] JA-SIG CAS Restlet Integration [INFO] JA-SIG CAS Web Application [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO]
You must specify at least one goal. Try 'mvn install' to build or 'mvn --help' for options See http://maven.apache.org for more information. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Wed Feb 25 13:54:11 BRT 2009 [INFO] Final Memory: 2M/3M [INFO] ------------------------------------------------------------------------ C:\Projetos\cas-server-3.3.1> Thanks Vinicius 2009/2/20 Scott Battaglia <[email protected]>: > Try executing "mvn -U" and see if that does anything. > > Otherwise check out this thread: > http://www.mail-archive.com/[email protected]/msg63228.html > > -Scott > > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > On Fri, Feb 20, 2009 at 10:25 AM, Vinicius Borges <[email protected]> > wrote: >> >> I'm using Windows XP. >> I have installed Maven2 following the tutorial on the download page of >> Apache-Maven. This is the URL of Maven >> >> http://maven.apache.org/download.html.. >> but now, it's getting this error: >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building JA-SIG CAS Web Application >> [INFO] task-segment: [package, install] >> [INFO] >> ------------------------------------------------------------------------ >> Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.pom >> 7K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.jar >> 72K downloaded >> Downloading: >> http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.pom >> 165b downloaded >> Downloading: >> http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.jar >> 4K downloaded >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The PluginDescriptor for the plugin Plugin >> [maven:maven-war-plugin] was not found. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> java.lang.IllegalStateException: The PluginDescriptor for the plugin >> Plugin [maven:maven-war-plugin] was not found. >> at >> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327) >> at >> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212) >> at >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 10 minutes 18 seconds >> [INFO] Finished at: Fri Feb 20 13:20:56 BRST 2009 >> [INFO] Final Memory: 25M/51M >> [INFO] >> ------------------------------------------------------------------------ >> >> What should be this error >> Thanks >> >> >> >> >> 2009/2/20 Scott Battaglia <[email protected]>: >> > This generally occurs when there's a problem with the way Maven is >> > installed >> > (if I recall correctly). How did you install Maven? What OS are you >> > using? >> > >> > -Scott >> > >> > >> > On Fri, Feb 20, 2009 at 9:28 AM, Vinicius Borges <[email protected]> >> > wrote: >> >> >> >> Hello everybody, >> >> >> >> An anormal error ocourred after a digited: mvn package install >> >> -Dmaven.test.skip=true. >> >> The error is show above... >> >> >> >> Downloading: >> >> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alp >> >> ha-1/plexus-io-1.0-alpha-1.jar >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Failed to resolve artifact. >> >> >> >> Missing: >> >> ---------- >> >> 1) org.apache.maven:maven-archiver:jar:2.3 >> >> >> >> Try downloading the file manually from the project website. >> >> >> >> Then, install it using the command: >> >> mvn install:install-file -DgroupId=org.apache.maven >> >> -DartifactId=maven-arc >> >> hiver -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file >> >> >> >> Alternatively, if you host your own repository you can deploy the file >> >> there: >> >> >> >> mvn deploy:deploy-file -DgroupId=org.apache.maven >> >> -DartifactId=maven-archi >> >> ver -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] >> >> -DrepositoryI >> >> d=[id] >> >> >> >> Path to dependency: >> >> 1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2 >> >> 2) org.apache.maven:maven-archiver:jar:2.3 >> >> >> >> 2) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9 >> >> >> >> Try downloading the file manually from the project website. >> >> >> >> Then, install it using the command: >> >> mvn install:install-file -DgroupId=org.codehaus.plexus >> >> -DartifactId=plexus >> >> -archiver -Dversion=1.0-alpha-9 -Dpackaging=jar -Dfile=/path/to/file >> >> >> >> Alternatively, if you host your own repository you can deploy the file >> >> there: >> >> >> >> mvn deploy:deploy-file -DgroupId=org.codehaus.plexus >> >> -DartifactId=plexus-a >> >> rchiver -Dversion=1.0-alpha-9 -Dpackaging=jar -Dfile=/path/to/file >> >> -Durl=[url] - >> >> DrepositoryId=[id] >> >> >> >> Path to dependency: >> >> 1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2 >> >> 2) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9 >> >> >> >> 3) org.codehaus.plexus:plexus-io:jar:1.0-alpha-1 >> >> >> >> Try downloading the file manually from the project website. >> >> >> >> Then, install it using the command: >> >> mvn install:install-file -DgroupId=org.codehaus.plexus >> >> -DartifactId=plexus >> >> -io -Dversion=1.0-alpha-1 -Dpackaging=jar -Dfile=/path/to/file >> >> >> >> Alternatively, if you host your own repository you can deploy the file >> >> there: >> >> >> >> mvn deploy:deploy-file -DgroupId=org.codehaus.plexus >> >> -DartifactId=plexus-i >> >> o -Dversion=1.0-alpha-1 -Dpackaging=jar -Dfile=/path/to/file >> >> -Durl=[url] >> >> -Drepos >> >> itoryId=[id] >> >> >> >> Path to dependency: >> >> 1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2 >> >> 2) org.codehaus.plexus:plexus-io:jar:1.0-alpha-1 >> >> >> >> ---------- >> >> 3 required artifacts are missing. >> >> >> >> for artifact: >> >> org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2 >> >> >> >> from the specified remote repositories: >> >> central (http://repo1.maven.org/maven2), >> >> apache.snapshots >> >> (http://people.apache.org/repo/m2-snapshot-repository), >> >> jasig-repository (http://developer.ja-sig.org/maven2), >> >> jasig-snapshot (http://developer.ja-sig.org/maven2-snapshot) >> >> >> >> >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] For more information, run Maven with the -e switch >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 9 minutes 4 seconds >> >> [INFO] Finished at: Wed Feb 18 15:38:05 BRST 2009 >> >> [INFO] Final Memory: 17M/30M >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> >> >> >> >> >> ----------------------------------------------------------------------------------------------------------------- >> >> I tried to make the first dependecy. I downloaded >> >> httpclient-4.0-beta2.jar and moved the jar file to CAS_HOME folder. >> >> After all, I put into command line: >> >> >> >> mvn install:install-file -DgroupId=org.apache.maven >> >> -DartifactId=maven-arc >> >> hiver -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file >> >> >> >> >> >> >> >> >> >> ----------------------------------------------------------------------------------------------------------------- >> >> [INFO] Scanning for projects... >> >> [INFO] Reactor build order: >> >> [INFO] JA-SIG Central Authentication Service >> >> [INFO] JA-SIG CAS Core >> >> [INFO] JA-SIG CAS Generic Support >> >> [INFO] JA-SIG CAS JDBC Support >> >> [INFO] JA-SIG CAS LDAP Support >> >> [INFO] JA-SIG CAS Legacy Support >> >> [INFO] JA-SIG CAS OpenId Support >> >> [INFO] JA-SIG CAS RADIUS Support >> >> [INFO] JA-SIG CAS SPNEGO/NTLM Support >> >> [INFO] JA-SIG CAS Trusted User Support >> >> [INFO] JA-SIG CAS X.509 Client Certificate Support >> >> [INFO] JA-SIG CAS JBoss Cache Integration >> >> [INFO] JA-SIG CAS BerkeleyDB Integration >> >> [INFO] JA-SIG CAS Memcached Integration >> >> [INFO] JA-SIG CAS Restlet Integration >> >> [INFO] JA-SIG CAS Web Application >> >> [INFO] Searching repository for plugin with prefix: 'install'. >> >> [INFO] org.apache.maven.plugins: checking for updates from central >> >> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not >> >> be >> >> retri >> >> eved from repository: central due to an error: Error transferring file >> >> [INFO] Repository 'central' will be blacklisted >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] The plugin 'org.apache.maven.plugins:maven-enforcer-plugin' does >> >> not exis >> >> t or no valid version could be found >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] For more information, run Maven with the -e switch >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 23 seconds >> >> [INFO] Finished at: Wed Feb 18 15:41:35 BRST 2009 >> >> [INFO] Final Memory: 2M/5M >> >> [INFO] >> >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> >> >> >> How can I solve this? >> >> >> >> Thanks >> >> >> >> -- >> >> You are currently subscribed to [email protected] as: >> >> [email protected] >> >> To unsubscribe, change settings or access archives, see >> >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> > >> > -- >> > You are currently subscribed to [email protected] as: >> > [email protected] >> > To unsubscribe, change settings or access archives, see >> > http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
