Looks like there is a 1.3 version in the main repository: http://www.ibiblio.org/maven2/org/codehaus/mojo/jspc-maven-plugin/1.3/
-Stephen On 2/19/06, Matt Raible <[EMAIL PROTECTED]> wrote: > That looks to be what I'm looking for. However, I can't seem to get it. > > I've added the following to pom.xml: > > <pluginRepositories> > <pluginRepository> > <id>Maven Snapshots</id> > <url>http://snapshots.maven.codehaus.org/maven2</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > <repositories> > <repository> > <id>Maven Snapshots</id> > <url>http://snapshots.maven.codehaus.org/maven2</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </repository> > </repositories> > > And I still get: > > [INFO] Failed to resolve artifact. > > GroupId: org.codehaus.mojo > ArtifactId: jspc-maven-plugin > Version: 1.2 > > Reason: Unable to download the artifact from any repository > > org.codehaus.mojo:jspc-maven-plugin:pom:1.2 > > from the specified remote repositories: > Maven Snapshots (http://snapshots.maven.codehaus.org/maven2), > central (http://repo1.maven.org/maven2) > > I tried changing releases.enabled=true, but that didn't seem to help either. > > Matt > > > On 2/19/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > Matt, > > > > I haven't tried it, but there's a jspc plugin on the mojo.codehaus.org > > site: http://mojo.codehaus.org/jspc-maven-plugin/usage.html that seems > > to do what you're asking. > > > > -Stephen > > > > On 2/19/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > Is there a plugin that does compilation of JSPs and adding entries into > > > web.xml? > > > > > > Here's how to do it for Maven 1, but I'd like to do it with Maven 2: > > > > > > http://www.savoirtech.com/roller/page/jgenender/20041011 > > > > > > Here's how I've done it in Ant. > > > > > > <target name="compile-jsp" depends="jsp-2" if="precompile.jsp"> > > > <property name="jsp.src" value="${build.dir}/web/jsp/src"/> > > > <mkdir dir="${jsp.src}"/> > > > > > > <taskdef classname="org.apache.jasper.JspC" name="jasper" > > > classpathref="jspc.classpath"/> > > > > > > <jasper verbose="0" package="org.appfuse.jsp" > > > uriroot="${webapp.target}" > > > webXmlFragment="${jsp.src}/jsp-servlets.xml" > > > outputDir="${jsp.src}" /> > > > > > > <javac srcdir="${jsp.src}" destdir="${build.dir}/web/classes" > > > debug="${compile.debug}" deprecation="${compile.deprecation}" > > > optimize="${compile.optimize}" classpathref="jspc.classpath"/> > > > > > > <loadfile property="jsp.mappings" > > > srcfile="${jsp.src}/jsp-servlets.xml"/> > > > <replace file="${webapp.target}/WEB-INF/web.xml" > > > value="${jsp.mappings}" > > > token="<!-- precompiled jsp mappings -->"/> > > > </target> > > > > > > Also, is there a plugin that can generate an archetype from an existing > > > project? > > > > > > Thanks, > > > > > > Matt > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Stephen Duncan Jr > > www.stephenduncanjr.com > > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]